/external/valgrind/drd/tests/ |
unit_bitmap.c | 100 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) 104 equal = DRD_(bm_equal)(bm1, bm2); 112 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad) 113 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore)) 117 DRD_(bm_has_1)(bm1, i, eLoad) ? 'R' : ' ', 118 DRD_(bm_has_1)(bm1, i, eStore) ? 'W' : ' ', 174 struct bitmap* bm1; local 177 bm1 = DRD_(bm_new)(); 179 DRD_(bm_access_load_1)(bm1, 7); 181 assert(! DRD_(bm_equal)(bm1, bm2)) 197 struct bitmap* bm1; local [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 31 assertTrue("mutability", bm1.isMutable()); 35 assertEquals("width", 100, bm1.getWidth()); 39 assertEquals("rowbytes", 400, bm1.getRowBytes()); 43 assertEquals("byteCount", 80000, bm1.getByteCount()); 47 assertEquals("height", 200, bm1.getHeight()); 51 assertTrue("hasAlpha", bm1.hasAlpha()); 55 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888); 62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 66 assertTrue("mutability", bm1.isMutable()) 130 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); local 156 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config); local 188 Bitmap bm1 = Bitmap.createBitmap(colors, 16, 16, config); local [all...] |
/external/valgrind/drd/ |
drd_bitmap.c | 188 bm2->bm1.bm0_r[k] = ~(UWord)0; 195 bm0_set(bm2->bm1.bm0_r, b0); 285 bm2->bm1.bm0_w[k] = ~(UWord)0; 292 bm0_set(bm2->bm1.bm0_w, b0); 354 const struct bitmap1* const p1 = &bm2->bm1; 388 const struct bitmap1* const p1 = &bm2->bm1; 441 const struct bitmap1* const p1 = &bm2->bm1; 496 const struct bitmap1* const p1 = &bm2->bm1; 548 p1 = &p2->bm1; 597 bm0_clear_range(p2->bm1.bm0_r, address_lsb(c), SCALED_SIZE(c_next - c)) 1223 const struct bitmap1* bm1; local [all...] |
drd_bitmap.h | 338 struct bitmap1 bm1; 551 VG_(memset)(&bm2->bm1, 0, sizeof(bm2->bm1)); 589 VG_(memcpy)(&bm2_copy->bm1, &bm2->bm1, sizeof(bm2->bm1)); 670 bm0_set_range(bm2->bm1.bm0_r, 686 bm0_set_range(bm2->bm1.bm0_w, 703 && bm0_is_any_set(bm2->bm1.bm0_w, 721 if (bm0_is_any_set(bm2->bm1.bm0_r, address_lsb(a), SCALED_SIZE(size) [all...] |
pub_drd_bitmap.h | 135 void DRD_(bm_swap)(struct bitmap* const bm1, struct bitmap* const bm2); 139 void DRD_(bm_mark)(struct bitmap* bm1, struct bitmap* bm2); 143 int DRD_(bm_has_races)(struct bitmap* const bm1, 146 struct bitmap* const bm1,
|
/external/e2fsprogs/lib/ext2fs/ |
gen_bitmap64.c | 581 ext2fs_generic_bitmap bm1, 586 if (!bm1 || !bm2) 588 if (bm1->magic != bm2->magic) 592 if (EXT2FS_IS_32_BITMAP(bm1)) 593 return ext2fs_compare_generic_bitmap(bm1->magic, neq, bm1, bm2); 595 if (!EXT2FS_IS_64_BITMAP(bm1)) 598 if ((bm1->start != bm2->start) || 599 (bm1->end != bm2->end)) 602 for (i = bm1->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++ [all...] |
gen_bitmap.c | 346 ext2fs_generic_bitmap bm1, 351 if (!bm1 || bm1->magic != magic) 356 if ((bm1->start != bm2->start) || 357 (bm1->end != bm2->end) || 358 (memcmp(bm1->bitmap, bm2->bitmap, 359 (size_t) (bm1->end - bm1->start)/8))) 362 for (i = bm1->end - ((bm1->end - bm1->start) % 8); i <= bm1->end; i++ [all...] |
bitmaps.c | 231 errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, 235 bm1, bm2)); 238 errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, 242 bm1, bm2));
|
ext2fs.h | 777 extern errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, 779 extern errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, [all...] |
bitops.h | 179 ext2fs_generic_bitmap bm1,
|
/external/skia/tests/ |
ImageNewShaderTest.cpp | 19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { 20 SkAutoLockPixels lockBm1(bm1); 23 REPORTER_ASSERT(reporter, bm1.getSize() == bm2.getSize()); 24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize()));
|
PDFJpegEmbedTest.cpp | 72 SkBitmap bm1(bitmap_from_data(mandrillData)); 73 canvas->drawBitmap(bm1, 65.0, 0.0, NULL);
|
BitmapCopyTest.cpp | 160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, 169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == 175 gColorTypeName[bm1.colorType()]);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
IconTest.java | 45 final Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 50 final Canvas can1 = new Canvas(bm1); 55 final Icon im1 = Icon.createWithBitmap(bm1); 82 bm1.compress(Bitmap.CompressFormat.PNG, 100, 86 if (!equalBitmaps(bm1, test1)) { 87 findBitmapDifferences(bm1, test1);
|
/frameworks/base/core/jni/android/graphics/ |
Bitmap.cpp | 1284 SkBitmap bm1; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 406 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 411 assertEquals(Bitmap.Config.ARGB_8888, bm1.getConfig()); 473 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 478 assertEquals(400, bm1.getRowBytes()); [all...] |