Home
last modified time | relevance | path

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

/external/valgrind/drd/
Ddrd_bitmap.h342 static void bm2_clear(struct bitmap2* const bm2);
381 struct bitmap2** bm2) in bm_cache_lookup() argument
385 tl_assert(bm2); in bm_cache_lookup()
394 *bm2 = bm->cache[0].bm2; in bm_cache_lookup()
401 *bm2 = bm->cache[1].bm2; in bm_cache_lookup()
408 *bm2 = bm->cache[2].bm2; in bm_cache_lookup()
416 *bm2 = bm->cache[3].bm2; in bm_cache_lookup()
424 *bm2 = bm->cache[4].bm2; in bm_cache_lookup()
432 *bm2 = bm->cache[5].bm2; in bm_cache_lookup()
440 *bm2 = bm->cache[6].bm2; in bm_cache_lookup()
[all …]
Ddrd_bitmap.c41 static void bm2_print(const struct bitmap2* const bm2);
105 bm->cache[i].bm2 = 0; in DRD_()
153 struct bitmap2* bm2; in DRD_() local
162 bm2 = bm2_lookup_or_insert_exclusive(bm, address_msb(b)); in DRD_()
163 tl_assert(bm2); in DRD_()
165 if (make_address(bm2->addr, 0) < a1) in DRD_()
168 if (make_address(bm2->addr, 0) < a2) in DRD_()
169 b_start = make_address(bm2->addr, 0); in DRD_()
173 if (make_address(bm2->addr + 1, 0) < a2) in DRD_()
174 b_end = make_address(bm2->addr + 1, 0); in DRD_()
[all …]
Dpub_drd_bitmap.h63 struct bitmap2* bm2; member
135 void DRD_(bm_swap)(struct bitmap* const bm1, struct bitmap* const bm2);
139 void DRD_(bm_mark)(struct bitmap* bm1, struct bitmap* bm2);
144 struct bitmap* const bm2);
147 struct bitmap* const bm2);
/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()
119 DRD_(bm_has_1)(bm2, i, eLoad) ? 'R' : ' ', in bm_equal_print_diffs()
120 DRD_(bm_has_1)(bm2, i, eStore) ? 'W' : ' ' in bm_equal_print_diffs()
133 struct bitmap* bm2; in bm_test1() local
158 bm2 = DRD_(bm_new)(); in bm_test1()
159 DRD_(bm_merge2)(bm2, bm); in bm_test1()
160 DRD_(bm_merge2)(bm2, bm); in bm_test1()
[all …]
/external/skia/samplecode/
DSampleHairline.cpp207 SkBitmap bm, bm2; in onDrawContent() local
212 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), in onDrawContent()
215 SkCanvas c2(bm2); in onDrawContent()
220 bm2.eraseColor(SK_ColorTRANSPARENT); in onDrawContent()
222 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr); in onDrawContent()
/external/skia/tests/
DImageNewShaderTest.cpp19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { in testBitmapEquality() argument
21 SkAutoLockPixels lockBm2(bm2); 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.cpp74 SkBitmap bm2(bitmap_from_data(cmykData)); in DEF_TEST() local
75 canvas->drawBitmap(bm2, 0.0, 512.0, nullptr); in DEF_TEST()
DBitmapCopyTest.cpp161 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, in reportCopyVerification() argument
168 uint32_t p2 = getPixel(coords[i]->fX, coords[i]->fY, bm2); in reportCopyVerification()
/external/e2fsprogs/lib/ext2fs/
Dgen_bitmap.c347 ext2fs_generic_bitmap bm2) in ext2fs_compare_generic_bitmap() argument
353 if (!bm2 || bm2->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()
364 ext2fs_fast_test_block_bitmap(bm2, i)) in ext2fs_compare_generic_bitmap()
Dbitmaps.c232 ext2fs_block_bitmap bm2) in ext2fs_compare_block_bitmap() argument
235 bm1, bm2)); in ext2fs_compare_block_bitmap()
239 ext2fs_inode_bitmap bm2) in ext2fs_compare_inode_bitmap() argument
242 bm1, bm2)); in ext2fs_compare_inode_bitmap()
Dgen_bitmap64.c582 ext2fs_generic_bitmap bm2) 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()
593 return ext2fs_compare_generic_bitmap(bm1->magic, neq, bm1, bm2); 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()
604 ext2fs_test_generic_bmap(bm2, i)) in ext2fs_compare_generic_bmap()
Dext2fs.h783 ext2fs_block_bitmap bm2);
785 ext2fs_inode_bitmap bm2);
1173 ext2fs_generic_bitmap bm2);
1209 ext2fs_generic_bitmap bm2);
Dbitops.h180 ext2fs_generic_bitmap bm2);
/external/skia/gm/
Dsimpleaaclip.cpp27 SkBitmap bm2; in paint_rgn() local
29 bm.deepCopyTo(&bm2); in paint_rgn()
31 canvas->drawBitmap(bm2, in paint_rgn()
Daaclip.cpp145 SkBitmap bm2; in test_image() local
146 SkCreateBitmapFromCGImage(&bm2, image); in test_image()
149 canvas->drawBitmap(bm2, 10, 120); in test_image()
Dimage_pict.cpp191 SkBitmap bm2; in make_ctable_generator() local
193 bm2.allocPixels(info, nullptr, ct); in make_ctable_generator()
196 *bm2.getAddr8(x, y) = find_closest(*bm.getAddr32(x, y), colors, count); in make_ctable_generator()
199 return new RasterGenerator(bm2); in make_ctable_generator()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1038 …rrcode_t ext2fs_compare_block_bitmap (ext2fs_block_bitmap @var{bm1}, ext2fs_block_bitmap @var{bm2})
1041 …rrcode_t ext2fs_compare_inode_bitmap (ext2fs_inode_bitmap @var{bm1}, ext2fs_inode_bitmap @var{bm2})