/third_party/grpc/tools/profiling/microbenchmarks/ |
D | bm_json.py | 206 for bm2 in js2['benchmarks']: 207 if bm['name'] == bm2['name'] and 'already_used' not in bm2: 208 row['cpu_time'] = bm2['cpu_time'] 209 row['real_time'] = bm2['real_time'] 210 row['iterations'] = bm2['iterations'] 211 bm2['already_used'] = True
|
/third_party/skia/tests/ |
D | EncodedInfoTest.cpp | 36 SkBitmap bm2; in DEF_TEST() local 37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr)); in DEF_TEST() 38 result = codec->getPixels(bm2.pixmap()); in DEF_TEST() 41 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
|
D | EncodeTest.cpp | 213 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 216 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST() 218 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST() 327 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 330 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST() 332 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST() 426 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 429 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST() 432 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); in DEF_TEST() 433 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 50)); in DEF_TEST()
|
D | ImageNewShaderTest.cpp | 17 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { in test_bitmap_equality() argument 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 | CodecAnimTest.cpp | 526 SkBitmap bm2; in test_animated_AndroidCodec() local 527 bm2.allocPixels(info); in test_animated_AndroidCodec() 530 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(), in test_animated_AndroidCodec() 535 if (0 != memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) { in test_animated_AndroidCodec()
|
D | NdkEncodeTest.cpp | 71 SkBitmap bm2; in DEF_TEST() local 72 bm2.allocPixels(bm.info()); in DEF_TEST() 73 REPORTER_ASSERT(r, gen->getPixels(bm2.pixmap())); in DEF_TEST() 78 SkColor actual = bm2.getColor(x, y); in DEF_TEST()
|
D | CodecPartialTest.cpp | 45 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument 47 if (info != bm2.info()) { in compare_bitmaps() 53 if (0 != memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
|
D | ImageTest.cpp | 1303 SkBitmap bm2; in DEF_TEST() local 1304 bm2.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST() 1305 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST() 1307 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | EncodedInfoTest.cpp | 36 SkBitmap bm2; in DEF_TEST() local 37 bm2.allocPixels(codec->getInfo().makeColorSpace(nullptr)); in DEF_TEST() 38 result = codec->getPixels(bm2.pixmap()); in DEF_TEST() 41 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
|
D | EncodeTest.cpp | 211 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 214 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST() 216 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST() 325 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 328 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST() 330 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST() 424 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 427 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST() 430 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); in DEF_TEST() 431 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 50)); in DEF_TEST()
|
D | ImageNewShaderTest.cpp | 17 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { in test_bitmap_equality() argument 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 | CodecAnimTest.cpp | 439 SkBitmap bm2; in DEF_TEST() local 440 bm2.allocPixels(info); in DEF_TEST() 443 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(), in DEF_TEST() 448 if (memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) { in DEF_TEST()
|
D | CodecPartialTest.cpp | 46 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument 48 if (info != bm2.info()) { in compare_bitmaps() 54 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
|
D | ImageTest.cpp | 1257 SkBitmap bm2; in DEF_TEST() local 1258 bm2.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST() 1259 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST() 1261 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
|
/third_party/skia/docs/examples/ |
D | image_to_bitmap_does_not_preserve_genid.cpp | 7 SkBitmap bm1, bm2; in draw() local 9 image->asLegacyBitmap(&bm2, SkImage::kRO_LegacyBitmapMode); in draw() 10 SkDebugf("%u\n%u\n", bm1.getGenerationID(), bm2.getGenerationID()); in draw()
|
/third_party/flutter/skia/samplecode/ |
D | SampleHairline.cpp | 192 SkBitmap bm, bm2; in onDrawContent() local 197 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), in onDrawContent() 200 SkCanvas c2(bm2); in onDrawContent() 205 bm2.eraseColor(SK_ColorTRANSPARENT); in onDrawContent() 207 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr); in onDrawContent()
|
/third_party/skia/gm/ |
D | aaclip.cpp | 127 SkBitmap bm2; in test_image() local 128 SkCreateBitmapFromCGImage(&bm2, image); in test_image() 129 canvas->drawImage(bm2.asImage(), 10, 120); in test_image() 130 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10); in test_image()
|
D | simpleaaclip.cpp | 41 SkBitmap bm2; in paint_rgn() local 43 ToolUtils::copy_to(&bm2, bm.colorType(), bm); in paint_rgn() 45 canvas->drawImage(bm2.asImage(), in paint_rgn()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | bitmaps.c | 236 ext2fs_block_bitmap bm2) in ext2fs_compare_block_bitmap() argument 239 bm1, bm2)); in ext2fs_compare_block_bitmap() 243 ext2fs_inode_bitmap bm2) in ext2fs_compare_inode_bitmap() argument 246 bm1, bm2)); in ext2fs_compare_inode_bitmap()
|
D | gen_bitmap.c | 374 ext2fs_generic_bitmap_32 bm2 = (ext2fs_generic_bitmap_32) gen_bm2; in ext2fs_compare_generic_bitmap() local 379 if (!bm2 || bm2->magic != magic) in ext2fs_compare_generic_bitmap() 382 if ((bm1->start != bm2->start) || in ext2fs_compare_generic_bitmap() 383 (bm1->end != bm2->end) || in ext2fs_compare_generic_bitmap() 384 (memcmp(bm1->bitmap, bm2->bitmap, in ext2fs_compare_generic_bitmap()
|
D | gen_bitmap64.c | 612 ext2fs_generic_bitmap_64 bm2 = (ext2fs_generic_bitmap_64) gen_bm2; in ext2fs_compare_generic_bmap() local 615 if (!bm1 || !bm2) in ext2fs_compare_generic_bmap() 617 if (bm1->magic != bm2->magic) in ext2fs_compare_generic_bmap() 628 if ((bm1->start != bm2->start) || in ext2fs_compare_generic_bmap() 629 (bm1->end != bm2->end)) in ext2fs_compare_generic_bmap()
|
/third_party/flutter/skia/gm/ |
D | simpleaaclip.cpp | 42 SkBitmap bm2; in paint_rgn() local 44 ToolUtils::copy_to(&bm2, bm.colorType(), bm); in paint_rgn() 46 canvas->drawBitmap(bm2, in paint_rgn()
|
D | aaclip.cpp | 193 SkBitmap bm2; in test_image() local 194 SkCreateBitmapFromCGImage(&bm2, image); in test_image() 195 canvas->drawBitmap(bm2, 10, 120); in test_image() 196 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10); in test_image()
|
/third_party/glslang/Test/ |
D | 300block.frag | 19 uniform mat2 bm2;
|
/third_party/glslang/Test/baseResults/ |
D | 300block.frag.out | 41 … uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_maj… 81 … uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_maj… 109 … uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_maj… 149 … uint bv, layout( column_major shared) uniform mediump 2X2 matrix of float bm2, layout( column_maj…
|