Searched refs:bm2 (Results 1 - 13 of 13) sorted by relevance

/external/valgrind/main/drd/
H A Ddrd_bitmap.h340 static void bm2_clear(struct bitmap2* const bm2);
379 struct bitmap2** bm2)
383 tl_assert(bm2);
392 *bm2 = bm->cache[0].bm2;
399 *bm2 = bm->cache[1].bm2;
406 *bm2 = bm->cache[2].bm2;
414 *bm2
[all...]
H A Ddrd_bitmap2_node.c156 void DRD_(bm2_free_node)(void* const bm2) argument
160 tl_assert(bm2);
164 if (p->data <= bm2 && bm2 < p->data_end) {
166 tl_assert(((char*)bm2 - (char*)(p->data)) % s_bm2_node_size == 0);
167 *(void**)bm2 = p->first_free;
168 p->first_free = bm2;
177 VG_(free)(bm2);
H A Ddrd_bitmap.c44 static void bm2_print(const struct bitmap2* const bm2);
92 bm->cache[i].bm2 = 0;
141 struct bitmap2* bm2; local
150 bm2 = bm2_lookup_or_insert_exclusive(bm, address_msb(b));
151 tl_assert(bm2);
153 if (make_address(bm2->addr, 0) < a1)
156 if (make_address(bm2->addr, 0) < a2)
157 b_start = make_address(bm2->addr, 0);
161 if (make_address(bm2->addr + 1, 0) < a2)
162 b_end = make_address(bm2
238 struct bitmap2* bm2; local
340 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local
393 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local
448 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local
781 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local
975 bm_swap(struct bitmap* const bm1, struct bitmap* const bm2) argument
1016 struct bitmap2* bm2; local
1032 const struct bitmap2* bm2; local
1062 struct bitmap2* bm2; local
1103 struct bitmap2* bm2; local
1176 struct bitmap2* bm2; local
1186 bm2_print(const struct bitmap2* const bm2) argument
[all...]
H A Dpub_drd_bitmap.h64 struct bitmap2* bm2; member in struct:bm_cache_elem
133 void DRD_(bm_swap)(struct bitmap* const bm1, struct bitmap* const bm2);
137 void DRD_(bm_mark)(struct bitmap* bm1, struct bitmap* bm2);
142 struct bitmap* const bm2);
145 struct bitmap* const bm2);
152 void DRD_(bm2_free_node)(void* const bm2);
/external/valgrind/main/drd/tests/
H A Dunit_bitmap.c89 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) argument
93 equal = DRD_(bm_equal)(bm1, bm2);
101 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad)
102 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore))
108 DRD_(bm_has_1)(bm2, i, eLoad) ? 'R' : ' ',
109 DRD_(bm_has_1)(bm2, i, eStore) ? 'W' : ' '
122 struct bitmap* bm2; local
147 bm2 = DRD_(bm_new)();
148 DRD_(bm_merge2)(bm2, bm);
149 DRD_(bm_merge2)(bm2, b
164 struct bitmap* bm2; local
187 struct bitmap* bm2; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DPatternSkia.cpp85 SkBitmap bm2; local
86 bm2.setConfig(bm->config(), bm->width() + expandW, bm->height() + expandH);
87 bm2.allocPixels();
88 bm2.eraseARGB(0x00, 0x00, 0x00, 0x00);
89 SkCanvas canvas(bm2);
91 m_pattern = SkShader::CreateBitmapShader(bm2, tileModeX, tileModeY);
/external/e2fsprogs/lib/ext2fs/
H A Dbitmaps.c134 ext2fs_block_bitmap bm2)
138 bm1, bm2));
142 ext2fs_inode_bitmap bm2)
146 bm1, bm2));
133 ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, ext2fs_block_bitmap bm2) argument
141 ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, ext2fs_inode_bitmap bm2) argument
H A Dgen_bitmap.c268 ext2fs_generic_bitmap bm2)
274 if (!bm2 || bm2->magic != magic)
277 if ((bm1->start != bm2->start) ||
278 (bm1->end != bm2->end) ||
279 (memcmp(bm1->bitmap, bm2->bitmap,
285 ext2fs_fast_test_block_bitmap(bm2, i))
266 ext2fs_compare_generic_bitmap(errcode_t magic, errcode_t neq, ext2fs_generic_bitmap bm1, ext2fs_generic_bitmap bm2) argument
H A Dext2fs.h678 ext2fs_block_bitmap bm2);
680 ext2fs_inode_bitmap bm2);
937 ext2fs_generic_bitmap bm2);
/external/skia/samplecode/
H A DSampleHairline.cpp229 SkBitmap bm, bm2; local
237 bm2.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT,
239 bm2.setPixels(bm.getAddr32(MARGIN, MARGIN));
241 SkCanvas c2(bm2);
246 bm2.eraseColor(0);
248 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL);
H A DSampleXfermodes.cpp47 SkBitmap bm1, bm2, bm3;
49 bm2.setConfig(SkBitmap::kRGB_565_Config, width, 256); bm2.allocPixels(NULL);
66 sk_memset16(bm2.getAddr16(0, alpha), SkPackRGB16(dr, dg, dr), bm2.width());
82 canvas->drawBitmap(bm2, 0, 0, NULL); canvas->translate(dx, 0);
/external/skia/bench/
H A Dbenchmain.cpp49 static bool equal(const SkBitmap& bm1, const SkBitmap& bm2) {
50 if (bm1.width() != bm2.width() ||
51 bm1.height() != bm2.height() ||
52 bm1.config() != bm2.config()) {
58 if (memcmp(bm1.getAddr(0, y), bm2.getAddr(0, y), pixelBytes)) {
/external/skia/tests/
H A DBitmapCopyTest.cpp214 void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, argument
224 getPixel(coords[i]->fX, coords[i]->fY, bm2));

Completed in 201 milliseconds