Analysts expected earnings of 27 cents the share on revenue of $ 17.7 billion , Thomson First Call says .
Hewlett-Packard is putting in for the second-quarter profit of $ 659 million , or 29 cents the share , on revenue of $ 18 billion .