/third_party/flutter/skia/tests/ |
D | CanvasStateTest.cpp | 156 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize()); in DEF_TEST() 159 bitmaps[0].computeByteSize())); in DEF_TEST() 268 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize()); in DEF_TEST() 271 bitmaps[0].computeByteSize())); in DEF_TEST()
|
D | MallocPixelRefTest.cpp | 36 size_t size = info.computeByteSize(rowBytes); in DEF_TEST() 45 size_t size = info.computeByteSize(rowBytes) - 1; in DEF_TEST() 53 size_t size = info.computeByteSize(rowBytes) + 9; in DEF_TEST()
|
D | ImageNewShaderTest.cpp | 18 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); in test_bitmap_equality() 19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize())); in test_bitmap_equality()
|
D | RecordingXfermodeTest.cpp | 155 size_t pixelsSize = goldenBM.computeByteSize(); in DEF_TEST() 156 REPORTER_ASSERT(reporter, pixelsSize == pictureBM.computeByteSize()); in DEF_TEST()
|
/third_party/skia/tests/ |
D | MallocPixelRefTest.cpp | 33 size_t size = info.computeByteSize(rowBytes); in DEF_TEST() 42 size_t size = info.computeByteSize(rowBytes) - 1; in DEF_TEST() 50 size_t size = info.computeByteSize(rowBytes) + 9; in DEF_TEST()
|
D | ImageNewShaderTest.cpp | 18 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); in test_bitmap_equality() 19 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize())); in test_bitmap_equality()
|
D | CanvasStateTest.cpp | 105 REPORTER_ASSERT(reporter, pm[0].computeByteSize() == pm[1].computeByteSize()); in compare() 108 if (memcmp(pm[0].addr(0, 0), pm[1].addr(0, 0), pm[0].computeByteSize()) != 0) { in compare()
|
D | RecordingXfermodeTest.cpp | 157 size_t pixelsSize = goldenBM.computeByteSize(); in DEF_TEST() 158 REPORTER_ASSERT(reporter, pixelsSize == pictureBM.computeByteSize()); in DEF_TEST()
|
/third_party/flutter/skia/src/core/ |
D | SkAutoPixmapStorage.cpp | 32 return info.computeByteSize(rb); in AllocSize() 61 sk_sp<SkData> data = SkData::MakeFromMalloc(fStorage, this->computeByteSize()); in detachPixelsAsData()
|
D | SkMallocPixelRef.cpp | 54 size = info.computeByteSize(rowBytes); in MakeAllocate() 81 if ((rowBytes < info.minRowBytes()) || (data->size() < info.computeByteSize(rowBytes))) { in MakeWithData()
|
/third_party/skia/src/core/ |
D | SkAutoPixmapStorage.cpp | 36 return info.computeByteSize(rb); in AllocSize() 77 sk_sp<SkData> data = SkData::MakeFromMalloc(fStorage, this->computeByteSize()); in detachPixelsAsData()
|
D | SkMallocPixelRef.cpp | 33 size_t size = info.computeByteSize(rowBytes); in MakeAllocate() 64 if ((rowBytes < info.minRowBytes()) || (data->size() < info.computeByteSize(rowBytes))) { in MakeWithData()
|
/third_party/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 60 size_t size = fImageInfo.computeByteSize(rb); in getFrameAt() 106 size = imageInfo.computeByteSize(rb); in getFrameAt()
|
/third_party/flutter/skia/docs/examples/ |
D | Bitmap_computeByteSize.cpp | 13 bitmap.computeByteSize()); in draw()
|
D | ImageInfo_ByteSizeOverflowed.cpp | 11 const size_t size = info.computeByteSize(rowBytes);
|
D | Pixmap_computeByteSize.cpp | 13 pixmap.computeByteSize()); in draw()
|
D | ImageInfo_computeByteSize.cpp | 8 const size_t size = info.computeByteSize(100000); in draw()
|
/third_party/skia/docs/examples/ |
D | ImageInfo_ByteSizeOverflowed.cpp | 11 const size_t size = info.computeByteSize(rowBytes);
|
D | Bitmap_computeByteSize.cpp | 13 bitmap.computeByteSize()); in draw()
|
D | Pixmap_computeByteSize.cpp | 13 pixmap.computeByteSize()); in draw()
|
D | ImageInfo_computeByteSize.cpp | 8 const size_t size = info.computeByteSize(100000); in draw()
|
D | Surface_MakeRasterDirectReleaseProc.cpp | 16 void* pixels = sk_malloc_throw(info.computeByteSize(rowBytes)); in draw()
|
/third_party/cef/libcef/browser/ |
D | image_impl.cc | 120 DCHECK_EQ(pixel_data_size, bitmap.computeByteSize()); in AddBitmap() 214 bitmap->computeByteSize()); in GetAsBitmap() 221 desired_bitmap.computeByteSize()); in GetAsBitmap()
|
/third_party/flutter/skia/include/core/ |
D | SkImageInfo.h | 557 size_t computeByteSize(size_t rowBytes) const; 568 return this->computeByteSize(this->minRowBytes()); in computeMinByteSize()
|
D | SkPixmap.h | 229 size_t computeByteSize() const { return fInfo.computeByteSize(fRowBytes); } in computeByteSize() function
|