Lines Matching refs:result
49 auto result = std::unique_ptr<GRSurface>(new GRSurface(width, height, row_bytes, pixel_bytes)); in Create() local
51 result->data_size_ = in Create()
53 result->data_.reset( in Create()
54 static_cast<uint8_t*>(aligned_alloc(kSurfaceDataAlignment, result->data_size_))); in Create()
55 if (!result->data_) return nullptr; in Create()
56 return result; in Create()
60 auto result = GRSurface::Create(width, height, row_bytes, pixel_bytes); in Clone() local
61 if (!result) return nullptr; in Clone()
62 memcpy(result->data(), data(), data_size_); in Clone()
63 return result; in Clone()
246 int result = 0; in res_create_multi_display_surface() local
250 result = -10; in res_create_multi_display_surface()
256 result = -9; in res_create_multi_display_surface()
262 result = -8; in res_create_multi_display_surface()
268 result = -8; in res_create_multi_display_surface()
289 if (result < 0) { in res_create_multi_display_surface()
297 return result; in res_create_multi_display_surface()
377 std::vector<std::string> result; in get_locales_in_png() local
384 result.push_back(loc); in get_locales_in_png()
391 return result; in get_locales_in_png()