/external/XNNPACK/test/ |
D | multiply-nd.cc | 25 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 …]
|
D | subtract-nd.cc | 25 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 …]
|
D | maximum-nd.cc | 25 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 …]
|
D | minimum-nd.cc | 25 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 …]
|
D | divide-nd.cc | 25 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 …]
|
D | squared-difference-nd.cc | 25 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 …]
|
D | add-nd.cc | 25 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 …]
|
/external/skia/docs/examples/ |
D | image_to_bitmap_does_not_preserve_genid.cpp | 7 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/skqp/tests/ |
D | EncodeTest.cpp | 167 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 169 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST() 171 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST() 172 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST() 281 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 283 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST() 285 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() 332 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 334 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST() 337 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); 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 | ImageTest.cpp | 1264 SkBitmap bm1; in DEF_TEST() local 1265 bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST() 1266 img1->readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1268 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST() 1275 SkBitmap bm1; in DEF_TEST() local 1276 bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kUnpremul_SkAlphaType)); in DEF_TEST() 1277 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1281 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST()
|
D | CodecPartialTest.cpp | 44 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument 45 const SkImageInfo& info = bm1.info(); in compare_bitmaps() 52 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
|
D | CodecTest.cpp | 1066 SkBitmap bm1; in check_round_trip() local 1067 bm1.allocPixels(info); in check_round_trip() 1068 SkCodec::Result result = origCodec->getPixels(info, bm1.getPixels(), bm1.rowBytes()); in check_round_trip() 1072 auto data = SkEncodeBitmap(bm1, SkEncodedImageFormat::kPNG, 100); in check_round_trip() 1084 md5(bm1, &d1); in check_round_trip()
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 373 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()
|
D | gen_bitmap64.c | 609 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->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++) in ext2fs_compare_generic_bmap()
|
D | bitmaps.c | 234 errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, in ext2fs_compare_block_bitmap() argument 238 bm1, bm2)); in ext2fs_compare_block_bitmap() 241 errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, in ext2fs_compare_inode_bitmap() argument 245 bm1, bm2)); in ext2fs_compare_inode_bitmap()
|
/external/skia/tests/ |
D | EncodeTest.cpp | 213 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 215 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST() 217 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 60)); in DEF_TEST() 218 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); in DEF_TEST() 327 SkBitmap bm0, bm1, bm2; in DEF_TEST() local 329 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST() 331 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); in DEF_TEST() 426 SkBitmap bm0, bm1, bm2, bm3; in DEF_TEST() local 428 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST() 431 REPORTER_ASSERT(r, almost_equals(bm0, bm1, 0)); 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 | ImageTest.cpp | 1288 SkBitmap bm1; in DEF_TEST() local 1289 bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kPremul_SkAlphaType)); in DEF_TEST() 1290 img1->readPixels(nullptr, bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1292 REPORTER_ASSERT(reporter, equal(bm0, bm1)); in DEF_TEST() 1299 SkBitmap bm1; in DEF_TEST() local 1300 bm1.allocPixels(SkImageInfo::MakeN32(256, 256, kUnpremul_SkAlphaType)); in DEF_TEST() 1301 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST() 1305 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST()
|
D | CodecPartialTest.cpp | 45 static bool compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { in compare_bitmaps() argument 46 const SkImageInfo& info = bm1.info(); in compare_bitmaps() 53 if (0 != memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) { in compare_bitmaps()
|
D | CodecTest.cpp | 1073 SkBitmap bm1; in check_round_trip() local 1074 bm1.allocPixels(info); in check_round_trip() 1075 SkCodec::Result result = origCodec->getPixels(info, bm1.getPixels(), bm1.rowBytes()); in check_round_trip() 1079 auto data = SkEncodeBitmap(bm1, SkEncodedImageFormat::kPNG, 100); in check_round_trip() 1090 REPORTER_ASSERT(r, md5(bm1) == md5(bm2)); in check_round_trip()
|
/external/mtools/ |
D | dirCache.c | 84 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()
|
D | dirCache.h | 35 unsigned int bm1[DC_BITMAP_SIZE]; member
|
/external/golang-protobuf/protoc-gen-go/testdata/imports/ |
D | test_import_all.proto | 55 test.b.part1.M1 bm1 = 5; field
|
/external/skia/tools/ |
D | ToolUtils.cpp | 460 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() argument 462 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
|