/external/valgrind/main/drd/tests/ |
D | unit_bitmap.c | 99 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) in bm_equal_print_diffs() argument 103 equal = DRD_(bm_equal)(bm1, bm2); in bm_equal_print_diffs() 111 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad) in bm_equal_print_diffs() 112 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore)) in bm_equal_print_diffs() 116 DRD_(bm_has_1)(bm1, i, eLoad) ? 'R' : ' ', in bm_equal_print_diffs() 117 DRD_(bm_has_1)(bm1, i, eStore) ? 'W' : ' ', in bm_equal_print_diffs() 173 struct bitmap* bm1; in bm_test2() local 176 bm1 = DRD_(bm_new)(); in bm_test2() 178 DRD_(bm_access_load_1)(bm1, 7); in bm_test2() 180 assert(! DRD_(bm_equal)(bm1, bm2)); in bm_test2() [all …]
|
/external/valgrind/main/drd/ |
D | drd_bitmap.c | 190 bm2->bm1.bm0_r[k] = ~(UWord)0; in DRD_() 197 bm0_set(bm2->bm1.bm0_r, b0); in DRD_() 287 bm2->bm1.bm0_w[k] = ~(UWord)0; in DRD_() 294 bm0_set(bm2->bm1.bm0_w, b0); in DRD_() 356 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 390 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 443 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 498 const struct bitmap1* const p1 = &bm2->bm1; in DRD_() 550 p1 = &p2->bm1; in DRD_() 599 bm0_clear_range(p2->bm1.bm0_r, address_lsb(c), SCALED_SIZE(c_next - c)); in DRD_() [all …]
|
D | drd_bitmap.h | 336 struct bitmap1 bm1; member 549 VG_(memset)(&bm2->bm1, 0, sizeof(bm2->bm1)); in bm2_clear() 587 VG_(memcpy)(&bm2_copy->bm1, &bm2->bm1, sizeof(bm2->bm1)); in bm2_insert_copy() 668 bm0_set_range(bm2->bm1.bm0_r, in bm_access_aligned_load() 684 bm0_set_range(bm2->bm1.bm0_w, in bm_access_aligned_store() 701 && bm0_is_any_set(bm2->bm1.bm0_w, in bm_aligned_load_has_conflict_with() 719 if (bm0_is_any_set(bm2->bm1.bm0_r, address_lsb(a), SCALED_SIZE(size)) in bm_aligned_store_has_conflict_with() 720 | bm0_is_any_set(bm2->bm1.bm0_w, address_lsb(a), SCALED_SIZE(size))) in bm_aligned_store_has_conflict_with()
|
D | pub_drd_bitmap.h | 135 void DRD_(bm_swap)(struct bitmap* const bm1, struct bitmap* const bm2); 139 void DRD_(bm_mark)(struct bitmap* bm1, struct bitmap* bm2); 143 int DRD_(bm_has_races)(struct bitmap* const bm1, 146 struct bitmap* const bm1,
|
/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap.c | 267 ext2fs_generic_bitmap bm1, in ext2fs_compare_generic_bitmap() argument 272 if (!bm1 || bm1->magic != magic) in ext2fs_compare_generic_bitmap() 277 if ((bm1->start != bm2->start) || in ext2fs_compare_generic_bitmap() 278 (bm1->end != bm2->end) || in ext2fs_compare_generic_bitmap() 279 (memcmp(bm1->bitmap, bm2->bitmap, in ext2fs_compare_generic_bitmap() 280 (size_t) (bm1->end - bm1->start)/8))) in ext2fs_compare_generic_bitmap() 283 for (i = bm1->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++) in ext2fs_compare_generic_bitmap() 284 if (ext2fs_fast_test_block_bitmap(bm1, i) != in ext2fs_compare_generic_bitmap()
|
D | bitmaps.c | 133 errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, in ext2fs_compare_block_bitmap() argument 138 bm1, bm2)); in ext2fs_compare_block_bitmap() 141 errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, in ext2fs_compare_inode_bitmap() argument 146 bm1, bm2)); in ext2fs_compare_inode_bitmap()
|
D | ext2fs.h | 677 extern errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, 679 extern errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, 936 ext2fs_generic_bitmap bm1,
|
/external/skia/tests/ |
D | BitmapFactoryTest.cpp | 41 static void assert_bounds_equal(skiatest::Reporter* reporter, const SkBitmap& bm1, in assert_bounds_equal() argument 43 REPORTER_ASSERT(reporter, bm1.width() == bm2.width()); in assert_bounds_equal() 44 REPORTER_ASSERT(reporter, bm1.height() == bm2.height()); in assert_bounds_equal()
|
D | BitmapCopyTest.cpp | 214 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, in reportCopyVerification() argument 223 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == in reportCopyVerification() 230 msg, getSkConfigName(bm1)); in reportCopyVerification()
|
/external/skia/bench/ |
D | benchmain.cpp | 56 static bool equal(const SkBitmap& bm1, const SkBitmap& bm2) { 57 if (bm1.width() != bm2.width() || 58 bm1.height() != bm2.height() || 59 bm1.config() != bm2.config()) { 63 size_t pixelBytes = bm1.width() * bm1.bytesPerPixel(); 64 for (int y = 0; y < bm1.height(); y++) { 65 if (memcmp(bm1.getAddr(0, y), bm2.getAddr(0, y), pixelBytes)) {
|
/external/e2fsprogs/doc/ |
D | libext2fs.texinfo | 1041 @deftypefun errcode_t ext2fs_compare_block_bitmap (ext2fs_block_bitmap @var{bm1}, ext2fs_block_bitm… 1044 @deftypefun errcode_t ext2fs_compare_inode_bitmap (ext2fs_inode_bitmap @var{bm1}, ext2fs_inode_bitm…
|