/external/chromium_org/third_party/libwebp/utils/ |
H A D | color_cache.c | 27 const int hash_size = 1 << hash_bits; local 30 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size,
|
/external/webp/src/utils/ |
H A D | color_cache.c | 27 const int hash_size = 1 << hash_bits; local 30 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size,
|
/external/chromium/crypto/ |
H A D | symmetric_key_win.cc | 138 DWORD hash_size = 0; local 141 hash_size = 20; 144 hash_size = 32; 147 hash_size = 48; 150 hash_size = 64; 153 if (hash_size == 0) 158 return (key_size_in_bits >= (hash_size / 2 * 8) && 239 DWORD hash_size, 271 std::vector<BYTE> hash_value(hash_size); 273 DWORD size = hash_size; 238 ComputePBKDF2Block(HCRYPTHASH hash, DWORD hash_size, const std::string& salt, size_t iterations, uint32 block_index, BYTE* output_buf) argument [all...] |
/external/chromium_org/crypto/ |
H A D | symmetric_key_win.cc | 138 DWORD hash_size = 0; local 141 hash_size = 20; 144 hash_size = 32; 147 hash_size = 48; 150 hash_size = 64; 153 if (hash_size == 0) 158 return (key_size_in_bits >= (hash_size / 2 * 8) && 239 DWORD hash_size, 271 std::vector<BYTE> hash_value(hash_size); 273 DWORD size = hash_size; 238 ComputePBKDF2Block(HCRYPTHASH hash, DWORD hash_size, const std::string& salt, size_t iterations, uint32 block_index, BYTE* output_buf) argument [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | 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) argument 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 * sizeo [all...] |
/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_server.c | 60 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 76 pos += conn->rl.hash_size; 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 79 pos += conn->rl.hash_size; 567 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
H A D | tlsv1_client.c | 78 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); 94 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 95 pos += conn->rl.hash_size; 97 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 98 pos += conn->rl.hash_size; 715 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_server.c | 60 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 76 pos += conn->rl.hash_size; 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 79 pos += conn->rl.hash_size; 567 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
H A D | tlsv1_client.c | 78 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); 94 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 95 pos += conn->rl.hash_size; 97 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 98 pos += conn->rl.hash_size; 715 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_server.c | 60 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len + 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 76 pos += conn->rl.hash_size; 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 79 pos += conn->rl.hash_size; 567 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
H A D | tlsv1_client.c | 78 key_block_len = 2 * (conn->rl.hash_size + conn->rl.key_material_len); 94 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 95 pos += conn->rl.hash_size; 97 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 98 pos += conn->rl.hash_size; 715 return 2 * (conn->rl.hash_size + conn->rl.key_material_len +
|
/external/chromium_org/third_party/mesa/src/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/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/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 | 140 #define TDB_HASHTABLE_SIZE(tdb) ((tdb->header.hash_size+1)*sizeof(tdb_off_t)) 141 #define TDB_DATA_START(hash_size) TDB_HASH_TOP(hash_size-1) 162 #define BUCKET(hash) ((hash) % tdb->header.hash_size) 194 u32 hash_size; /* number of hash entries */ member in struct:tdb_header 421 if (list < -1 || list >= (int)tdb->header.hash_size) { 520 if (list < -1 || list >= (int)tdb->header.hash_size) { 521 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size)); 646 0, 4*tdb->header.hash_size)) { 684 0, 4*tdb->header.hash_size)) { 3728 tdb_new_database(struct tdb_context *tdb, int hash_size) argument 3797 tdb_open(const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode) argument 3810 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...] |
H A D | tdb.h | 145 struct tdb_context *tdb_open(const char *name, int hash_size, int tdb_flags, 147 struct tdb_context *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
|
/external/chromium_org/third_party/zlib/ |
H A D | deflate.c | 195 s->head[s->hash_size-1] = NIL; \ 196 zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head)); 278 s->hash_size = 1 << s->hash_bits; 279 s->hash_mask = s->hash_size - 1; 284 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); 982 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); 994 zmemcpy(ds->head, ss->head, ds->hash_size * sizeof(Pos)); 1488 n = s->hash_size;
|