Searched defs:block (Results 1 - 25 of 805) sorted by last modified time

1234567891011>>

/external/yaffs2/yaffs2/direct/
H A Dyaffs_flashif.c43 yflash_Page page[32]; // The pages in the block
51 yflash_Block **block; member in struct:__anon34298
75 ramdisk.block = YMALLOC(sizeof(yflash_Block *) * ramdisk.nBlocks);
77 if(!ramdisk.block) return 0;
81 ramdisk.block[i] = NULL;
86 if((ramdisk.block[i] = YMALLOC(sizeof(yflash_Block))) == 0)
101 YFREE(ramdisk.block[i]);
103 YFREE(ramdisk.block);
129 memcpy(ramdisk.block[blk]->page[pg].data,data,512);
137 memcpy(&ramdisk.block[bl
[all...]
H A Dyaffs_ramdisk.c47 yramdisk_Page page[32]; // The pages in the block
55 yramdisk_Block **block; member in struct:__anon34301
80 ramdisk.block = YMALLOC(sizeof(yramdisk_Block *) * ramdisk.nBlocks);
82 if(!ramdisk.block) return 0;
86 ramdisk.block[i] = NULL;
91 if((ramdisk.block[i] = YMALLOC(sizeof(yramdisk_Block))) == 0)
106 YFREE(ramdisk.block[i]);
108 YFREE(ramdisk.block);
133 memcpy(ramdisk.block[blk]->page[pg].data,data,512);
142 memcpy(&ramdisk.block[bl
[all...]
H A Dyaffs_ramem2k.c71 nandemul_Block**block; member in struct:__anon34304
100 blk = ned.block[blockNumber];
138 ned.block = YMALLOC(sizeof(nandemul_Block*) * nBlocks );
140 if(!ned.block) return YAFFS_FAIL;
151 if(!(blk = ned.block[i] = YMALLOC(sizeof(nandemul_Block))))
165 ned.block[i]->damaged = 0;
176 YFREE(ned.block[i]);
178 YFREE(ned.block);
207 x = ned.block[blk]->page[pg]->data;
214 ned.block[bl
[all...]
/external/yaffs2/yaffs2/mtdemul/
H A Dnandemul2k.c83 nandemul_Block**block; member in struct:__anon34310
107 memcpy(buffer,&ned.block[blk]->page[pg]->data[start],nBytes);
119 p = &ned.block[blk]->page[pg]->data[start];
141 blk = ned.block[blockNumber];
179 ned.block = ALLOCATE(sizeof(nandemul_Block*) * nBlocks );
181 if(!ned.block) return ENOMEM;
192 if(!(blk = ned.block[i] = ALLOCATE(sizeof(nandemul_Block))))
206 ned.block[i]->damaged = 0;
217 FREE(ned.block[i]);
219 FREE(ned.block);
534 int i, nBlocks,block; local
[all...]
/external/yaffs2/yaffs2/
H A Dyaffs_guts.c276 (TSTR("**>> yaffs: BlockBits block %d is not valid" TENDSTR),
410 * Check the first page we try to write in a block.
413 * If the block has been erased, we don't need to check.
415 * However, if the block has been prioritised for gc, then
416 * we think there might be something odd about this block
482 * Block retiring for handling a broken block.
540 /* Was an actual write failure, so mark the block for retirement */
1119 * All soft deleting does is increment the block's softdelete count and pulls the chunk out
1165 * a block.
2008 /* Can't do gc of this block i
2321 yaffs_GarbageCollectBlock(yaffs_Device * dev, int block) argument
2536 int block; local
2880 int block; local
4595 int block; member in struct:__anon34314
[all...]
/external/zlib/src/examples/
H A Dgzlog.c40 - compressed data ending initially with empty stored block
41 - uncompressed data filling out originally empty stored block and
49 stored block and determine where to append the data in the foo.add file, as
99 for large files is actually the length modulo 2^32.) The stored block
106 than any expected block size for a mass storage device (usually 512 bytes or
110 - Pointer to first stored block length -- this points to the two-byte length
111 of the first stored block, which is followed by the two-byte, one's
112 complement of that length. The stored block length is preceded by the
113 three-bit header of the stored block, which is the actual start of the
114 stored block i
911 uint block; local
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-gcm.c16 static void inc32(u8 *block) argument
19 val = WPA_GET_BE32(block + AES_BLOCK_SIZE - 4);
21 WPA_PUT_BE32(block + AES_BLOCK_SIZE - 4, val);
124 /* Add zero padded last block */
167 /* Last, partial block */
197 /* Prepare block J_0 = IV || 0^31 || 1 [len(IV) = 96] */
238 * (i.e., zero padded to block size A || C and lengths of each in bits)
H A Ddes-internal.c318 static void desfunc(u32 *block, const u32 *keys) argument
323 leftt = block[0];
324 right = block[1];
392 block[0] = right;
393 block[1] = leftt;
H A Dmd4-internal.c67 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]);
195 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]) argument
200 os_memcpy(in, block, sizeof(in));
204 (u32)(block[a * 4 + 0]) |
205 (u32)(block[a * 4 + 1]) << 8 |
206 (u32)(block[a * 4 + 2]) << 16 |
207 (u32)(block[a * 4 + 3]) << 24);
H A Dms_funcs.c491 * @block: 16-octet Block (IN)
495 const u8 *block, u8 *cypher)
497 des_encrypt(password_hash, block, cypher);
498 des_encrypt(password_hash + 8, block + 7, cypher + 8);
494 nt_password_hash_encrypted_with_block(const u8 *password_hash, const u8 *block, u8 *cypher) argument
H A Dsha1-internal.c132 #define blk0(i) (block->l[i] = (rol(block->l[i], 24) & 0xFF00FF00) | \
133 (rol(block->l[i], 8) & 0x00FF00FF))
135 #define blk0(i) block->l[i]
137 #define blk(i) (block->l[i & 15] = rol(block->l[(i + 13) & 15] ^ \
138 block->l[(i + 8) & 15] ^ block->l[(i + 2) & 15] ^ block->l[i & 15], 1))
171 /* Hash a single 512-bit block
180 CHAR64LONG16* block; local
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbase64.c100 unsigned char dtable[256], *out, *pos, block[4], tmp; local
131 block[count] = tmp;
134 *pos++ = (block[0] << 2) | (block[1] >> 4);
135 *pos++ = (block[1] << 4) | (block[2] >> 2);
136 *pos++ = (block[2] << 6) | block[3];
/external/wpa_supplicant_8/src/crypto/
H A Daes-gcm.c16 static void inc32(u8 *block) argument
19 val = WPA_GET_BE32(block + AES_BLOCK_SIZE - 4);
21 WPA_PUT_BE32(block + AES_BLOCK_SIZE - 4, val);
124 /* Add zero padded last block */
167 /* Last, partial block */
197 /* Prepare block J_0 = IV || 0^31 || 1 [len(IV) = 96] */
238 * (i.e., zero padded to block size A || C and lengths of each in bits)
H A Ddes-internal.c318 static void desfunc(u32 *block, const u32 *keys) argument
323 leftt = block[0];
324 right = block[1];
392 block[0] = right;
393 block[1] = leftt;
H A Dmd4-internal.c67 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]);
195 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]) argument
200 os_memcpy(in, block, sizeof(in));
204 (u32)(block[a * 4 + 0]) |
205 (u32)(block[a * 4 + 1]) << 8 |
206 (u32)(block[a * 4 + 2]) << 16 |
207 (u32)(block[a * 4 + 3]) << 24);
H A Dms_funcs.c491 * @block: 16-octet Block (IN)
495 const u8 *block, u8 *cypher)
497 des_encrypt(password_hash, block, cypher);
498 des_encrypt(password_hash + 8, block + 7, cypher + 8);
494 nt_password_hash_encrypted_with_block(const u8 *password_hash, const u8 *block, u8 *cypher) argument
H A Dsha1-internal.c132 #define blk0(i) (block->l[i] = (rol(block->l[i], 24) & 0xFF00FF00) | \
133 (rol(block->l[i], 8) & 0x00FF00FF))
135 #define blk0(i) block->l[i]
137 #define blk(i) (block->l[i & 15] = rol(block->l[(i + 13) & 15] ^ \
138 block->l[(i + 8) & 15] ^ block->l[(i + 2) & 15] ^ block->l[i & 15], 1))
171 /* Hash a single 512-bit block
180 CHAR64LONG16* block; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dbase64.c100 unsigned char dtable[256], *out, *pos, block[4], tmp; local
131 block[count] = tmp;
134 *pos++ = (block[0] << 2) | (block[1] >> 4);
135 *pos++ = (block[1] << 4) | (block[2] >> 2);
136 *pos++ = (block[2] << 6) | block[3];
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-gcm.c16 static void inc32(u8 *block) argument
19 val = WPA_GET_BE32(block + AES_BLOCK_SIZE - 4);
21 WPA_PUT_BE32(block + AES_BLOCK_SIZE - 4, val);
124 /* Add zero padded last block */
167 /* Last, partial block */
197 /* Prepare block J_0 = IV || 0^31 || 1 [len(IV) = 96] */
238 * (i.e., zero padded to block size A || C and lengths of each in bits)
H A Ddes-internal.c318 static void desfunc(u32 *block, const u32 *keys) argument
323 leftt = block[0];
324 right = block[1];
392 block[0] = right;
393 block[1] = leftt;
H A Dmd4-internal.c67 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]);
195 MD4Transform(u32 state[4], const u8 block[MD4_BLOCK_LENGTH]) argument
200 os_memcpy(in, block, sizeof(in));
204 (u32)(block[a * 4 + 0]) |
205 (u32)(block[a * 4 + 1]) << 8 |
206 (u32)(block[a * 4 + 2]) << 16 |
207 (u32)(block[a * 4 + 3]) << 24);
H A Dms_funcs.c491 * @block: 16-octet Block (IN)
495 const u8 *block, u8 *cypher)
497 des_encrypt(password_hash, block, cypher);
498 des_encrypt(password_hash + 8, block + 7, cypher + 8);
494 nt_password_hash_encrypted_with_block(const u8 *password_hash, const u8 *block, u8 *cypher) argument
H A Dsha1-internal.c132 #define blk0(i) (block->l[i] = (rol(block->l[i], 24) & 0xFF00FF00) | \
133 (rol(block->l[i], 8) & 0x00FF00FF))
135 #define blk0(i) block->l[i]
137 #define blk(i) (block->l[i & 15] = rol(block->l[(i + 13) & 15] ^ \
138 block->l[(i + 8) & 15] ^ block->l[(i + 2) & 15] ^ block->l[i & 15], 1))
171 /* Hash a single 512-bit block
180 CHAR64LONG16* block; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dbase64.c100 unsigned char dtable[256], *out, *pos, block[4], tmp; local
131 block[count] = tmp;
134 *pos++ = (block[0] << 2) | (block[1] >> 4);
135 *pos++ = (block[1] << 4) | (block[2] >> 2);
136 *pos++ = (block[2] << 6) | block[3];
/external/valgrind/main/none/tests/ppc32/
H A Dtest_fx.c7 double block[2]; local
8 block[0] = x;
14 : /*in*/ "b" (&block[0])
17 return block[1];
22 double block[2]; local
23 block[0] = x;
29 : /*in*/ "b" (&block[0])
32 return block[1];

Completed in 226 milliseconds

1234567891011>>