Both companies just reported impressive revenue and earnings gains.