These are both most likely stated with respect to the average/consensus of figures previously put forth by analysts following the stock. There is some small chance that it is in reference to the company's own projection of its earnings/revenue, but that would typically be clarified in the same sentence or paragraph.
Many financial institutions have analysts that follow and continuously evaluate publicly traded companies, and for larger companies (Fortune 500 size) may have dozens or more analysts following them. Each quarter, each of those analysts publish a projection of what they think the earnings are going to be. When the actual earnings report is released, the stock price usually goes up or down significantly if the actual earnings are greater or lesser than the consensus (i.e., average) of the analysts' projections.
So I would interpret the quote you have as most likely meaning that, for example, the analyst consensus was $0.15 per share and the actual earnings was $0.10 per share, but the company's actual revenues are growing faster than the analysts expected. It's not that the company lost money, they just didn't make as much as the analysts/market were expecting.