/external/valgrind/main/drd/ |
drd_bitmap.h | 340 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 = bm->cache[3].bm2 [all...] |
drd_bitmap2_node.c | 153 void DRD_(bm2_free_node)(void* const bm2) 158 tl_assert(bm2); 162 if (p->data <= bm2 && bm2 < p->data_end) 165 tl_assert(((char*)bm2 - (char*)(p->data)) % s_bm2_node_size == 0); 166 *(void**)bm2 = p->first_free; 167 p->first_free = bm2; 176 VG_(free)(bm2);
|
drd_bitmap.c | 44 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->addr + 1, 0) 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 1016 struct bitmap2* bm2; local 1032 const struct bitmap2* bm2; local 1066 struct bitmap2* bm2; local 1109 struct bitmap2* bm2; local 1182 struct bitmap2* bm2; local [all...] |
pub_drd_bitmap.h | 64 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/ |
unit_bitmap.c | 89 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) 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, bm) 164 struct bitmap* bm2; local 187 struct bitmap* bm2; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
PatternSkia.cpp | 85 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);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 32 assertTrue("mutability", bm2.isMutable()); 36 assertEquals("width", 100, bm2.getWidth()); 40 assertEquals("rowbytes", 200, bm2.getRowBytes()); 44 assertEquals("byteCount", 40000, bm2.getByteCount()); 48 assertEquals("height", 200, bm2.getHeight()); 52 assertFalse("hasAlpha", bm2.hasAlpha()); 56 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); 63 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, local 67 assertFalse("mutability", bm2.isMutable()) 131 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); local 157 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); local 191 Bitmap bm2 = Bitmap.createBitmap(16, 16, config); local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
bitmaps.c | 134 ext2fs_block_bitmap bm2) 138 bm1, bm2)); 142 ext2fs_inode_bitmap bm2) 146 bm1, bm2));
|
gen_bitmap.c | 268 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))
|
ext2fs.h | 668 ext2fs_block_bitmap bm2); 670 ext2fs_inode_bitmap bm2); 927 ext2fs_generic_bitmap bm2); [all...] |
/external/skia/samplecode/ |
SampleHairline.cpp | 222 SkBitmap bm, bm2; local 230 bm2.setConfig(SkBitmap::kARGB_8888_Config, WIDTH, HEIGHT, 232 bm2.setPixels(bm.getAddr32(MARGIN, MARGIN)); 234 SkCanvas c2(bm2); 239 bm2.eraseColor(0); 241 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL);
|
SampleXfermodes.cpp | 40 SkBitmap bm1, bm2, bm3; 42 bm2.setConfig(SkBitmap::kRGB_565_Config, width, 256); bm2.allocPixels(NULL); 59 sk_memset16(bm2.getAddr16(0, alpha), SkPackRGB16(dr, dg, dr), bm2.width()); 75 canvas->drawBitmap(bm2, 0, 0, NULL); canvas->translate(dx, 0);
|
/external/skia/bench/ |
benchmain.cpp | 37 static bool equal(const SkBitmap& bm1, const SkBitmap& bm2) { 38 if (bm1.width() != bm2.width() || 39 bm1.height() != bm2.height() || 40 bm1.config() != bm2.config()) { 46 if (memcmp(bm1.getAddr(0, y), bm2.getAddr(0, y), pixelBytes)) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 471 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 476 assertEquals(Bitmap.Config.RGB_565, bm2.getConfig()); 544 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 549 assertEquals(200, bm2.getRowBytes());
|
/external/skia/tests/ |
BitmapCopyTest.cpp | 207 void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, 217 getPixel(coords[i]->fX, coords[i]->fY, bm2));
|