Searched defs:hash_size (Results 1 - 25 of 35) sorted by relevance

12

/external/webp/src/utils/
H A Dcolor_cache_utils.c24 const int hash_size = 1 << hash_bits; local
27 cc->colors_ = (uint32_t*)WebPSafeCalloc((uint64_t)hash_size,
/external/mesa3d/src/amd/vulkan/
H A Dradv_entrypoints_gen.py34 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 Danv_entrypoints_gen.py34 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/avb/libavb/
H A Davb_vbmeta_image.h145 uint64_t hash_size; member in struct:AvbVBMetaImageHeader
/external/e2fsprogs/intl/
H A DgettextP.h109 nls_uint32 hash_size; member in struct:loaded_domain
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_record.h41 size_t hash_size; member in struct:tlsv1_record_layer
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.h41 size_t hash_size; member in struct:tlsv1_record_layer
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_record.h41 size_t hash_size; member in struct:tlsv1_record_layer
/external/e2fsprogs/debugfs/
H A Drevoke.c117 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 Drevoke.c117 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/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.c170 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;
H A Dcso_context.c220 int hash_size = cso_hash_size(hash); local
221 int max_entries = (max_size > hash_size) ? max_size : hash_size;
227 if (hash_size > max_size)
228 to_remove += hash_size - max_size;
/external/parameter-framework/asio/include/asio/detail/
H A Dhash_map.hpp144 rehash(hash_size(size_ + 1));
210 static std::size_t hash_size(std::size_t num_elems) function in class:asio::detail::hash_map
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dhash_map.hpp144 rehash(hash_size(size_ + 1));
210 static std::size_t hash_size(std::size_t num_elems) function in class:asio::detail::hash_map
/external/vboot_reference/firmware/2lib/
H A D2rsa.c247 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/firmware/stub/
H A Dvboot_api_stub.c118 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/vboot_reference/tests/
H A Dvboot_api_kernel3_tests.c143 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/fio/t/
H A Dgenzipf.c36 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/python/cpython2/Modules/zlib/
H A Ddeflate.h140 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
141 uInt hash_bits; /* log2(hash_size) */
142 uInt hash_mask; /* hash_size-1 */
/external/python/cpython3/Modules/zlib/
H A Ddeflate.h143 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
144 uInt hash_bits; /* log2(hash_size) */
145 uInt hash_mask; /* hash_size-1 */
/external/syslinux/com32/lib/zlib/
H A Ddeflate.h137 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
138 uInt hash_bits; /* log2(hash_size) */
139 uInt hash_mask; /* hash_size-1 */
/external/zlib/src/
H A Ddeflate.h143 uInt hash_size; /* number of elements in hash table */ member in struct:internal_state
144 uInt hash_bits; /* log2(hash_size) */
145 uInt hash_mask; /* hash_size-1 */
/external/dnsmasq/src/
H A Dcache.c26 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/syslinux/gpxe/src/net/
H A Dtls.c328 size_t hash_size = tx_cipherspec->digest->digestsize; local
331 size_t total = ( 2 * ( hash_size + key_size + iv_size ) );
346 memcpy ( tx_cipherspec->mac_secret, key, hash_size );
348 DBGC_HD ( tls, key, hash_size );
349 key += hash_size;
352 memcpy ( rx_cipherspec->mac_secret, key, hash_size );
354 DBGC_HD ( tls, key, hash_size );
355 key += hash_size;
/external/e2fsprogs/lib/ext2fs/
H A Dtdb.c141 #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...]

Completed in 533 milliseconds

12