Home
last modified time | relevance | path

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

/external/valgrind/drd/tests/
Dunit_bitmap.c100 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) in bm_equal_print_diffs() argument
104 equal = DRD_(bm_equal)(bm1, bm2); in bm_equal_print_diffs()
112 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad) in bm_equal_print_diffs()
113 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore)) in bm_equal_print_diffs()
117 DRD_(bm_has_1)(bm1, i, eLoad) ? 'R' : ' ', in bm_equal_print_diffs()
118 DRD_(bm_has_1)(bm1, i, eStore) ? 'W' : ' ', in bm_equal_print_diffs()
174 struct bitmap* bm1; in bm_test2() local
177 bm1 = DRD_(bm_new)(); in bm_test2()
179 DRD_(bm_access_load_1)(bm1, 7); in bm_test2()
181 assert(! DRD_(bm_equal)(bm1, bm2)); in bm_test2()
[all …]
/external/valgrind/drd/
Ddrd_bitmap.c188 bm2->bm1.bm0_r[k] = ~(UWord)0; in DRD_()
195 bm0_set(bm2->bm1.bm0_r, b0); in DRD_()
285 bm2->bm1.bm0_w[k] = ~(UWord)0; in DRD_()
292 bm0_set(bm2->bm1.bm0_w, b0); in DRD_()
354 const struct bitmap1* const p1 = &bm2->bm1; in DRD_()
388 const struct bitmap1* const p1 = &bm2->bm1; in DRD_()
441 const struct bitmap1* const p1 = &bm2->bm1; in DRD_()
496 const struct bitmap1* const p1 = &bm2->bm1; in DRD_()
548 p1 = &p2->bm1; in DRD_()
597 bm0_clear_range(p2->bm1.bm0_r, address_lsb(c), SCALED_SIZE(c_next - c)); in DRD_()
[all …]
Ddrd_bitmap.h338 struct bitmap1 bm1; member
551 VG_(memset)(&bm2->bm1, 0, sizeof(bm2->bm1)); in bm2_clear()
589 VG_(memcpy)(&bm2_copy->bm1, &bm2->bm1, sizeof(bm2->bm1)); in bm2_insert_copy()
670 bm0_set_range(bm2->bm1.bm0_r, in bm_access_aligned_load()
686 bm0_set_range(bm2->bm1.bm0_w, in bm_access_aligned_store()
703 && bm0_is_any_set(bm2->bm1.bm0_w, in bm_aligned_load_has_conflict_with()
721 if (bm0_is_any_set(bm2->bm1.bm0_r, address_lsb(a), SCALED_SIZE(size)) in bm_aligned_store_has_conflict_with()
722 | bm0_is_any_set(bm2->bm1.bm0_w, address_lsb(a), SCALED_SIZE(size))) in bm_aligned_store_has_conflict_with()
Dpub_drd_bitmap.h135 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/
Dgen_bitmap.c346 ext2fs_generic_bitmap bm1, in ext2fs_compare_generic_bitmap() argument
351 if (!bm1 || bm1->magic != magic) in ext2fs_compare_generic_bitmap()
356 if ((bm1->start != bm2->start) || in ext2fs_compare_generic_bitmap()
357 (bm1->end != bm2->end) || in ext2fs_compare_generic_bitmap()
358 (memcmp(bm1->bitmap, bm2->bitmap, in ext2fs_compare_generic_bitmap()
359 (size_t) (bm1->end - bm1->start)/8))) in ext2fs_compare_generic_bitmap()
362 for (i = bm1->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++) in ext2fs_compare_generic_bitmap()
363 if (ext2fs_fast_test_block_bitmap(bm1, i) != in ext2fs_compare_generic_bitmap()
Dgen_bitmap64.c581 ext2fs_generic_bitmap bm1, in ext2fs_compare_generic_bmap() argument
586 if (!bm1 || !bm2) in ext2fs_compare_generic_bmap()
588 if (bm1->magic != bm2->magic) in ext2fs_compare_generic_bmap()
592 if (EXT2FS_IS_32_BITMAP(bm1)) in ext2fs_compare_generic_bmap()
593 return ext2fs_compare_generic_bitmap(bm1->magic, neq, bm1, bm2); in ext2fs_compare_generic_bmap()
595 if (!EXT2FS_IS_64_BITMAP(bm1)) in ext2fs_compare_generic_bmap()
598 if ((bm1->start != bm2->start) || in ext2fs_compare_generic_bmap()
599 (bm1->end != bm2->end)) in ext2fs_compare_generic_bmap()
602 for (i = bm1->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++) in ext2fs_compare_generic_bmap()
603 if (ext2fs_test_generic_bmap(bm1, i) != in ext2fs_compare_generic_bmap()
Dbitmaps.c231 errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, in ext2fs_compare_block_bitmap() argument
235 bm1, bm2)); in ext2fs_compare_block_bitmap()
238 errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, in ext2fs_compare_inode_bitmap() argument
242 bm1, bm2)); in ext2fs_compare_inode_bitmap()
Dext2fs.h777 extern errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1,
779 extern errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1,
1167 ext2fs_generic_bitmap bm1,
1203 ext2fs_generic_bitmap bm1,
Dbitops.h179 ext2fs_generic_bitmap bm1,
/external/skia/tests/
DImageNewShaderTest.cpp19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { in testBitmapEquality() argument
20 SkAutoLockPixels lockBm1(bm1); in testBitmapEquality()
23 REPORTER_ASSERT(reporter, bm1.getSize() == bm2.getSize()); in testBitmapEquality()
24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize())); in testBitmapEquality()
DPDFJpegEmbedTest.cpp72 SkBitmap bm1(bitmap_from_data(mandrillData)); in DEF_TEST() local
73 canvas->drawBitmap(bm1, 65.0, 0.0, NULL); in DEF_TEST()
DBitmapCopyTest.cpp160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, in reportCopyVerification() argument
169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == in reportCopyVerification()
175 gColorTypeName[bm1.colorType()]); in reportCopyVerification()
/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…