Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 576) sorted by relevance

12345678910>>...24

/external/e2fsprogs/ext2ed/
Dext2.descriptors60 __u32 bg_block_bitmap; /* Blocks bitmap block */
61 __u32 bg_inode_bitmap; /* Inodes bitmap block */
62 __u32 bg_inode_table; /* Inodes table block */
116 * Structure of the super block
146 __u16 s_block_group_nr; /* block group # of this superblock */
170 __u32 s_reserved[0]; /* Padding to the end of the block */
415 __u32 block[0];
417 __u32 block[1];
419 __u32 block[2];
421 __u32 block[3];
[all …]
/external/skia/src/core/
DSkChunkAlloc.cpp31 Block* block = this; in freeChain() local
32 while (block) { in freeChain()
33 Block* next = block->fNext; in freeChain()
34 sk_free(block); in freeChain()
35 block = next; in freeChain()
40 Block* block = this; in tail() local
41 if (block) { in tail()
43 Block* next = block->fNext; in tail()
47 block = next; in tail()
50 return block; in tail()
[all …]
DSkWriter32.cpp32 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size); in Create() local
33 block->fNext = NULL; in Create()
34 block->fSize = size; in Create()
35 block->fAllocated = 0; in Create()
36 return block; in Create()
49 Block* block = fHead; in reset() local
50 while (block) in reset()
52 Block* next = block->fNext; in reset()
53 sk_free(block); in reset()
54 block = next; in reset()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/
DISO9796d1Encoding.java145 byte[] block = new byte[(bitSize + 7) / 8]; in encodeBlock()
155 block, block.length - t, t - i); in encodeBlock()
159 System.arraycopy(in, inOff, block, block.length - (i + z), z); in encodeBlock()
163 for (int i = block.length - 2 * t; i != block.length; i += 2) in encodeBlock()
165 byte val = block[block.length - t + i / 2]; in encodeBlock()
167 block[i] = (byte)((shadows[(val & 0xff) >>> 4] << 4) in encodeBlock()
169 block[i + 1] = val; in encodeBlock()
172 block[block.length - 2 * z] ^= r; in encodeBlock()
173 block[block.length - 1] = (byte)((block[block.length - 1] << 4) | 0x06); in encodeBlock()
180 block[0] &= 0xff >>> maxBit; in encodeBlock()
[all …]
DOAEPEncoding.java141 byte[] block = new byte[getInputBlockSize() + 1 + 2 * defHash.length]; in encodeBlock()
146 System.arraycopy(in, inOff, block, block.length - inLen, inLen); in encodeBlock()
151 block[block.length - inLen - 1] = 0x01; in encodeBlock()
160 System.arraycopy(defHash, 0, block, defHash.length, defHash.length); in encodeBlock()
172 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length); in encodeBlock()
174 for (int i = defHash.length; i != block.length; i++) in encodeBlock()
176 block[i] ^= mask[i - defHash.length]; in encodeBlock()
182 System.arraycopy(seed, 0, block, 0, defHash.length); in encodeBlock()
188 block, defHash.length, block.length - defHash.length, defHash.length); in encodeBlock()
192 block[i] ^= mask[i]; in encodeBlock()
[all …]
DPKCS1Encoding.java151 byte[] block = new byte[engine.getInputBlockSize()]; in encodeBlock()
155 block[0] = 0x01; // type code 1 in encodeBlock()
157 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
159 block[i] = (byte)0xFF; in encodeBlock()
164 random.nextBytes(block); // random fill in encodeBlock()
166 block[0] = 0x02; // type code 2 in encodeBlock()
172 for (int i = 1; i != block.length - inLen - 1; i++) in encodeBlock()
174 while (block[i] == 0) in encodeBlock()
176 block[i] = (byte)random.nextInt(); in encodeBlock()
181 block[block.length - inLen - 1] = 0x00; // mark the end of the padding in encodeBlock()
[all …]
/external/fsck_msdos/
Dboot.c55 u_char block[DOSBOOTBLOCKSIZE]; local
60 if (read(dosfs, block, sizeof block) < sizeof block) {
65 if (block[510] != 0x55 || block[511] != 0xaa) {
66 pfatal("Invalid signature in boot block: %02x%02x", block[511], block[510]);
74 boot->BytesPerSec = block[11] + (block[12] << 8);
75 boot->SecPerClust = block[13];
76 boot->ResSectors = block[14] + (block[15] << 8);
77 boot->FATs = block[16];
78 boot->RootDirEnts = block[17] + (block[18] << 8);
79 boot->Sectors = block[19] + (block[20] << 8);
[all …]
/external/libpcap/
Dgencode.h225 struct block *succ;
226 struct block *pred;
230 struct block { struct
242 struct block *head; argument
243 struct block *link; /* link field used by optimizer */ argument
255 struct block *b; /* protocol checks */ argument
273 void gen_and(struct block *, struct block *);
274 void gen_or(struct block *, struct block *);
275 void gen_not(struct block *);
277 struct block *gen_scode(const char *, struct qual);
[all …]
Dgencode.c140 static struct block *root;
175 static inline struct block *new_block(int);
177 static struct block *gen_retblk(int);
180 static void backpatch(struct block *, struct block *);
181 static void merge(struct block *, struct block *);
182 static struct block *gen_cmp(enum e_offrel, u_int, u_int, bpf_int32);
183 static struct block *gen_cmp_gt(enum e_offrel, u_int, u_int, bpf_int32);
184 static struct block *gen_cmp_ge(enum e_offrel, u_int, u_int, bpf_int32);
185 static struct block *gen_cmp_lt(enum e_offrel, u_int, u_int, bpf_int32);
186 static struct block *gen_cmp_le(enum e_offrel, u_int, u_int, bpf_int32);
[all …]
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c96 word8 block[16], iv[4][4]; in rijndael_blockEncrypt() local
120 bcopy(cipher->IV, block, 16); in rijndael_blockEncrypt()
122 ((word32*)block)[0] ^= ((word32*)iv)[0]; in rijndael_blockEncrypt()
123 ((word32*)block)[1] ^= ((word32*)iv)[1]; in rijndael_blockEncrypt()
124 ((word32*)block)[2] ^= ((word32*)iv)[2]; in rijndael_blockEncrypt()
125 ((word32*)block)[3] ^= ((word32*)iv)[3]; in rijndael_blockEncrypt()
127 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0]; in rijndael_blockEncrypt()
128 ((word32*)block)[1] = ((word32*)cipher->IV)[1] ^ ((word32*)input)[1]; in rijndael_blockEncrypt()
129 ((word32*)block)[2] = ((word32*)cipher->IV)[2] ^ ((word32*)input)[2]; in rijndael_blockEncrypt()
130 ((word32*)block)[3] = ((word32*)cipher->IV)[3] ^ ((word32*)input)[3]; in rijndael_blockEncrypt()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscosmouse.c229 char block[5]; in WIMP_WarpWMCursor() local
239 block[0] = 3; in WIMP_WarpWMCursor()
240 block[1] = osX & 0xFF; in WIMP_WarpWMCursor()
241 block[2] = (osX >> 8) & 0xFF; in WIMP_WarpWMCursor()
242 block[3] = osY & 0xFF; in WIMP_WarpWMCursor()
243 block[4] = (osY >> 8) & 0xFF; in WIMP_WarpWMCursor()
246 regs.r[1] = (int)block; in WIMP_WarpWMCursor()
265 unsigned char block[9]; in RISCOS_GrabInput() local
266 block[0] = 1; /* Define mouse cursor bounding block */ in RISCOS_GrabInput()
275 block[1] = 0; block[2] = 0; /* Left*/ in RISCOS_GrabInput()
[all …]
/external/libvpx/vp8/common/
Dmbpitch.c48 int block; in vp8_setup_macroblock() local
65 for (block = 0; block < 16; block++) /* y blocks */ in vp8_setup_macroblock()
67 vp8_setup_block(&x->block[block], x->dst.y_stride, y, x->dst.y_stride, in vp8_setup_macroblock()
68 (block >> 2) * 4 * x->dst.y_stride + (block & 3) * 4, bs); in vp8_setup_macroblock()
71 for (block = 16; block < 20; block++) /* U and V blocks */ in vp8_setup_macroblock()
73 vp8_setup_block(&x->block[block], x->dst.uv_stride, u, x->dst.uv_stride, in vp8_setup_macroblock()
74 ((block - 16) >> 1) * 4 * x->dst.uv_stride + (block & 1) * 4, bs); in vp8_setup_macroblock()
76 vp8_setup_block(&x->block[block+4], x->dst.uv_stride, v, x->dst.uv_stride, in vp8_setup_macroblock()
77 ((block - 16) >> 1) * 4 * x->dst.uv_stride + (block & 1) * 4, bs); in vp8_setup_macroblock()
89 x->block[r*4+c].diff = &x->diff[r * 4 * 16 + c * 4]; in vp8_setup_block_dptrs()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dbitops.h65 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
67 blk_t block);
68 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
76 blk_t block);
78 blk_t block);
80 blk_t block);
94 blk_t block, int num);
96 blk_t block, int num);
98 blk_t block, int num);
100 blk_t block, int num);
[all …]
Dtest_io.c49 unsigned long block; member
51 void (*read_blk)(unsigned long block, int count, errcode_t err);
52 void (*write_blk)(unsigned long block, int count, errcode_t err);
54 void (*write_byte)(unsigned long block, int count, errcode_t err);
60 static errcode_t test_read_blk(io_channel channel, unsigned long block,
62 static errcode_t test_write_blk(io_channel channel, unsigned long block,
91 (unsigned long block, int count, errcode_t err) = 0;
93 (unsigned long block, int count, errcode_t err) = 0;
97 (unsigned long block, int count, errcode_t err) = 0;
111 unsigned long block, const void *buf) in test_dump_block() argument
[all …]
Dunix_io.c56 unsigned long block; member
78 static errcode_t unix_read_blk(io_channel channel, unsigned long block,
80 static errcode_t unix_write_blk(io_channel channel, unsigned long block,
89 struct unix_cache *cache, unsigned long block);
124 unsigned long block, in raw_read_blk() argument
133 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
150 retval = (channel->read_error)(channel, block, count, buf, in raw_read_blk()
160 unsigned long block, in raw_read_blk() argument
171 location = ((ext2_loff_t) block * channel->block_size) + data->offset; in raw_read_blk()
174 count, size, block, channel->block_size, (long long)location); in raw_read_blk()
[all …]
/external/dbus/dbus/
Ddbus-mempool.c185 DBusMemBlock *block; in _dbus_mem_pool_free() local
187 block = pool->blocks; in _dbus_mem_pool_free()
188 while (block != NULL) in _dbus_mem_pool_free()
190 DBusMemBlock *next = block->next; in _dbus_mem_pool_free()
192 dbus_free (block); in _dbus_mem_pool_free()
194 block = next; in _dbus_mem_pool_free()
213 DBusMemBlock *block; in _dbus_mem_pool_alloc() local
227 block = dbus_malloc0 (alloc_size); in _dbus_mem_pool_alloc()
229 block = dbus_malloc (alloc_size); in _dbus_mem_pool_alloc()
231 if (block != NULL) in _dbus_mem_pool_alloc()
[all …]
Ddbus-memory.c327 unsigned char *block = ((unsigned char*)free_block) - GUARD_START_OFFSET; in check_guards() local
328 size_t requested_bytes = *(dbus_uint32_t*)block; in check_guards()
329 BlockSource source = *(dbus_uint32_t*)(block + 4); in check_guards()
343 dbus_uint32_t value = *(dbus_uint32_t*) &block[i]; in check_guards()
358 dbus_uint32_t value = *(dbus_uint32_t*) &block[i]; in check_guards()
384 unsigned char *block = real_block; in set_guards() local
387 if (block == NULL) in set_guards()
392 *((dbus_uint32_t*)block) = requested_bytes; in set_guards()
393 *((dbus_uint32_t*)(block + 4)) = source; in set_guards()
398 (*(dbus_uint32_t*) &block[i]) = GUARD_VALUE; in set_guards()
[all …]
Ddbus-marshal-recursive-util.c167 data_block_init (DataBlock *block, in data_block_init() argument
171 if (!_dbus_string_init (&block->signature)) in data_block_init()
174 if (!_dbus_string_init (&block->body)) in data_block_init()
176 _dbus_string_free (&block->signature); in data_block_init()
180 if (!_dbus_string_insert_bytes (&block->signature, 0, initial_offset, in data_block_init()
182 !_dbus_string_insert_bytes (&block->body, 0, initial_offset, in data_block_init()
184 !_dbus_string_append (&block->signature, FENCE_BYTES_STR) || in data_block_init()
185 !_dbus_string_append (&block->body, FENCE_BYTES_STR)) in data_block_init()
187 _dbus_string_free (&block->signature); in data_block_init()
188 _dbus_string_free (&block->body); in data_block_init()
[all …]
/external/quake/quake/src/WinQuake/
Dzone.cpp76 memblock_t *block; in Z_ClearZone() local
80 zone->blocklist.next = zone->blocklist.prev = block = in Z_ClearZone()
85 zone->rover = block; in Z_ClearZone()
87 block->prev = block->next = &zone->blocklist; in Z_ClearZone()
88 block->tag = 0; // free block in Z_ClearZone()
89 block->id = ZONEID; in Z_ClearZone()
90 block->size = size - sizeof(memzone_t); in Z_ClearZone()
101 memblock_t *block, *other; in Z_Free() local
106 block = (memblock_t *) ( (byte *)ptr - sizeof(memblock_t)); in Z_Free()
107 if (block->id != ZONEID) in Z_Free()
[all …]
/external/quake/quake/src/QW/client/
Dzone.c76 memblock_t *block; in Z_ClearZone() local
80 zone->blocklist.next = zone->blocklist.prev = block = in Z_ClearZone()
85 zone->rover = block; in Z_ClearZone()
87 block->prev = block->next = &zone->blocklist; in Z_ClearZone()
88 block->tag = 0; // free block in Z_ClearZone()
89 block->id = ZONEID; in Z_ClearZone()
90 block->size = size - sizeof(memzone_t); in Z_ClearZone()
101 memblock_t *block, *other; in Z_Free() local
106 block = (memblock_t *) ( (byte *)ptr - sizeof(memblock_t)); in Z_Free()
107 if (block->id != ZONEID) in Z_Free()
[all …]
/external/icu4c/common/
Dutrie.c221 int32_t block; in utrie_set32() local
228 block=utrie_getDataBlock(trie, c); in utrie_set32()
229 if(block<0) { in utrie_set32()
233 trie->data[block+(c&UTRIE_MASK)]=value; in utrie_set32()
239 int32_t block; in utrie_get32() local
249 block=trie->index[c>>UTRIE_SHIFT]; in utrie_get32()
251 *pInBlockZero= (UBool)(block==0); in utrie_get32()
254 return trie->data[ABS(block)+(c&UTRIE_MASK)]; in utrie_get32()
261 utrie_fillBlock(uint32_t *block, UChar32 start, UChar32 limit, in utrie_fillBlock() argument
265 pLimit=block+limit; in utrie_fillBlock()
[all …]
/external/chromium/third_party/icu/source/common/
Dutrie.c221 int32_t block; in utrie_set32() local
228 block=utrie_getDataBlock(trie, c); in utrie_set32()
229 if(block<0) { in utrie_set32()
233 trie->data[block+(c&UTRIE_MASK)]=value; in utrie_set32()
239 int32_t block; in utrie_get32() local
249 block=trie->index[c>>UTRIE_SHIFT]; in utrie_get32()
251 *pInBlockZero= (UBool)(block==0); in utrie_get32()
254 return trie->data[ABS(block)+(c&UTRIE_MASK)]; in utrie_get32()
261 utrie_fillBlock(uint32_t *block, UChar32 start, UChar32 limit, in utrie_fillBlock() argument
265 pLimit=block+limit; in utrie_fillBlock()
[all …]
/external/bzip2/
Dblocksort.c349 UChar* block, in mainGtU() argument
360 c1 = block[i1]; c2 = block[i2]; in mainGtU()
364 c1 = block[i1]; c2 = block[i2]; in mainGtU()
368 c1 = block[i1]; c2 = block[i2]; in mainGtU()
372 c1 = block[i1]; c2 = block[i2]; in mainGtU()
376 c1 = block[i1]; c2 = block[i2]; in mainGtU()
380 c1 = block[i1]; c2 = block[i2]; in mainGtU()
384 c1 = block[i1]; c2 = block[i2]; in mainGtU()
388 c1 = block[i1]; c2 = block[i2]; in mainGtU()
392 c1 = block[i1]; c2 = block[i2]; in mainGtU()
[all …]
/external/qemu/android/utils/
Dsystem.c25 void* block; in android_alloc() local
30 block = malloc(size); in android_alloc()
31 if (block != NULL) in android_alloc()
32 return block; in android_alloc()
42 void* block; in android_alloc0() local
47 block = calloc(1, size); in android_alloc0()
48 if (block != NULL) in android_alloc0()
49 return block; in android_alloc0()
57 android_realloc( void* block, size_t size ) in android_realloc() argument
62 free(block); in android_realloc()
[all …]
/external/e2fsprogs/tests/f_badbblocks/
Dexpect.13 ../e2fsck/e2fsck: Illegal indirect block found while reading bad blocks inode
6 Bad block inode has illegal block(s). Clear? yes
8 Illegal block #1 (101) in bad block inode. CLEARED.
9 Illegal block #2 (103) in bad block inode. CLEARED.
10 Illegal block #3 (234523) in bad block inode. CLEARED.
11 Illegal block #-1 (200) in bad block inode. CLEARED.

12345678910>>...24