Searched refs:data_size (Results 1 – 4 of 4) sorted by relevance
32 ASSERT_EQ(0, surface->data_size() % GRSurface::kSurfaceDataAlignment); in TEST()33 ASSERT_GE(surface->data_size(), 11 * 9); in TEST()46 ASSERT_GE(image->data_size(), 10 * 50); in TEST()47 for (auto i = 0; i < image->data_size(); i++) { in TEST()51 ASSERT_EQ(image->data_size(), image_copy->data_size()); in TEST()52 ASSERT_EQ(std::vector(image->data(), image->data() + image->data_size()), in TEST()53 std::vector(image_copy->data(), image_copy->data() + image->data_size())); in TEST()
59 size_t data_size() const { in data_size() function
50 size_t data_size = row_bytes * height; in Create() local52 (data_size + kSurfaceDataAlignment - 1) / kSurfaceDataAlignment * kSurfaceDataAlignment; in Create()
2271 if (status.data_size <= static_cast<uint64_t>(j) * BLOCKSIZE) { in BlockImageRecoverFn()