Home
last modified time | relevance | path

Searched refs:bm1 (Results 1 – 24 of 24) sorted by relevance

/external/XNNPACK/test/
Dadd-nd.cc25 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
26 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
47 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
49 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
76 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
78 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
94 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
95 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
96 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
107 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
Dmultiply-nd.cc25 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
26 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
47 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
49 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
76 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
78 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
94 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
95 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
96 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
107 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
Dsubtract-nd.cc25 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
26 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
47 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
49 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
76 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
78 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
94 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
95 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
96 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
107 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
Ddivide-nd.cc26 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
27 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
48 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
50 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
77 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
79 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
95 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
96 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
97 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
108 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
Dminimum-nd.cc26 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
27 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
48 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
50 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
77 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
79 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
95 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
96 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
97 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
108 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
Dmaximum-nd.cc26 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
27 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
48 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
50 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
77 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
79 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
95 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
96 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
97 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
108 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
Dsquared-difference-nd.cc26 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
27 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
48 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
50 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
77 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 1); bm1++) { variable
79 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
95 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
96 const bool input1_broadcast_dim1 = bm1 & (uint32_t(1) << 0);
97 const bool input1_broadcast_dim2 = bm1 & (uint32_t(1) << 1);
108 for (uint32_t bm1 = 0; bm1 < (uint32_t(1) << 2); bm1++) { variable
[all …]
/external/skia/docs/examples/
Dimage_to_bitmap_does_not_preserve_genid.cpp7 SkBitmap bm1, bm2; in draw() local
8 image->asLegacyBitmap(&bm1, SkImage::kRO_LegacyBitmapMode); in draw()
10 SkDebugf("%u\n%u\n", bm1.getGenerationID(), bm2.getGenerationID()); in draw()
/external/skia/tests/
DEncodeTest.cpp225 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
227 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
229 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST()
230 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST()
339 SkBitmap bm0, bm1, bm2; in DEF_TEST() local
341 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
343 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST()
438 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local
440 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
443 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST()
[all …]
DImageNewShaderTest.cpp34 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { in test_bitmap_equality() argument
35 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); in test_bitmap_equality()
36 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize())); in test_bitmap_equality()
DImageTest.cpp1378 SkBitmap bm1; in DEF_TEST() local
1379 bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST()
1380 img1->readPixels(nullptr, bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
1382 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST()
1389 SkBitmap bm1; in DEF_TEST() local
1390 bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kUnpremul_SkAlphaType)); in DEF_TEST()
1391 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
1395 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST()
DCodecPartialTest.cpp47 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument
48 const SkImageInfo& info = bm1.info(); in compare_bitmaps()
55 if (0 != memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
DCodecTest.cpp1122 SkBitmap bm1; in check_round_trip() local
1123 bm1.allocPixels(info); in check_round_trip()
1124 SkCodec::Result result = origCodec->getPixels(info, bm1.getPixels(), bm1.rowBytes()); in check_round_trip()
1128 auto data = SkEncodeBitmap(bm1, SkEncodedImageFormat::kPNG, 100); in check_round_trip()
1139 REPORTER_ASSERT(r, md5(bm1) == md5(bm2)); in check_round_trip()
/external/e2fsprogs/lib/ext2fs/
Dgen_bitmap.c373 ext2fs_generic_bitmap_32 bm1 = (ext2fs_generic_bitmap_32) gen_bm1; in ext2fs_compare_generic_bitmap() local
377 if (!bm1 || bm1->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()
385 (size_t) (bm1->end - bm1->start)/8))) in ext2fs_compare_generic_bitmap()
388 for (i = bm1->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++) in ext2fs_compare_generic_bitmap()
Dgen_bitmap64.c609 ext2fs_generic_bitmap_64 bm1 = (ext2fs_generic_bitmap_64) gen_bm1; 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()
619 if (EXT2FS_IS_32_BITMAP(bm1)) in ext2fs_compare_generic_bmap()
620 return ext2fs_compare_generic_bitmap(bm1->magic, neq, in ext2fs_compare_generic_bmap()
623 if (!EXT2FS_IS_64_BITMAP(bm1)) 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()
630 for (i = bm1->start; i < bm1->end; i++) { in ext2fs_compare_generic_bmap()
Dbitmaps.c244 errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, in ext2fs_compare_block_bitmap() argument
248 bm1, bm2)); in ext2fs_compare_block_bitmap()
251 errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, in ext2fs_compare_inode_bitmap() argument
255 bm1, bm2)); in ext2fs_compare_inode_bitmap()
Dext2fs.h896 extern errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1,
898 extern errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1,
1434 ext2fs_generic_bitmap bm1,
1469 ext2fs_generic_bitmap bm1,
Dbitops.h189 ext2fs_generic_bitmap bm1,
/external/mtools/
DdirCache.c84 addBit(cache->bm1, rol(hash,12), checkOnly) && in _addHash()
156 memset( (*dcp)->bm1, 0, sizeof((*dcp)->bm1)); in allocDirCache()
157 memset( (*dcp)->bm2, 0, sizeof((*dcp)->bm1)); in allocDirCache()
DdirCache.h35 unsigned int bm1[DC_BITMAP_SIZE]; member
/external/golang-protobuf/cmd/protoc-gen-go/testdata/imports/
Dtest_import_all.proto26 test.b.part1.M1 bm1 = 5; field
/external/skia/tools/
DToolUtils.cpp505 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() argument
507 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeBitmapTest.java812 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in testGetRowBytes() local
817 assertEquals(400, bm1.getRowBytes()); in testGetRowBytes()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1038 @deftypefun errcode_t ext2fs_compare_block_bitmap (ext2fs_block_bitmap @var{bm1}, ext2fs_block_bitm…
1041 @deftypefun errcode_t ext2fs_compare_inode_bitmap (ext2fs_inode_bitmap @var{bm1}, ext2fs_inode_bitm…