Home
last modified time | relevance | path

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

/external/valgrind/main/drd/
Ddrd_bitmap.h341 static void bm2_clear(struct bitmap2* const bm2);
380 struct bitmap2** bm2) in bm_cache_lookup() argument
384 tl_assert(bm2); in bm_cache_lookup()
393 *bm2 = bm->cache[0].bm2; in bm_cache_lookup()
400 *bm2 = bm->cache[1].bm2; in bm_cache_lookup()
407 *bm2 = bm->cache[2].bm2; in bm_cache_lookup()
415 *bm2 = bm->cache[3].bm2; in bm_cache_lookup()
423 *bm2 = bm->cache[4].bm2; in bm_cache_lookup()
431 *bm2 = bm->cache[5].bm2; in bm_cache_lookup()
439 *bm2 = bm->cache[6].bm2; in bm_cache_lookup()
[all …]
Ddrd_bitmap.c43 static void bm2_print(const struct bitmap2* const bm2);
107 bm->cache[i].bm2 = 0; in DRD_()
155 struct bitmap2* bm2; in DRD_() local
164 bm2 = bm2_lookup_or_insert_exclusive(bm, address_msb(b)); in DRD_()
165 tl_assert(bm2); in DRD_()
167 if (make_address(bm2->addr, 0) < a1) in DRD_()
170 if (make_address(bm2->addr, 0) < a2) in DRD_()
171 b_start = make_address(bm2->addr, 0); in DRD_()
175 if (make_address(bm2->addr + 1, 0) < a2) in DRD_()
176 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/main/drd/tests/
Dunit_bitmap.c99 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()
118 DRD_(bm_has_1)(bm2, i, eLoad) ? 'R' : ' ', in bm_equal_print_diffs()
119 DRD_(bm_has_1)(bm2, i, eStore) ? 'W' : ' ' in bm_equal_print_diffs()
132 struct bitmap* bm2; in bm_test1() local
157 bm2 = DRD_(bm_new)(); in bm_test1()
158 DRD_(bm_merge2)(bm2, bm); in bm_test1()
159 DRD_(bm_merge2)(bm2, bm); in bm_test1()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DPattern.cpp95 SkBitmap bm2; in shader() local
96 bm2.allocPixels(info); in shader()
97 bm2.eraseARGB(0x00, 0x00, 0x00, 0x00); in shader()
98 SkCanvas canvas(bm2); in shader()
100 bm2.setImmutable(); in shader()
101 m_pattern = adoptRef(SkShader::CreateBitmapShader(bm2, tileModeX, tileModeY, &localMatrix)); in shader()
104 …m_externalMemoryAllocated = static_cast<int>(std::min(static_cast<size_t>(INT_MAX), bm2.getSafeSiz… in shader()
/external/chromium_org/third_party/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()
DPictureStateTreeTest.cpp67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { in check_bms() argument
68 SkASSERT(bm1.getSize() == bm2.getSize()); in check_bms()
69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize())); in check_bms()
DPDFJpegEmbedTest.cpp77 SkBitmap bm2(bitmap_from_data(cmykData)); in DEF_TEST() local
78 canvas->drawBitmap(bm2, 0.0, 512.0, NULL); in DEF_TEST()
DBitmapCopyTest.cpp160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, in reportCopyVerification() argument
170 getPixel(coords[i]->fX, coords[i]->fY, bm2)); in reportCopyVerification()
/external/skia/samplecode/
DSampleHairline.cpp227 SkBitmap bm, bm2; in onDrawContent() local
232 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), in onDrawContent()
235 SkCanvas c2(bm2); in onDrawContent()
240 bm2.eraseColor(SK_ColorTRANSPARENT); in onDrawContent()
242 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL); in onDrawContent()
/external/chromium_org/third_party/skia/samplecode/
DSampleHairline.cpp227 SkBitmap bm, bm2; in onDrawContent() local
232 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), in onDrawContent()
235 SkCanvas c2(bm2); in onDrawContent()
240 bm2.eraseColor(SK_ColorTRANSPARENT); in onDrawContent()
242 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL); in onDrawContent()
/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.h778 ext2fs_block_bitmap bm2);
780 ext2fs_inode_bitmap bm2);
1168 ext2fs_generic_bitmap bm2);
1204 ext2fs_generic_bitmap bm2);
Dbitops.h180 ext2fs_generic_bitmap bm2);
/external/skia/tests/
DPictureStateTreeTest.cpp67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { in check_bms() argument
68 SkASSERT(bm1.getSize() == bm2.getSize()); in check_bms()
69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize())); in check_bms()
DBitmapCopyTest.cpp160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, in reportCopyVerification() argument
170 getPixel(coords[i]->fX, coords[i]->fY, bm2)); in reportCopyVerification()
/external/chromium_org/third_party/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.cpp147 SkBitmap bm2; in test_image() local
148 SkCreateBitmapFromCGImage(&bm2, image); in test_image()
151 canvas->drawBitmap(bm2, 10, 120); in test_image()
/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.cpp147 SkBitmap bm2; in test_image() local
148 SkCreateBitmapFromCGImage(&bm2, image); in test_image()
151 canvas->drawBitmap(bm2, 10, 120); in test_image()
/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})