Home
last modified time | relevance | path

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

12

/external/XNNPACK/test/
Dmultiply-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
Dsubtract-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
Dmaximum-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
Dminimum-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
Ddivide-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
Dsquared-difference-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
Dadd-nd.cc36 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
37 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
48 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 1); bm2++) { variable
50 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
63 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
64 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
65 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
77 for (uint32_t bm2 = 0; bm2 < (uint32_t(1) << 2); bm2++) { variable
79 const bool input2_broadcast_dim1 = bm2 & (uint32_t(1) << 0);
80 const bool input2_broadcast_dim2 = bm2 & (uint32_t(1) << 1);
[all …]
/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/rust/crates/grpcio-sys/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()
/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, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
DEncodeTest.cpp213 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()
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()
DNdkEncodeTest.cpp71 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()
/external/skia/docs/examples/
Dimage_to_bitmap_does_not_preserve_genid.cpp7 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()
/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/skia/gm/
Daaclip.cpp127 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()
Dsimpleaaclip.cpp42 SkBitmap bm2; in paint_rgn() local
44 ToolUtils::copy_to(&bm2, bm.colorType(), bm); in paint_rgn()
46 canvas->drawImage(bm2.asImage(), in paint_rgn()
/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()
/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()

12