/external/opencv3/3rdparty/libwebp/utils/ |
color_cache.c | 27 const int hash_size = 1 << hash_bits; local 30 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size,
|
/toolchain/binutils/binutils-2.25/include/mach-o/ |
codesign.h | 54 unsigned char hash_size[1]; member in struct:mach_o_codesign_codedirectory_external_v1 70 unsigned char hash_size; member in struct:mach_o_codesign_codedirectory_v1
|
/system/extras/verity/ |
build_verity_tree.cpp | 25 uint64_t hash_size; member in struct:sparse_hash_ctx 40 size_t verity_tree_blocks(uint64_t data_size, size_t block_size, size_t hash_size, 44 int hashes_per_block = div_round_up(block_size, hash_size); 105 memcpy(ctx->hashes, ctx->zero_block_hash, ctx->hash_size); 106 ctx->hashes += ctx->hash_size; 214 size_t hash_size = EVP_MD_size(md); local 215 assert(hash_size * 2 < block_size); 218 salt_size = hash_size; 245 level_blocks = verity_tree_blocks(calculate_size, block_size, hash_size, levels); 289 level_blocks = verity_tree_blocks(len, block_size, hash_size, levels) [all...] |
/external/webp/src/utils/ |
color_cache.c | 24 const int hash_size = 1 << hash_bits; local 27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size,
|
/external/libchrome/crypto/ |
symmetric_key_win.cc | 141 DWORD hash_size = 0; local 144 hash_size = 20; 147 hash_size = 32; 150 hash_size = 48; 153 hash_size = 64; 156 if (hash_size == 0) 161 return (key_size_in_bits >= (hash_size / 2 * 8) && 242 DWORD hash_size, 274 std::vector<BYTE> hash_value(hash_size); 276 DWORD size = hash_size; [all...] |
/external/vboot_reference/firmware/stub/ |
vboot_api_stub.c | 118 VbError_t VbExEcHashRW(int devidx, const uint8_t **hash, int *hash_size) 123 *hash_size = sizeof(fake_hash); 137 const uint8_t **hash, int *hash_size) 142 *hash_size = sizeof(fake_hash);
|
/external/e2fsprogs/e2fsck/ |
revoke.c | 94 int hash_size; member in struct:jbd_revoke_table_s 117 (block << (hash_shift - 12))) & (table->hash_size - 1); 200 int journal_init_revoke(journal_t *journal, int hash_size) 210 /* Check that the hash_size is a power of two */ 211 J_ASSERT ((hash_size & (hash_size-1)) == 0); 213 journal->j_revoke->hash_size = hash_size; 216 tmp = hash_size; 222 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL) [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_record.c | 46 rl->hash_size = MD5_MAC_LEN; 49 rl->hash_size = SHA1_MAC_LEN; 52 rl->hash_size = SHA256_MAC_LEN; 208 rl->hash_size); 219 if (clen < rl->hash_size) { 427 if (plen < rl->hash_size) { 434 plen -= rl->hash_size; 437 rl->hash_size); 458 if (hlen != rl->hash_size ||
|
tlsv1_record.h | 41 size_t hash_size; member in struct:tlsv1_record_layer
|
tlsv1_client.c | 79 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); 95 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 96 pos += conn->rl.hash_size; 98 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 99 pos += conn->rl.hash_size; 750 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
/toolchain/binutils/binutils-2.25/include/som/ |
lst.h | 34 unsigned char hash_size[4]; member in struct:som_external_lst_header
|
internal.h | 190 unsigned int hash_size; member in struct:som_lst_header
|
/external/fio/t/ |
genzipf.c | 36 static unsigned long hash_size = 1 << 24; variable 196 hash_size = nranges; 197 while ((hash_size >>= 1) != 0) 200 hash_size = 1 << hash_bits; 202 hash = malloc(hash_size * sizeof(struct flist_head)); 203 for (i = 0; i < hash_size; i++)
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
cso_cache.c | 170 int hash_size = cso_hash_size(hash); local 171 int max_entries = (max_size > hash_size) ? max_size : hash_size; 173 if (hash_size > max_size) 174 to_remove += hash_size - max_size;
|
/system/bt/osi/src/ |
hash_map.c | 35 size_t hash_size; member in struct:hash_map_t 102 return (hash_map->hash_size == 0); 107 return hash_map->hash_size; 145 hash_map->hash_size++; 169 hash_map->hash_size--;
|
/toolchain/binutils/binutils-2.25/opcodes/ |
cgen-dis.c | 179 unsigned int hash_size = cd->dis_hash_size; local 188 xmalloc (hash_size * sizeof (CGEN_INSN_LIST *)); 189 memset (dis_hash_table, 0, hash_size * sizeof (CGEN_INSN_LIST *));
|
cgen-asm.c | 126 unsigned int hash_size = cd->asm_hash_size; local 135 xmalloc (hash_size * sizeof (CGEN_INSN_LIST *)); 136 memset (asm_hash_table, 0, hash_size * sizeof (CGEN_INSN_LIST *));
|
/external/vboot_reference/firmware/2lib/ |
2rsa.c | 247 uint32_t hash_size = vb2_digest_size(key->hash_alg); local 248 uint32_t pad_size = sig_size - hash_size; 254 if (!sig_size || !hash_size || hash_size > sig_size)
|
/external/vboot_reference/tests/ |
vboot_api_kernel3_tests.c | 143 VbError_t VbExEcHashRW(int devidx, const uint8_t **hash, int *hash_size) 146 *hash_size = mock_ec_hash_size; 160 const uint8_t **hash, int *hash_size) 163 *hash_size = want_ec_hash_size;
|
/external/e2fsprogs/intl/ |
gettextP.h | 109 nls_uint32 hash_size; member in struct:loaded_domain
|
loadmsgcat.c | 1044 domain->hash_size = W (domain->must_swap, data->hash_tab_size); 1046 (domain->hash_size > 2 1123 memneed = domain->hash_size * sizeof (nls_uint32); 1200 mem += domain->hash_size * sizeof (nls_uint32); [all...] |
/toolchain/binutils/binutils-2.25/intl/ |
gettextP.h | 117 nls_uint32 hash_size; member in struct:loaded_domain
|
loadmsgcat.c | 1040 domain->hash_size = W (domain->must_swap, data->hash_tab_size); 1042 (domain->hash_size > 2 1117 + domain->hash_size * sizeof (nls_uint32); 1165 mem += domain->hash_size * sizeof (nls_uint32); 1227 for (i = 0; i < domain->hash_size; i++) 1234 nls_uint32 idx = hash_val % domain->hash_size; 1235 nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); [all...] |
/external/dnsmasq/src/ |
cache.c | 26 static int bignames_left, hash_size; variable 108 /* hash_size is a power of two. */ 114 else if (new_size <= hash_size || !(new = whine_malloc(new_size * sizeof(struct crec *)))) 121 old_size = hash_size; 123 hash_size = new_size; 150 /* hash_size is a power of two */ 151 return hash_table + ((val ^ (val >> 16)) & (hash_size - 1)); 307 for (i = 0; i < hash_size; i++) 600 for (i=0; i<hash_size; i++) 673 for (i=0; i<hash_size; i++ [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tdb.c | 138 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) 139 #define TDB_DATA_START(hash_size) TDB_HASH_TOP(hash_size-1) 160 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 192 u32 hash_size; /* number of hash entries */ member in struct:tdb_header 419 if (list < -1 || list >= (int)tdb->header.hash_size) { 518 if (list < -1 || list >= (int)tdb->header.hash_size) { 519 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size)); 644 0, 4*tdb->header.hash_size)) { 682 0, 4*tdb->header.hash_size)) { [all...] |