/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)) 106 DRD_(bm_has_1)(bm1, i, eLoad) ? 'R' : ' ', 107 DRD_(bm_has_1)(bm1, i, eStore) ? 'W' : ' ', 163 struct bitmap* bm1; local 166 bm1 = DRD_(bm_new)(); 168 DRD_(bm_access_load_1)(bm1, 7); 170 assert(! DRD_(bm_equal)(bm1, bm2)) 186 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/main/drd/ |
drd_bitmap.c | 176 bm2->bm1.bm0_r[k] = ~(UWord)0; 183 bm0_set(bm2->bm1.bm0_r, b0); 273 bm2->bm1.bm0_w[k] = ~(UWord)0; 280 bm0_set(bm2->bm1.bm0_w, b0); 353 const struct bitmap1* const p1 = &bm2->bm1; 406 const struct bitmap1* const p1 = &bm2->bm1; 461 const struct bitmap1* const p1 = &bm2->bm1; 513 p1 = &p2->bm1; 562 bm0_clear_range(p2->bm1.bm0_r, address_lsb(c), SCALED_SIZE(c_next - c)); 563 bm0_clear_range(p2->bm1.bm0_w, address_lsb(c), SCALED_SIZE(c_next - c)) 1188 const struct bitmap1* bm1; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 379 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 384 assertEquals(Bitmap.Config.ARGB_8888, bm1.getConfig()); 432 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); local 437 assertEquals(400, bm1.getRowBytes());
|