Home
last modified time | relevance | path

Searched refs:bm2 (Results 1 – 25 of 30) sorted by relevance

12

/external/grpc-grpc/tools/profiling/microbenchmarks/
Dbm_json.py206 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
/external/skqp/tests/
DEncodedInfoTest.cpp36 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, sk_tool_utils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
DEncodeTest.cpp167 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
170 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
172 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST()
281 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
284 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
286 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST()
332 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local
335 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
338 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); in DEF_TEST()
339 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 50)); in DEF_TEST()
DImageNewShaderTest.cpp17 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()
DCodecAnimTest.cpp435 SkBitmap bm2; in DEF_TEST() local
436 bm2.allocPixels(info); in DEF_TEST()
439 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(), in DEF_TEST()
444 if (memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) { in DEF_TEST()
DCodecPartialTest.cpp44 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument
46 if (info != bm2.info()) { in compare_bitmaps()
52 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
DImageTest.cpp1279 SkBitmap bm2; in DEF_TEST() local
1280 bm2.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST()
1281 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST()
1283 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
/external/skia/tests/
DEncodedInfoTest.cpp36 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, sk_tool_utils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
DEncodeTest.cpp172 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
175 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
177 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST()
286 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
289 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
291 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); in DEF_TEST()
385 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local
388 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
391 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); in DEF_TEST()
392 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 50)); in DEF_TEST()
DImageNewShaderTest.cpp17 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()
DCodecAnimTest.cpp435 SkBitmap bm2; in DEF_TEST() local
436 bm2.allocPixels(info); in DEF_TEST()
439 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(), in DEF_TEST()
444 if (memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) { in DEF_TEST()
DCodecPartialTest.cpp44 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument
46 if (info != bm2.info()) { in compare_bitmaps()
52 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
DImageTest.cpp1279 SkBitmap bm2; in DEF_TEST() local
1280 bm2.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST()
1281 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST()
1283 REPORTER_ASSERT(reporter, equal(bm0, bm2)); in DEF_TEST()
/external/skia/samplecode/
DSampleHairline.cpp201 SkBitmap bm, bm2; in onDrawContent() local
206 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), in onDrawContent()
209 SkCanvas c2(bm2); in onDrawContent()
214 bm2.eraseColor(SK_ColorTRANSPARENT); in onDrawContent()
216 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr); in onDrawContent()
/external/skqp/samplecode/
DSampleHairline.cpp201 SkBitmap bm, bm2; in onDrawContent() local
206 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), in onDrawContent()
209 SkCanvas c2(bm2); in onDrawContent()
214 bm2.eraseColor(SK_ColorTRANSPARENT); in onDrawContent()
216 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr); in onDrawContent()
/external/e2fsprogs/lib/ext2fs/
Dbitmaps.c235 ext2fs_block_bitmap bm2) in ext2fs_compare_block_bitmap() argument
238 bm1, bm2)); in ext2fs_compare_block_bitmap()
242 ext2fs_inode_bitmap bm2) in ext2fs_compare_inode_bitmap() argument
245 bm1, bm2)); in ext2fs_compare_inode_bitmap()
Dgen_bitmap.c374 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()
Dgen_bitmap64.c610 ext2fs_generic_bitmap_64 bm2 = (ext2fs_generic_bitmap_64) gen_bm2; in ext2fs_compare_generic_bmap() local
613 if (!bm1 || !bm2) in ext2fs_compare_generic_bmap()
615 if (bm1->magic != bm2->magic) in ext2fs_compare_generic_bmap()
626 if ((bm1->start != bm2->start) || in ext2fs_compare_generic_bmap()
627 (bm1->end != bm2->end)) in ext2fs_compare_generic_bmap()
/external/skia/gm/
Dsimpleaaclip.cpp28 SkBitmap bm2; in paint_rgn() local
30 sk_tool_utils::copy_to(&bm2, bm.colorType(), bm); in paint_rgn()
32 canvas->drawBitmap(bm2, in paint_rgn()
Daaclip.cpp183 SkBitmap bm2; in test_image() local
184 SkCreateBitmapFromCGImage(&bm2, image); in test_image()
185 canvas->drawBitmap(bm2, 10, 120); in test_image()
186 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10); in test_image()
/external/skqp/gm/
Dsimpleaaclip.cpp28 SkBitmap bm2; in paint_rgn() local
30 sk_tool_utils::copy_to(&bm2, bm.colorType(), bm); in paint_rgn()
32 canvas->drawBitmap(bm2, in paint_rgn()
Daaclip.cpp183 SkBitmap bm2; in test_image() local
184 SkCreateBitmapFromCGImage(&bm2, image); in test_image()
185 canvas->drawBitmap(bm2, 10, 120); in test_image()
186 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10); in test_image()
/external/deqp-deps/glslang/Test/
D300block.frag19 uniform mat2 bm2;
/external/deqp-deps/glslang/Test/baseResults/
D300block.frag.out41 … 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…
/external/golang-protobuf/protoc-gen-go/testdata/imports/
Dtest_import_all.proto56 test.b.part2.M2 bm2 = 6; field

12