Home
last modified time | relevance | path

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

12345678910>>...23

/external/e2fsprogs/lib/ext2fs/
Dgen_bitmap.c36 char * bitmap; member
55 void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap, in ext2fs_warn_bitmap2() argument
59 if (bitmap->description) in ext2fs_warn_bitmap2()
60 com_err(0, bitmap->base_error_code+code, in ext2fs_warn_bitmap2()
61 "#%lu for %s", arg, bitmap->description); in ext2fs_warn_bitmap2()
63 com_err(0, bitmap->base_error_code + code, "#%lu", arg); in ext2fs_warn_bitmap2()
67 static errcode_t check_magic(ext2fs_generic_bitmap bitmap) in check_magic() argument
69 if (!bitmap || !((bitmap->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || in check_magic()
70 (bitmap->magic == EXT2_ET_MAGIC_INODE_BITMAP) || in check_magic()
71 (bitmap->magic == EXT2_ET_MAGIC_BLOCK_BITMAP))) in check_magic()
[all …]
Dbitops.h53 extern void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap,
65 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
66 extern int ext2fs_unmark_block_bitmap(ext2fs_block_bitmap bitmap,
68 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
70 extern int ext2fs_mark_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
71 extern int ext2fs_unmark_inode_bitmap(ext2fs_inode_bitmap bitmap,
73 extern int ext2fs_test_inode_bitmap(ext2fs_inode_bitmap bitmap, ext2_ino_t inode);
75 extern void ext2fs_fast_mark_block_bitmap(ext2fs_block_bitmap bitmap,
77 extern void ext2fs_fast_unmark_block_bitmap(ext2fs_block_bitmap bitmap,
79 extern int ext2fs_fast_test_block_bitmap(ext2fs_block_bitmap bitmap,
[all …]
Dgen_bitmap64.c70 static void warn_bitmap(ext2fs_generic_bitmap bitmap, in warn_bitmap() argument
74 if (bitmap->description) in warn_bitmap()
75 com_err(0, bitmap->base_error_code+code, in warn_bitmap()
76 "#%llu for %s", arg, bitmap->description); in warn_bitmap()
78 com_err(0, bitmap->base_error_code + code, "#%llu", arg); in warn_bitmap()
95 ext2fs_generic_bitmap bitmap; in ext2fs_alloc_generic_bmap() local
122 &bitmap); in ext2fs_alloc_generic_bmap()
127 if (gettimeofday(&bitmap->stats.created, in ext2fs_alloc_generic_bmap()
130 ext2fs_free_mem(&bitmap); in ext2fs_alloc_generic_bmap()
133 bitmap->stats.type = type; in ext2fs_alloc_generic_bmap()
[all …]
Dblkmap64_ba.c42 static errcode_t ba_alloc_private_data (ext2fs_generic_bitmap bitmap) in ba_alloc_private_data() argument
58 size = (size_t) (((bitmap->real_end - bitmap->start) / 8) + 1); in ba_alloc_private_data()
66 bitmap->private = (void *) bp; in ba_alloc_private_data()
71 ext2fs_generic_bitmap bitmap) in ba_new_bmap() argument
77 retval = ba_alloc_private_data (bitmap); in ba_new_bmap()
81 bp = (ext2fs_ba_private) bitmap->private; in ba_new_bmap()
82 size = (size_t) (((bitmap->real_end - bitmap->start) / 8) + 1); in ba_new_bmap()
88 static void ba_free_bmap(ext2fs_generic_bitmap bitmap) in ba_free_bmap() argument
90 ext2fs_ba_private bp = (ext2fs_ba_private) bitmap->private; in ba_free_bmap()
164 static int ba_mark_bmap(ext2fs_generic_bitmap 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/valgrind/drd/
Dpub_drd_bitmap.h53 struct bitmap;
69 struct bitmap struct
80 struct bitmap* DRD_(bm_new)(void); argument
81 void DRD_(bm_delete)(struct bitmap* const bm);
82 void DRD_(bm_init)(struct bitmap* const bm);
83 void DRD_(bm_cleanup)(struct bitmap* const bm);
84 void DRD_(bm_access_range)(struct bitmap* const bm,
87 void DRD_(bm_access_range_load)(struct bitmap* const bm,
89 void DRD_(bm_access_load_1)(struct bitmap* const bm, const Addr a1);
90 void DRD_(bm_access_load_2)(struct bitmap* const bm, const Addr a1);
[all …]
/external/e2fsprogs/tests/m_meta_bg/
Dexpect.159 Block bitmap at 3 (+2), Inode bitmap at 4 (+3)
66 Block bitmap at 1027 (+2), Inode bitmap at 1028 (+3)
72 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1)
79 Block bitmap at 3074 (+1), Inode bitmap at 3075 (+2)
85 Block bitmap at 4097 (+0), Inode bitmap at 4098 (+1)
92 Block bitmap at 5122 (+1), Inode bitmap at 5123 (+2)
98 Block bitmap at 6145 (+0), Inode bitmap at 6146 (+1)
105 Block bitmap at 7170 (+1), Inode bitmap at 7171 (+2)
111 Block bitmap at 8193 (+0), Inode bitmap at 8194 (+1)
118 Block bitmap at 9218 (+1), Inode bitmap at 9219 (+2)
[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/e2fsprogs/tests/m_desc_size_128/
Dexpect.163 Block bitmap at 274 (+273), Inode bitmap at 275 (+274)
71 Block bitmap at 1298 (+273), Inode bitmap at 1299 (+274)
77 Block bitmap at 2049 (+0), Inode bitmap at 2050 (+1)
85 Block bitmap at 3346 (+273), Inode bitmap at 3347 (+274)
91 Block bitmap at 4097 (+0), Inode bitmap at 4098 (+1)
99 Block bitmap at 5394 (+273), Inode bitmap at 5395 (+274)
105 Block bitmap at 6145 (+0), Inode bitmap at 6146 (+1)
113 Block bitmap at 7442 (+273), Inode bitmap at 7443 (+274)
119 Block bitmap at 8193 (+0), Inode bitmap at 8194 (+1)
127 Block bitmap at 9490 (+273), Inode bitmap at 9491 (+274)
[all …]
/external/e2fsprogs/tests/m_raid_opt/
Dexpect.163 Block bitmap at 294 (+293), Inode bitmap at 295 (+294)
71 Block bitmap at 1331 (+306), Inode bitmap at 1332 (+307)
77 Block bitmap at 2107 (+58), Inode bitmap at 2108 (+59)
85 Block bitmap at 3405 (+332), Inode bitmap at 3406 (+333)
91 Block bitmap at 4181 (+84), Inode bitmap at 4182 (+85)
99 Block bitmap at 5479 (+358), Inode bitmap at 5480 (+359)
105 Block bitmap at 6255 (+110), Inode bitmap at 6256 (+111)
113 Block bitmap at 7553 (+384), Inode bitmap at 7554 (+385)
119 Block bitmap at 8329 (+136), Inode bitmap at 8330 (+137)
127 Block bitmap at 9627 (+410), Inode bitmap at 9628 (+411)
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DBitmapFactoryTest.java22 …Bitmap bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an… in decodeResource_shouldSetDescription() local
23 assertEquals("Bitmap for resource:drawable/an_image", shadowOf(bitmap).getDescription()); in decodeResource_shouldSetDescription()
24 assertEquals(100, bitmap.getWidth()); in decodeResource_shouldSetDescription()
25 assertEquals(100, bitmap.getHeight()); in decodeResource_shouldSetDescription()
31 …Bitmap bitmap = BitmapFactory.decodeResource(Robolectric.application.getResources(), R.drawable.an… in decodeResourceWithOpts_shouldSetDescription() local
32 assertEquals("Bitmap for resource:drawable/an_image", shadowOf(bitmap).getDescription()); in decodeResourceWithOpts_shouldSetDescription()
33 assertEquals(100, bitmap.getWidth()); in decodeResourceWithOpts_shouldSetDescription()
34 assertEquals(100, bitmap.getHeight()); in decodeResourceWithOpts_shouldSetDescription()
41 Bitmap bitmap = BitmapFactory.decodeFile("/some/file.jpg"); in decodeFile_shouldSetDescription() local
42 assertEquals("Bitmap for file:/some/file.jpg", shadowOf(bitmap).getDescription()); in decodeFile_shouldSetDescription()
[all …]
/external/e2fsprogs/tests/m_bigjournal/
Dexpect.153 Block bitmap at 673 (+673), Inode bitmap at 1185 (+1185)
61 Block bitmap at 674 (bg #0 + 674), Inode bitmap at 1186 (bg #0 + 1186)
67 Block bitmap at 675 (bg #0 + 675), Inode bitmap at 1187 (bg #0 + 1187)
75 Block bitmap at 676 (bg #0 + 676), Inode bitmap at 1188 (bg #0 + 1188)
81 Block bitmap at 677 (bg #0 + 677), Inode bitmap at 1189 (bg #0 + 1189)
89 Block bitmap at 678 (bg #0 + 678), Inode bitmap at 1190 (bg #0 + 1190)
95 Block bitmap at 679 (bg #0 + 679), Inode bitmap at 1191 (bg #0 + 1191)
103 Block bitmap at 680 (bg #0 + 680), Inode bitmap at 1192 (bg #0 + 1192)
109 Block bitmap at 681 (bg #0 + 681), Inode bitmap at 1193 (bg #0 + 1193)
117 Block bitmap at 682 (bg #0 + 682), Inode bitmap at 1194 (bg #0 + 1194)
[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/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dimage_util_bitmap_impl.py10 def Channels(bitmap): argument
11 return bitmap.bpp
13 def Width(bitmap): argument
14 return bitmap.width
16 def Height(bitmap): argument
17 return bitmap.height
19 def Pixels(bitmap): argument
20 return bitmap.pixels
22 def GetPixelColor(bitmap, x, y): argument
23 return bitmap.GetPixelColor(x, y)
[all …]
/external/skia/src/core/
DSkImageCacherator.cpp77 static bool check_output_bitmap(const SkBitmap& bitmap, uint32_t expectedID) { in check_output_bitmap() argument
78 SkASSERT(bitmap.getGenerationID() == expectedID); in check_output_bitmap()
79 SkASSERT(bitmap.isImmutable()); in check_output_bitmap()
80 SkASSERT(bitmap.getPixels()); in check_output_bitmap()
87 bool SkImageCacherator::generateBitmap(SkBitmap* bitmap) { in generateBitmap() argument
95 return generator->tryGenerateBitmap(bitmap, fInfo, allocator); in generateBitmap()
104 if (!bitmap->tryAllocPixels(fInfo, nullptr, full.getColorTable())) { in generateBitmap()
107 return full.readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), in generateBitmap()
125 bool SkImageCacherator::lockAsBitmapOnlyIfAlreadyCached(SkBitmap* bitmap) { in lockAsBitmapOnlyIfAlreadyCached() argument
126 return SkBitmapCache::Find(fUniqueID, bitmap) && check_output_bitmap(*bitmap, fUniqueID); in lockAsBitmapOnlyIfAlreadyCached()
[all …]
/external/skia/gm/
Dextractbitmap.cpp17 static void create_bitmap(SkBitmap* bitmap) { in create_bitmap() argument
20 bitmap->allocN32Pixels(W, H); in create_bitmap()
22 SkCanvas canvas(*bitmap); in create_bitmap()
44 SkBitmap bitmap; in onDraw() local
45 create_bitmap(&bitmap); in onDraw()
46 int x = bitmap.width() / 2; in onDraw()
47 int y = bitmap.height() / 2; in onDraw()
51 canvas->drawBitmap(bitmap, 0, 0); in onDraw()
58 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y)); in onDraw()
61 bitmap.extractSubset(&subset, SkIRect::MakeWH(x, y)); in onDraw()
[all …]
Dbitmappremul.cpp25 static void init_bitmap(SkColorType ct, SkBitmap* bitmap) { in init_bitmap() argument
26 bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct, in init_bitmap()
28 bitmap->eraseColor(SK_ColorWHITE); in init_bitmap()
32 SkBitmap bitmap; in make_argb8888_gradient() local
33 init_bitmap(kN32_SkColorType, &bitmap); in make_argb8888_gradient()
36 uint32_t* dst = bitmap.getAddr32(0, y); in make_argb8888_gradient()
45 return bitmap; in make_argb8888_gradient()
49 SkBitmap bitmap; in make_argb4444_gradient() local
50 init_bitmap(kARGB_4444_SkColorType, &bitmap); in make_argb4444_gradient()
53 uint16_t* dst = bitmap.getAddr16(0, y); in make_argb4444_gradient()
[all …]
/external/e2fsprogs/tests/m_quota/
Dexpect.168 Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
76 Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
82 Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
90 Block bitmap at 24835 (+258), Inode bitmap at 24836 (+259)
96 Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1)
104 Block bitmap at 41219 (+258), Inode bitmap at 41220 (+259)
110 Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1)
118 Block bitmap at 57603 (+258), Inode bitmap at 57604 (+259)
124 Block bitmap at 65537 (+0), Inode bitmap at 65538 (+1)
132 Block bitmap at 73987 (+258), Inode bitmap at 73988 (+259)
[all …]
/external/jemalloc/include/jemalloc/internal/
Dbitmap.h118 void bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo);
126 bool bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo);
127 bool bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit);
128 void bitmap_set(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit);
129 size_t bitmap_sfu(bitmap_t *bitmap, const bitmap_info_t *binfo);
130 void bitmap_unset(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit);
135 bitmap_full(bitmap_t *bitmap, const bitmap_info_t *binfo) in bitmap_full() argument
139 bitmap_t rg = bitmap[rgoff]; in bitmap_full()
146 if (bitmap[i] != 0) in bitmap_full()
154 bitmap_get(bitmap_t *bitmap, const bitmap_info_t *binfo, size_t bit) in bitmap_get() argument
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DBitmapResource.java1 package com.bumptech.glide.load.resource.bitmap;
13 private final Bitmap bitmap; field in BitmapResource
23 public static BitmapResource obtain(Bitmap bitmap, BitmapPool bitmapPool) { in obtain() argument
24 if (bitmap == null) { in obtain()
27 return new BitmapResource(bitmap, bitmapPool); in obtain()
31 public BitmapResource(Bitmap bitmap, BitmapPool bitmapPool) { in BitmapResource() argument
32 if (bitmap == null) { in BitmapResource()
38 this.bitmap = bitmap; in BitmapResource()
44 return bitmap; in get()
49 return Util.getBitmapByteSize(bitmap); in getSize()
[all …]
/external/freetype/src/base/
Dftbitmap.c151 FT_Bitmap* bitmap, in ft_bitmap_assure_buffer() argument
163 width = bitmap->width; in ft_bitmap_assure_buffer()
164 height = bitmap->rows; in ft_bitmap_assure_buffer()
165 pitch = bitmap->pitch; in ft_bitmap_assure_buffer()
169 switch ( bitmap->pixel_mode ) in ft_bitmap_assure_buffer()
203 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ); in ft_bitmap_assure_buffer()
204 FT_Byte* end = bitmap->buffer + pitch; in ft_bitmap_assure_buffer()
229 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
234 if ( bitmap->pitch > 0 ) in ft_bitmap_assure_buffer()
239 for ( i = 0; i < bitmap->rows; i++ ) in ft_bitmap_assure_buffer()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftbitmap.c151 FT_Bitmap* bitmap, in ft_bitmap_assure_buffer() argument
163 width = bitmap->width; in ft_bitmap_assure_buffer()
164 height = bitmap->rows; in ft_bitmap_assure_buffer()
165 pitch = bitmap->pitch; in ft_bitmap_assure_buffer()
169 switch ( bitmap->pixel_mode ) in ft_bitmap_assure_buffer()
203 FT_Byte* line = bitmap->buffer + ( bit_last >> 3 ); in ft_bitmap_assure_buffer()
204 FT_Byte* end = bitmap->buffer + pitch; in ft_bitmap_assure_buffer()
229 if ( FT_QALLOC_MULT( buffer, new_pitch, bitmap->rows + ypixels ) ) in ft_bitmap_assure_buffer()
234 if ( bitmap->pitch > 0 ) in ft_bitmap_assure_buffer()
239 for ( i = 0; i < bitmap->rows; i++ ) in ft_bitmap_assure_buffer()
[all …]
/external/e2fsprogs/tests/m_uninit/
Dexpect.162 Block bitmap at 259 (+258), Inode bitmap at 260 (+259)
70 Block bitmap at 8451 (+258), Inode bitmap at 8452 (+259)
76 Block bitmap at 16385 (+0), Inode bitmap at 16386 (+1)
84 Block bitmap at 24835 (+258), Inode bitmap at 24836 (+259)
90 Block bitmap at 32769 (+0), Inode bitmap at 32770 (+1)
98 Block bitmap at 41219 (+258), Inode bitmap at 41220 (+259)
104 Block bitmap at 49153 (+0), Inode bitmap at 49154 (+1)
112 Block bitmap at 57603 (+258), Inode bitmap at 57604 (+259)
118 Block bitmap at 65537 (+0), Inode bitmap at 65538 (+1)
126 Block bitmap at 73987 (+258), Inode bitmap at 73988 (+259)
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java64 public synchronized boolean put(Bitmap bitmap) { in put() argument
65 if (!bitmap.isMutable() || strategy.getSize(bitmap) > maxSize) { in put()
67 Log.v(TAG, "Reject bitmap from pool=" + strategy.logBitmap(bitmap) + " is mutable=" in put()
68 + bitmap.isMutable()); in put()
73 final int size = strategy.getSize(bitmap); in put()
74 strategy.put(bitmap); in put()
75 tracker.add(bitmap); in put()
81 Log.v(TAG, "Put bitmap in pool=" + strategy.logBitmap(bitmap)); in put()
180 void add(Bitmap bitmap); in add() argument
181 void remove(Bitmap bitmap); in remove() argument
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBitmapDrawable.java20 private Bitmap bitmap; field in ShadowBitmapDrawable
29 public void __constructor__(Bitmap bitmap) { in __constructor__() argument
30 this.bitmap = bitmap; in __constructor__()
33 public void __constructor__(Resources resources, Bitmap bitmap) { in __constructor__() argument
34 this.bitmap = bitmap; in __constructor__()
56 return bitmap; in getBitmap()
69 return shadowOf(bitmap).getLoadedFromResourceId(); in getLoadedFromResourceId()
124 if (bitmap != null ? !bitmap.equals(that.bitmap) : that.bitmap != null) return false; in equals()
132 return bitmap != null ? bitmap.hashCode() : 0; in hashCode()
139 "bitmap=" + bitmap + in toString()

12345678910>>...23