Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 25 of 1357) sorted by relevance

12345678910>>...55

/external/e2fsprogs/lib/ext2fs/
Dgen_bitmap.c37 char * bitmap; member
61 ext2fs_generic_bitmap_32 bitmap = (ext2fs_generic_bitmap_32) gen_bitmap; in ext2fs_warn_bitmap2() local
64 if (bitmap->description) in ext2fs_warn_bitmap2()
65 com_err(0, bitmap->base_error_code+code, in ext2fs_warn_bitmap2()
66 "#%lu for %s", arg, bitmap->description); in ext2fs_warn_bitmap2()
68 com_err(0, bitmap->base_error_code + code, "#%lu", arg); in ext2fs_warn_bitmap2()
72 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) in check_magic() argument
74 if (!bitmap || !((bitmap->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || in check_magic()
75 (bitmap->magic == EXT2_ET_MAGIC_INODE_BITMAP) || in check_magic()
76 (bitmap->magic == EXT2_ET_MAGIC_BLOCK_BITMAP))) in check_magic()
[all …]
Dbitops.h55 extern void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap,
67 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
68 extern int ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap,
70 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
72 extern int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
73 extern int ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap,
75 extern int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
77 extern void ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap,
79 extern void ext2fs_fast_unmark_block_bitmap(ext2fs_block_bitmap bitmap,
81 extern int ext2fs_fast_test_block_bitmap(ext2fs_block_bitmap bitmap,
[all …]
Dgen_bitmap64.c71 static void warn_bitmap(ext2fs_generic_bitmap_64 bitmap, in warn_bitmap() argument
75 if (bitmap->description) in warn_bitmap()
76 com_err(0, bitmap->base_error_code+code, in warn_bitmap()
77 "#%llu for %s", arg, bitmap->description); in warn_bitmap()
79 com_err(0, bitmap->base_error_code + code, "#%llu", arg); in warn_bitmap()
96 ext2fs_generic_bitmap_64 bitmap; in ext2fs_alloc_generic_bmap() local
123 &bitmap); in ext2fs_alloc_generic_bmap()
128 if (gettimeofday(&bitmap->stats.created, in ext2fs_alloc_generic_bmap()
131 ext2fs_free_mem(&bitmap); in ext2fs_alloc_generic_bmap()
134 bitmap->stats.type = type; in ext2fs_alloc_generic_bmap()
[all …]
Dblkmap64_ba.c43 static errcode_t ba_alloc_private_data (ext2fs_generic_bitmap_64 bitmap) in ba_alloc_private_data() argument
59 size = (size_t) (((bitmap->real_end - bitmap->start) / 8) + 1); in ba_alloc_private_data()
67 bitmap->private = (void *) bp; in ba_alloc_private_data()
72 ext2fs_generic_bitmap_64 bitmap) in ba_new_bmap() argument
78 retval = ba_alloc_private_data (bitmap); in ba_new_bmap()
82 bp = (ext2fs_ba_private) bitmap->private; in ba_new_bmap()
83 size = (size_t) (((bitmap->real_end - bitmap->start) / 8) + 1); in ba_new_bmap()
89 static void ba_free_bmap(ext2fs_generic_bitmap_64 bitmap) in ba_free_bmap() argument
91 ext2fs_ba_private bp = (ext2fs_ba_private) bitmap->private; in ba_free_bmap()
165 static int ba_mark_bmap(ext2fs_generic_bitmap_64 bitmap, __u64 arg) in ba_mark_bmap() argument
[all …]
/external/e2fsprogs/tests/r_move_itable/
Dexpect50 Block bitmap at 130 (+129), Inode bitmap at 131 (+130)
58 Block bitmap at 386 (+129), Inode bitmap at 387 (+130)
64 Block bitmap at 513 (+0), Inode bitmap at 514 (+1)
72 Block bitmap at 898 (+129), Inode bitmap at 899 (+130)
78 Block bitmap at 1025 (+0), Inode bitmap at 1026 (+1)
86 Block bitmap at 1410 (+129), Inode bitmap at 1411 (+130)
92 Block bitmap at 1537 (+0), Inode bitmap at 1538 (+1)
100 Block bitmap at 1922 (+129), Inode bitmap at 1923 (+130)
106 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1)
114 Block bitmap at 2434 (+129), Inode bitmap at 2435 (+130)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CallSiteSplitting/
Dcallsite-split.ll7 %struct.bitmap = type { i32, %struct.bitmap* }
11 ;CHECK: call void @callee(%struct.bitmap* null, %struct.bitmap* null, %struct.bitmap* %b_elt, i1 fa…
15 ;CHECK: call void @dummy2(%struct.bitmap* %a_elt)
17 define void @caller(i1 %c, %struct.bitmap* %a_elt, %struct.bitmap* %b_elt) {
22 %tobool1 = icmp eq %struct.bitmap* %a_elt, null
26 %cmp = icmp ne %struct.bitmap* %b_elt, null
31 call void @callee(%struct.bitmap* %a_elt, %struct.bitmap* %a_elt, %struct.bitmap* %b_elt, i1 %p)
38 define void @callee(%struct.bitmap* %dst_elt, %struct.bitmap* %a_elt, %struct.bitmap* %b_elt, i1 %c…
40 %tobool = icmp ne %struct.bitmap* %a_elt, null
41 %tobool1 = icmp ne %struct.bitmap* %b_elt, null
[all …]
/external/e2fsprogs/tests/m_meta_bg/
Dexpect.149 Block bitmap at 3 (+2), Inode bitmap at 4 (+3)
56 Block bitmap at 1027 (+2), Inode bitmap at 1028 (+3)
62 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1)
69 Block bitmap at 3074 (+1), Inode bitmap at 3075 (+2)
75 Block bitmap at 4097 (+0), Inode bitmap at 4098 (+1)
82 Block bitmap at 5122 (+1), Inode bitmap at 5123 (+2)
88 Block bitmap at 6145 (+0), Inode bitmap at 6146 (+1)
95 Block bitmap at 7170 (+1), Inode bitmap at 7171 (+2)
101 Block bitmap at 8193 (+0), Inode bitmap at 8194 (+1)
108 Block bitmap at 9218 (+1), Inode bitmap at 9219 (+2)
[all …]
/external/e2fsprogs/tests/m_raid_opt/
Dexpect.152 Block bitmap at 294 (+293), Inode bitmap at 295 (+294)
60 Block bitmap at 1331 (+306), Inode bitmap at 1332 (+307)
66 Block bitmap at 2107 (+58), Inode bitmap at 2108 (+59)
74 Block bitmap at 3405 (+332), Inode bitmap at 3406 (+333)
80 Block bitmap at 4181 (+84), Inode bitmap at 4182 (+85)
88 Block bitmap at 5479 (+358), Inode bitmap at 5480 (+359)
94 Block bitmap at 6255 (+110), Inode bitmap at 6256 (+111)
102 Block bitmap at 7553 (+384), Inode bitmap at 7554 (+385)
108 Block bitmap at 8329 (+136), Inode bitmap at 8330 (+137)
116 Block bitmap at 9627 (+410), Inode bitmap at 9628 (+411)
[all …]
/external/e2fsprogs/tests/m_desc_size_128/
Dexpect.152 Block bitmap at 274 (+273), Inode bitmap at 275 (+274)
60 Block bitmap at 1298 (+273), Inode bitmap at 1299 (+274)
66 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1)
74 Block bitmap at 3346 (+273), Inode bitmap at 3347 (+274)
80 Block bitmap at 4097 (+0), Inode bitmap at 4098 (+1)
88 Block bitmap at 5394 (+273), Inode bitmap at 5395 (+274)
94 Block bitmap at 6145 (+0), Inode bitmap at 6146 (+1)
102 Block bitmap at 7442 (+273), Inode bitmap at 7443 (+274)
108 Block bitmap at 8193 (+0), Inode bitmap at 8194 (+1)
116 Block bitmap at 9490 (+273), Inode bitmap at 9491 (+274)
[all …]
/external/e2fsprogs/tests/r_resize_inode/
Dexpect48 Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
56 Block bitmap at 1283 (+258), Inode bitmap at 1284 (+259)
62 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1)
70 Block bitmap at 3331 (+258), Inode bitmap at 3332 (+259)
76 Block bitmap at 4097 (+0), Inode bitmap at 4098 (+1)
84 Block bitmap at 5379 (+258), Inode bitmap at 5380 (+259)
90 Block bitmap at 6145 (+0), Inode bitmap at 6146 (+1)
98 Block bitmap at 7427 (+258), Inode bitmap at 7428 (+259)
104 Block bitmap at 8193 (+0), Inode bitmap at 8194 (+1)
112 Block bitmap at 9475 (+258), Inode bitmap at 9476 (+259)
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapFactoryTest.java37 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescriptionAndCreatedFrom() local
38 ShadowBitmap shadowBitmap = shadowOf(bitmap); in decodeResource_shouldSetDescriptionAndCreatedFrom()
41 assertEquals(64, bitmap.getWidth()); in decodeResource_shouldSetDescriptionAndCreatedFrom()
42 assertEquals(53, bitmap.getHeight()); in decodeResource_shouldSetDescriptionAndCreatedFrom()
47 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDefaultBitmapConfig() local
48 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in decodeResource_shouldSetDefaultBitmapConfig()
49 assertThat(bitmap.getRowBytes()).isNotEqualTo(0); in decodeResource_shouldSetDefaultBitmapConfig()
61 Bitmap bitmap = in decodeResource_shouldPassABitmapConfig() local
63 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ALPHA_8); in decodeResource_shouldPassABitmapConfig()
68 Bitmap bitmap = BitmapFactory.decodeFile("/some/file.jpg"); in decodeFile_shouldSetDescriptionAndCreatedFrom() local
[all …]
DShadowBitmapTest.java44 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap() local
45 assertThat(bitmap.isRecycled()).isFalse(); in shouldCreateActiveBitmap()
46 assertThat(bitmap.getPixel(0, 0)).isEqualTo(0); in shouldCreateActiveBitmap()
47 assertThat(bitmap.getWidth()).isEqualTo(100); in shouldCreateActiveBitmap()
48 assertThat(bitmap.getHeight()).isEqualTo(200); in shouldCreateActiveBitmap()
49 assertThat(bitmap.getConfig()).isEqualTo(Bitmap.Config.ARGB_8888); in shouldCreateActiveBitmap()
54 Bitmap bitmap = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); in hasAlpha() local
55 assertThat(bitmap.hasAlpha()).isFalse(); in hasAlpha()
56 bitmap.setHasAlpha(true); in hasAlpha()
57 assertThat(bitmap.hasAlpha()).isTrue(); in hasAlpha()
[all …]
/external/jemalloc_new/test/unit/
Dbitmap.c172 bitmap_t *bitmap = (bitmap_t *)malloc(bitmap_size(binfo)); in test_bitmap_init_body() local
173 assert_ptr_not_null(bitmap, "Unexpected malloc() failure"); in test_bitmap_init_body()
175 bitmap_init(bitmap, binfo, false); in test_bitmap_init_body()
177 assert_false(bitmap_get(bitmap, binfo, i), in test_bitmap_init_body()
181 bitmap_init(bitmap, binfo, true); in test_bitmap_init_body()
183 assert_true(bitmap_get(bitmap, binfo, i), "Bit should be set"); in test_bitmap_init_body()
186 free(bitmap); in test_bitmap_init_body()
209 bitmap_t *bitmap = (bitmap_t *)malloc(bitmap_size(binfo)); in test_bitmap_set_body() local
210 assert_ptr_not_null(bitmap, "Unexpected malloc() failure"); in test_bitmap_set_body()
211 bitmap_init(bitmap, binfo, false); in test_bitmap_set_body()
[all …]
/external/e2fsprogs/tests/m_bigjournal/
Dexpect.153 Block bitmap at 673 (+673), Inode bitmap at 757 (+757)
61 Block bitmap at 674 (bg #0 + 674), Inode bitmap at 758 (bg #0 + 758)
67 Block bitmap at 675 (bg #0 + 675), Inode bitmap at 759 (bg #0 + 759)
75 Block bitmap at 676 (bg #0 + 676), Inode bitmap at 760 (bg #0 + 760)
81 Block bitmap at 677 (bg #0 + 677), Inode bitmap at 761 (bg #0 + 761)
89 Block bitmap at 678 (bg #0 + 678), Inode bitmap at 762 (bg #0 + 762)
95 Block bitmap at 679 (bg #0 + 679), Inode bitmap at 763 (bg #0 + 763)
103 Block bitmap at 680 (bg #0 + 680), Inode bitmap at 764 (bg #0 + 764)
109 Block bitmap at 681 (bg #0 + 681), Inode bitmap at 765 (bg #0 + 765)
117 Block bitmap at 682 (bg #0 + 682), Inode bitmap at 766 (bg #0 + 766)
[all …]
/external/jemalloc/test/unit/
Dbitmap.c30 bitmap_t *bitmap = (bitmap_t *)malloc( in TEST_BEGIN() local
32 bitmap_init(bitmap, &binfo); in TEST_BEGIN()
35 assert_false(bitmap_get(bitmap, &binfo, j), in TEST_BEGIN()
38 free(bitmap); in TEST_BEGIN()
53 bitmap_t *bitmap = (bitmap_t *)malloc( in TEST_BEGIN() local
55 bitmap_init(bitmap, &binfo); in TEST_BEGIN()
58 bitmap_set(bitmap, &binfo, j); in TEST_BEGIN()
59 assert_true(bitmap_full(bitmap, &binfo), in TEST_BEGIN()
61 free(bitmap); in TEST_BEGIN()
76 bitmap_t *bitmap = (bitmap_t *)malloc( in TEST_BEGIN() local
[all …]
/external/skia/gm/
Doverdrawcolorfilter.cpp12 static inline void set_bitmap(SkBitmap* bitmap, uint8_t alpha) { in set_bitmap() argument
13 for (int y = 0; y < bitmap->height(); y++) { in set_bitmap()
14 for (int x = 0; x < bitmap->width(); x++) { in set_bitmap()
15 uint8_t* addr = bitmap->getAddr8(x, y); in set_bitmap()
20 bitmap->notifyPixelsChanged(); in set_bitmap()
46 SkBitmap bitmap; in onDraw() local
47 bitmap.allocPixels(info); in onDraw()
48 set_bitmap(&bitmap, 0); in onDraw()
49 canvas->drawBitmap(bitmap, 0, 0, &paint); in onDraw()
50 set_bitmap(&bitmap, 1); in onDraw()
[all …]
Dbitmappremul.cpp23 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap() argument
24 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, in init_bitmap()
26 bitmap->eraseColor(SK_ColorWHITE); in init_bitmap()
30 SkBitmap bitmap; in make_argb8888_gradient() local
31 init_bitmap(kN32_SkColorType, &bitmap); in make_argb8888_gradient()
33 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_gradient()
38 return bitmap; in make_argb8888_gradient()
42 SkBitmap bitmap; in make_argb4444_gradient() local
43 init_bitmap(kARGB_4444_SkColorType, &bitmap); in make_argb4444_gradient()
47 SkCanvas{ bitmap }.drawBitmap(make_argb8888_gradient(), 0, 0, &paint); in make_argb4444_gradient()
[all …]
/external/skqp/gm/
Doverdrawcolorfilter.cpp12 static inline void set_bitmap(SkBitmap* bitmap, uint8_t alpha) { in set_bitmap() argument
13 for (int y = 0; y < bitmap->height(); y++) { in set_bitmap()
14 for (int x = 0; x < bitmap->width(); x++) { in set_bitmap()
15 uint8_t* addr = bitmap->getAddr8(x, y); in set_bitmap()
20 bitmap->notifyPixelsChanged(); in set_bitmap()
46 SkBitmap bitmap; in onDraw() local
47 bitmap.allocPixels(info); in onDraw()
48 set_bitmap(&bitmap, 0); in onDraw()
49 canvas->drawBitmap(bitmap, 0, 0, &paint); in onDraw()
50 set_bitmap(&bitmap, 1); in onDraw()
[all …]
Dbitmappremul.cpp23 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap() argument
24 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, in init_bitmap()
26 bitmap->eraseColor(SK_ColorWHITE); in init_bitmap()
30 SkBitmap bitmap; in make_argb8888_gradient() local
31 init_bitmap(kN32_SkColorType, &bitmap); in make_argb8888_gradient()
33 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_gradient()
38 return bitmap; in make_argb8888_gradient()
42 SkBitmap bitmap; in make_argb4444_gradient() local
43 init_bitmap(kARGB_4444_SkColorType, &bitmap); in make_argb4444_gradient()
47 SkCanvas{ bitmap }.drawBitmap(make_argb8888_gradient(), 0, 0, &paint); in make_argb4444_gradient()
[all …]
/external/ImageMagick/MagickCore/
Ddeprecate.c169 bitmap; in CropImageToHBITMAP() local
231 bitmap.bmType = 0; in CropImageToHBITMAP()
232 bitmap.bmWidth = (LONG) page.width; in CropImageToHBITMAP()
233 bitmap.bmHeight = (LONG) page.height; in CropImageToHBITMAP()
234 bitmap.bmWidthBytes = bitmap.bmWidth * 4; in CropImageToHBITMAP()
235 bitmap.bmPlanes = 1; in CropImageToHBITMAP()
236 bitmap.bmBitsPixel = 32; in CropImageToHBITMAP()
237 bitmap.bmBits = NULL; in CropImageToHBITMAP()
240 page.height*bitmap.bmBitsPixel); in CropImageToHBITMAP()
244 if ( bitmap.bmBits == NULL ) in CropImageToHBITMAP()
[all …]
/external/skia/docs/
DSkBitmap_Reference.bmh53 #Method virtual bool allocPixelRef(SkBitmap* bitmap) = 0
81 #Method bool allocPixelRef(SkBitmap* bitmap) override
86 SkBitmap bitmap;
87 bitmap.setInfo(SkImageInfo::MakeN32(16, 16, kPremul_SkAlphaType));
88 SkDebugf("pixel address = %p\n", bitmap.getPixels());
90 if (!stdalloc.allocPixelRef(&bitmap)) {
93 SkDebugf("pixel address = %p\n", bitmap.getPixels());
120 SkBitmap bitmap;
122 SkDebugf("width: %2d height: %2d", bitmap.width(), bitmap.height());
123 SkDebugf(" color: k%s_SkColorType", colors[bitmap.colorType()]);
[all …]
/external/skqp/docs/
DSkBitmap_Reference.bmh53 #Method virtual bool allocPixelRef(SkBitmap* bitmap) = 0
81 #Method bool allocPixelRef(SkBitmap* bitmap) override
86 SkBitmap bitmap;
87 bitmap.setInfo(SkImageInfo::MakeN32(16, 16, kPremul_SkAlphaType));
88 SkDebugf("pixel address = %p\n", bitmap.getPixels());
90 if (!stdalloc.allocPixelRef(&bitmap)) {
93 SkDebugf("pixel address = %p\n", bitmap.getPixels());
120 SkBitmap bitmap;
122 SkDebugf("width: %2d height: %2d", bitmap.width(), bitmap.height());
123 SkDebugf(" color: k%s_SkColorType", colors[bitmap.colorType()]);
[all …]
/external/tensorflow/tensorflow/core/lib/core/
Dbitmap_test.cc29 static void MakeRandomBitmap(random::SimplePhilox* rnd, Bitmap* bitmap) { in MakeRandomBitmap() argument
31 bitmap->Reset(n); in MakeRandomBitmap()
33 if (rnd->OneIn(2)) bitmap->set(i); in MakeRandomBitmap()
62 Bitmap bitmap(n); in TEST() local
68 bitmap.set(i); in TEST()
76 bitmap.set(i); in TEST()
85 pos = bitmap.FirstUnset(pos); in TEST()
87 ASSERT_FALSE(bitmap.get(pos)) << pos << " " << bitmap.ToString(); in TEST()
91 EXPECT_EQ(seen, n - one_count) << " " << bitmap.ToString(); in TEST()
101 Bitmap bitmap; in TEST() local
[all …]
/external/e2fsprogs/tests/m_quota/
Dexpect.156 Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
64 Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
70 Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
78 Block bitmap at 24835 (+258), Inode bitmap at 24836 (+259)
84 Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1)
92 Block bitmap at 41219 (+258), Inode bitmap at 41220 (+259)
98 Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1)
106 Block bitmap at 57603 (+258), Inode bitmap at 57604 (+259)
112 Block bitmap at 65537 (+0), Inode bitmap at 65538 (+1)
120 Block bitmap at 73987 (+258), Inode bitmap at 73988 (+259)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-rc/Inputs/
Dmemoryflags.rc19 19 BITMAP PRELOAD "bitmap.bmp"
20 20 BITMAP LOADONCALL "bitmap.bmp"
21 21 BITMAP FIXED "bitmap.bmp"
22 22 BITMAP MOVEABLE "bitmap.bmp"
23 23 BITMAP DISCARDABLE "bitmap.bmp"
24 24 BITMAP PURE "bitmap.bmp"
25 25 BITMAP IMPURE "bitmap.bmp"
26 26 BITMAP SHARED "bitmap.bmp"
27 27 BITMAP NONSHARED "bitmap.bmp"
28 28 BITMAP FIXED IMPURE "bitmap.bmp"
[all …]

12345678910>>...55