Searched defs:bm1 (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/skia/tests/
H A DPictureStateTreeTest.cpp67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { argument
68 SkASSERT(bm1.getSize() == bm2.getSize());
69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize()));
H A DImageNewShaderTest.cpp19 void testBitmapEquality(skiatest::Reporter* reporter, SkBitmap& bm1, SkBitmap& bm2) { argument
20 SkAutoLockPixels lockBm1(bm1);
23 REPORTER_ASSERT(reporter, bm1.getSize() == bm2.getSize());
24 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getPixels(), bm2.getPixels(), bm1.getSize()));
H A DBitmapCopyTest.cpp160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, argument
169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) ==
175 gColorTypeName[bm1.colorType()]);
/external/skia/tests/
H A DPictureStateTreeTest.cpp67 static void check_bms(skiatest::Reporter* reporter, const SkBitmap& bm1, const SkBitmap& bm2) { argument
68 SkASSERT(bm1.getSize() == bm2.getSize());
69 REPORTER_ASSERT(reporter, 0 == memcmp(bm1.getAddr(0, 0), bm2.getAddr(0, 0), bm1.getSize()));
H A DBitmapCopyTest.cpp160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2, argument
169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) ==
175 gColorTypeName[bm1.colorType()]);
/external/chromium_org/sync/engine/
H A Ddirectory_commit_contribution_unittest.cc248 int64 bm1; local
251 bm1 = CreateSyncedItem(&trans, BOOKMARKS, "bm1");
252 syncable::MutableEntry e1(&trans, syncable::GET_BY_HANDLE, bm1);
295 int64 bm1; local
298 bm1 = CreateSyncedItem(&trans, BOOKMARKS, "bm1");
299 syncable::MutableEntry e(&trans, syncable::GET_BY_HANDLE, bm1);
/external/e2fsprogs/lib/ext2fs/
H A Dbitmaps.c231 errcode_t ext2fs_compare_block_bitmap(ext2fs_block_bitmap bm1, argument
235 bm1, bm2));
238 errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1, argument
242 bm1, bm2));
H A Dgen_bitmap.c346 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
345 ext2fs_compare_generic_bitmap(errcode_t magic, errcode_t neq, ext2fs_generic_bitmap bm1, ext2fs_generic_bitmap bm2) argument
[all...]
H A Dgen_bitmap64.c581 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
580 ext2fs_compare_generic_bmap(errcode_t neq, ext2fs_generic_bitmap bm1, ext2fs_generic_bitmap bm2) argument
[all...]
/external/valgrind/main/drd/tests/
H A Dunit_bitmap.c99 int bm_equal_print_diffs(struct bitmap* bm1, struct bitmap* bm2) argument
103 equal = DRD_(bm_equal)(bm1, bm2);
111 if (DRD_(bm_has_1)(bm1, i, eLoad) != DRD_(bm_has_1)(bm2, i, eLoad)
112 || DRD_(bm_has_1)(bm1, i, eStore) != DRD_(bm_has_1)(bm2, i, eStore))
116 DRD_(bm_has_1)(bm1, i, eLoad) ? 'R' : ' ',
117 DRD_(bm_has_1)(bm1, i, eStore) ? 'W' : ' ',
173 struct bitmap* bm1; local
176 bm1 = DRD_(bm_new)();
178 DRD_(bm_access_load_1)(bm1, 7);
180 assert(! DRD_(bm_equal)(bm1, bm
196 struct bitmap* bm1; local
[all...]
/external/valgrind/main/drd/
H A Ddrd_bitmap.c190 bm2->bm1.bm0_r[k] = ~(UWord)0;
197 bm0_set(bm2->bm1.bm0_r, b0);
287 bm2->bm1.bm0_w[k] = ~(UWord)0;
294 bm0_set(bm2->bm1.bm0_w, b0);
356 const struct bitmap1* const p1 = &bm2->bm1;
390 const struct bitmap1* const p1 = &bm2->bm1;
443 const struct bitmap1* const p1 = &bm2->bm1;
498 const struct bitmap1* const p1 = &bm2->bm1;
550 p1 = &p2->bm1;
599 bm0_clear_range(p2->bm1
1012 bm_swap(struct bitmap* const bm1, struct bitmap* const bm2) argument
1225 const struct bitmap1* bm1; local
[all...]

Completed in 693 milliseconds