/external/valgrind/drd/ |
drd_bitmap.h | 341 static void bm2_clear(struct bitmap2* const bm2); 380 struct bitmap2** bm2) 384 tl_assert(bm2); 393 *bm2 = bm->cache[0].bm2; 400 *bm2 = bm->cache[1].bm2; 407 *bm2 = bm->cache[2].bm2; 415 *bm2 = bm->cache[3].bm2 [all...] |
drd_bitmap.c | 41 static void bm2_print(const struct bitmap2* const bm2); 105 bm->cache[i].bm2 = 0; 153 struct bitmap2* bm2; local 162 bm2 = bm2_lookup_or_insert_exclusive(bm, address_msb(b)); 163 tl_assert(bm2); 165 if (make_address(bm2->addr, 0) < a1) 168 if (make_address(bm2->addr, 0) < a2) 169 b_start = make_address(bm2->addr, 0); 173 if (make_address(bm2->addr + 1, 0) < a2) 174 b_end = make_address(bm2->addr + 1, 0) 250 struct bitmap2* bm2; local 345 struct bitmap2* bm2; local 375 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 428 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 483 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 816 const struct bitmap2* bm2 = bm2_lookup(bm, address_msb(b)); local 1051 struct bitmap2* bm2; local 1067 const struct bitmap2* bm2; local 1097 struct bitmap2* bm2; local 1138 struct bitmap2* bm2; local 1211 struct bitmap2* bm2; local [all...] |
pub_drd_bitmap.h | 63 struct bitmap2* bm2; member in struct:bm_cache_elem 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/ |
unit_bitmap.c | 102 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) 106 equal = DRD_(bm_equal)(bm1, bm2); 114 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad) 115 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore)) 121 DRD_(bm_has_1)(bm2, i, eLoad) ? 'R' : ' ', 122 DRD_(bm_has_1)(bm2, i, eStore) ? 'W' : ' ' 135 struct bitmap* bm2; local 160 bm2 = DRD_(bm_new)(); 161 DRD_(bm_merge2)(bm2, bm); 162 DRD_(bm_merge2)(bm2, bm) 177 struct bitmap* bm2; local 200 struct bitmap* bm2; local [all...] |
/frameworks/base/core/tests/coretests/src/android/graphics/ |
BitmapTest.java | 29 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 33 assertTrue("mutability", bm2.isMutable()); 37 assertEquals("width", 100, bm2.getWidth()); 41 assertEquals("rowbytes", 200, bm2.getRowBytes()); 45 assertEquals("byteCount", 40000, bm2.getByteCount()); 49 assertEquals("height", 200, bm2.getHeight()); 53 assertFalse("hasAlpha", bm2.hasAlpha()); 57 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); 64 Bitmap bm2 = Bitmap.createBitmap(new int[100 * 200], 100, 200, local 68 assertFalse("mutability", bm2.isMutable()) 132 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); local 158 Bitmap bm2 = Bitmap.createBitmap(10, 10, config); local 192 Bitmap bm2 = Bitmap.createBitmap(16, 16, config); local [all...] |
/external/skia/tests/ |
EncodeTest.cpp | 167 SkBitmap bm0, bm1, bm2; local 170 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); 172 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); 281 SkBitmap bm0, bm1, bm2; local 284 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); 286 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); 332 SkBitmap bm0, bm1, bm2, bm3; local 335 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); 338 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); 339 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 45)) [all...] |
ImageNewShaderTest.cpp | 19 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { 20 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); 21 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize()));
|
CodecPartialTest.cpp | 38 static void compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { 40 if (info != bm2.info()) { 46 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) {
|
ImageTest.cpp | 1243 SkBitmap bm2; local [all...] |
CodecTest.cpp | 1061 SkBitmap bm2; local [all...] |
/external/skqp/tests/ |
EncodeTest.cpp | 166 SkBitmap bm0, bm1, bm2; local 169 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2, SkImage::kRO_LegacyBitmapMode); 171 REPORTER_ASSERT(r, almost_equals(bm1, bm2, 60)); 280 SkBitmap bm0, bm1, bm2; local 283 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2, SkImage::kRO_LegacyBitmapMode); 285 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 0)); 331 SkBitmap bm0, bm1, bm2, bm3; local 334 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2, SkImage::kRO_LegacyBitmapMode); 337 REPORTER_ASSERT(r, almost_equals(bm0, bm2, 90)); 338 REPORTER_ASSERT(r, almost_equals(bm2, bm3, 45)) [all...] |
ImageNewShaderTest.cpp | 19 static void test_bitmap_equality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { 20 REPORTER_ASSERT(reporter, bm1.computeByteSize() == bm2.computeByteSize()); 21 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.computeByteSize()));
|
CodecPartialTest.cpp | 38 static void compare_bitmaps(skiatest::Reporter* r, const SkBitmap& bm1, const SkBitmap& bm2) { 40 if (info != bm2.info()) { 46 if (memcmp(bm1.getAddr(0, i), bm2.getAddr(0, i), rowBytes)) {
|
ImageTest.cpp | 1332 SkBitmap bm2; local [all...] |
CodecTest.cpp | 1050 SkBitmap bm2; local [all...] |
/external/skia/samplecode/ |
SampleHairline.cpp | 203 SkBitmap bm, bm2; variable 208 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), 211 SkCanvas c2(bm2); 216 bm2.eraseColor(SK_ColorTRANSPARENT); 218 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr);
|
/external/skqp/samplecode/ |
SampleHairline.cpp | 203 SkBitmap bm, bm2; variable 208 bm2.installPixels(SkImageInfo::MakeN32Premul(WIDTH, HEIGHT), 211 SkCanvas c2(bm2); 216 bm2.eraseColor(SK_ColorTRANSPARENT); 218 canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), nullptr);
|
/external/skia/gm/ |
simpleaaclip.cpp | 28 SkBitmap bm2; local 30 sk_tool_utils::copy_to(&bm2, bm.colorType(), bm); 32 canvas->drawBitmap(bm2,
|
aaclip.cpp | 253 SkBitmap bm2; local 254 SkCreateBitmapFromCGImage(&bm2, image); 255 canvas->drawBitmap(bm2, 10, 120); 256 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10);
|
/external/skqp/gm/ |
simpleaaclip.cpp | 28 SkBitmap bm2; local 30 sk_tool_utils::copy_to(&bm2, bm.colorType(), bm); 32 canvas->drawBitmap(bm2,
|
aaclip.cpp | 253 SkBitmap bm2; local 254 SkCreateBitmapFromCGImage(&bm2, image); 255 canvas->drawBitmap(bm2, 10, 120); 256 canvas->drawImage(SkMakeImageFromCGImage(image), 10, 120 + bm2.height() + 10);
|
/external/e2fsprogs/lib/ext2fs/ |
bitmaps.c | 233 ext2fs_block_bitmap bm2) 236 bm1, bm2)); 240 ext2fs_inode_bitmap bm2) 243 bm1, bm2));
|
gen_bitmap.c | 348 ext2fs_generic_bitmap bm2) 354 if (!bm2 || bm2->magic != magic) 357 if ((bm1->start != bm2->start) || 358 (bm1->end != bm2->end) || 359 (memcmp(bm1->bitmap, bm2->bitmap, 365 ext2fs_fast_test_block_bitmap(bm2, i))
|
gen_bitmap64.c | 584 ext2fs_generic_bitmap bm2) 588 if (!bm1 || !bm2) 590 if (bm1->magic != bm2->magic) 595 return ext2fs_compare_generic_bitmap(bm1->magic, neq, bm1, bm2); 600 if ((bm1->start != bm2->start) || 601 (bm1->end != bm2->end)) 606 ext2fs_test_generic_bmap(bm2, i))
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
IconTest.java | 48 final Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); local 54 final Canvas can2 = new Canvas(bm2); 58 final Icon im2 = Icon.createWithBitmap(bm2); 93 bm2.compress(Bitmap.CompressFormat.PNG, 100, 97 if (!equalBitmaps(bm2, test2)) { 98 findBitmapDifferences(bm2, test2);
|