/external/webp/src/utils/ |
H A D | color_cache_utils.c | 24 const int hash_size = 1 << hash_bits; local 27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size,
|
/external/e2fsprogs/debugfs/ |
H A D | revoke.c | 117 int hash_size; member in struct:jbd2_revoke_table_s 142 (hash << (hash_shift - 12))) & (table->hash_size - 1); 228 static struct jbd2_revoke_table_s *journal_init_revoke_table(int hash_size) argument 231 int tmp = hash_size; 241 table->hash_size = hash_size; 244 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); 251 for (tmp = 0; tmp < hash_size; tmp++) 263 for (i = 0; i < table->hash_size; i++) { 273 int journal_init_revoke(journal_t *journal, int hash_size) argument [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | revoke.c | 117 int hash_size; member in struct:jbd2_revoke_table_s 142 (hash << (hash_shift - 12))) & (table->hash_size - 1); 228 static struct jbd2_revoke_table_s *journal_init_revoke_table(int hash_size) argument 231 int tmp = hash_size; 241 table->hash_size = hash_size; 244 kmalloc(hash_size * sizeof(struct list_head), GFP_KERNEL); 251 for (tmp = 0; tmp < hash_size; tmp++) 263 for (i = 0; i < table->hash_size; i++) { 273 int journal_init_revoke(journal_t *journal, int hash_size) argument [all...] |
/external/vboot_reference/firmware/stub/ |
H A D | vboot_api_stub.c | 118 VbError_t VbExEcHashRW(int devidx, const uint8_t **hash, int *hash_size) argument 123 *hash_size = sizeof(fake_hash); 137 const uint8_t **hash, int *hash_size) 142 *hash_size = sizeof(fake_hash); 136 VbExEcGetExpectedRWHash(int devidx, enum VbSelectFirmware_t select, const uint8_t **hash, int *hash_size) argument
|
/external/mesa3d/src/amd/vulkan/ |
H A D | radv_entrypoints_gen.py | 34 hash_size = 256 variable 36 hash_mask = hash_size - 1 217 map = [none for f in xrange(hash_size)] 231 print " * size %d entries" % hash_size 245 for i in xrange(0, hash_size, 8):
|
/external/mesa3d/src/intel/vulkan/ |
H A D | anv_entrypoints_gen.py | 34 hash_size = 256 variable 36 hash_mask = hash_size - 1 256 map = [none for f in xrange(hash_size)] 270 print " * size %d entries" % hash_size 284 for i in xrange(0, hash_size, 8):
|
/external/fio/t/ |
H A D | genzipf.c | 36 static unsigned long hash_size = 1 << 24; variable 64 return jhash(&val, sizeof(val), 0) & (hash_size - 1); 308 hash_size = nranges; 309 while ((hash_size >>= 1) != 0) 312 hash_size = 1 << hash_bits; 314 hash = calloc(hash_size, sizeof(struct flist_head)); 315 for (i = 0; i < hash_size; i++)
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | 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 ||
|
H A D | tlsv1_record.h | 41 size_t hash_size; member in struct:tlsv1_record_layer
|
H A D | 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 +
|
/external/wpa_supplicant_8/src/tls/ |
H A D | 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 ||
|
H A D | tlsv1_record.h | 41 size_t hash_size; member in struct:tlsv1_record_layer
|
H A D | 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 +
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | 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 ||
|
H A D | tlsv1_record.h | 41 size_t hash_size; member in struct:tlsv1_record_layer
|
H A D | 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 +
|
/external/avb/libavb/ |
H A D | avb_vbmeta_image.c | 115 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || 162 if (h.hash_size != algorithm->hash_len) { 205 h.hash_size) != 0) { 217 h.hash_size, 258 dest->hash_size = avb_be64toh(dest->hash_size);
|
H A D | avb_vbmeta_image.h | 145 uint64_t hash_size; member in struct:AvbVBMetaImageHeader
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | 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;
|
/external/vboot_reference/firmware/2lib/ |
H A D | 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/ |
H A D | vboot_api_kernel3_tests.c | 143 VbError_t VbExEcHashRW(int devidx, const uint8_t **hash, int *hash_size) argument 146 *hash_size = mock_ec_hash_size; 160 const uint8_t **hash, int *hash_size) 163 *hash_size = want_ec_hash_size; 159 VbExEcGetExpectedRWHash(int devidx, enum VbSelectFirmware_t select, const uint8_t **hash, int *hash_size) argument
|
/external/e2fsprogs/intl/ |
H A D | gettextP.h | 109 nls_uint32 hash_size; member in struct:loaded_domain
|
H A D | 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); 1318 for (i = 0; i < domain->hash_size; i++) 1325 nls_uint32 idx = hash_val % domain->hash_size; 1327 1 + (hash_val % (domain->hash_size - 2)); 1338 if (idx >= domain->hash_size - incr) 1339 idx -= domain->hash_size - incr;
|
/external/dnsmasq/src/ |
H A D | 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; [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | tdb.c | 141 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) 142 #define TDB_DATA_START(hash_size) TDB_HASH_TOP(hash_size-1) 163 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 195 u32 hash_size; /* number of hash entries */ member in struct:tdb_header 423 if (list < -1 || list >= (int)tdb->header.hash_size) { 522 if (list < -1 || list >= (int)tdb->header.hash_size) { 523 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size)); 648 0, 4*tdb->header.hash_size)) { 686 0, 4*tdb->header.hash_size)) { 3731 tdb_new_database(struct tdb_context *tdb, int hash_size) argument 3800 tdb_open(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode) argument 3813 tdb_open_ex(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, const struct tdb_logging_context *log_ctx, tdb_hash_func hash_fn) argument [all...] |