/external/libnl/lib/ |
D | hashtable.c | 90 uint32_t key_hash; in nl_hash_table_lookup() local 92 nl_object_keygen(obj, &key_hash, ht->size); in nl_hash_table_lookup() 93 node = ht->nodes[key_hash]; in nl_hash_table_lookup() 120 uint32_t key_hash; in nl_hash_table_add() local 122 nl_object_keygen(obj, &key_hash, ht->size); in nl_hash_table_add() 123 node = ht->nodes[key_hash]; in nl_hash_table_add() 134 obj, ht, key_hash); in nl_hash_table_add() 141 node->key = key_hash; in nl_hash_table_add() 143 node->next = ht->nodes[key_hash]; in nl_hash_table_add() 144 ht->nodes[key_hash] = node; in nl_hash_table_add() [all …]
|
/external/libdrm/amdgpu/ |
D | util_hash_table.c | 95 void *key, unsigned key_hash) in util_hash_table_find_iter() argument 100 iter = util_hash_find(ht->head, key_hash); in util_hash_table_find_iter() 113 void *key, unsigned key_hash) in util_hash_table_find_item() argument 118 iter = util_hash_find(ht->head, key_hash); in util_hash_table_find_item() 132 unsigned key_hash; in util_hash_table_set() local 140 key_hash = ht->make_hash(key); in util_hash_table_set() 142 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set() 156 iter = util_hash_insert(ht->head, key_hash, item); in util_hash_table_set() 165 unsigned key_hash; in util_hash_table_get() local 172 key_hash = ht->make_hash(key); in util_hash_table_get() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_hash_table.c | 104 unsigned key_hash) in util_hash_table_find_iter() argument 109 iter = cso_hash_find(ht->cso, key_hash); in util_hash_table_find_iter() 124 unsigned key_hash) in util_hash_table_find_item() argument 129 iter = cso_hash_find(ht->cso, key_hash); in util_hash_table_find_item() 146 unsigned key_hash; in util_hash_table_set() local 154 key_hash = ht->hash(key); in util_hash_table_set() 156 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set() 170 iter = cso_hash_insert(ht->cso, key_hash, item); in util_hash_table_set() 184 unsigned key_hash; in util_hash_table_get() local 191 key_hash = ht->hash(key); in util_hash_table_get() [all …]
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_hash_table.c | 107 unsigned key_hash) in util_hash_table_find_iter() argument 112 iter = cso_hash_find(ht->cso, key_hash); in util_hash_table_find_iter() 127 unsigned key_hash) in util_hash_table_find_item() argument 132 iter = cso_hash_find(ht->cso, key_hash); in util_hash_table_find_item() 149 unsigned key_hash; in util_hash_table_set() local 157 key_hash = ht->hash(key); in util_hash_table_set() 159 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set() 173 iter = cso_hash_insert(ht->cso, key_hash, item); in util_hash_table_set() 187 unsigned key_hash; in util_hash_table_get() local 194 key_hash = ht->hash(key); in util_hash_table_get() [all …]
|
/external/python/cpython3/Modules/ |
D | hashtable.c | 256 Py_uhash_t key_hash; in _Py_hashtable_get_entry() local 262 key_hash = ht->hash_func(ht, pkey); in _Py_hashtable_get_entry() 263 index = key_hash & (ht->num_buckets - 1); in _Py_hashtable_get_entry() 266 if (entry->key_hash == key_hash && ht->compare_func(ht, pkey, entry)) in _Py_hashtable_get_entry() 278 Py_uhash_t key_hash; in _Py_hashtable_pop_entry() local 284 key_hash = ht->hash_func(ht, pkey); in _Py_hashtable_pop_entry() 285 index = key_hash & (ht->num_buckets - 1); in _Py_hashtable_pop_entry() 289 if (entry->key_hash == key_hash && ht->compare_func(ht, pkey, entry)) in _Py_hashtable_pop_entry() 315 Py_uhash_t key_hash; in _Py_hashtable_set() local 330 key_hash = ht->hash_func(ht, pkey); in _Py_hashtable_set() [all …]
|
D | hashtable.h | 27 Py_uhash_t key_hash; member
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 227 uint32_t key_hash = grpc_slice_hash(GRPC_MDKEY(elem)); in add_key_with_index() local 230 if (grpc_slice_eq(c->entries_keys[HASH_FRAGMENT_2(key_hash)], in add_key_with_index() 232 c->indices_keys[HASH_FRAGMENT_2(key_hash)] = new_index; in add_key_with_index() 233 } else if (grpc_slice_eq(c->entries_keys[HASH_FRAGMENT_3(key_hash)], in add_key_with_index() 235 c->indices_keys[HASH_FRAGMENT_3(key_hash)] = new_index; in add_key_with_index() 236 } else if (c->entries_keys[HASH_FRAGMENT_2(key_hash)].refcount == in add_key_with_index() 238 c->entries_keys[HASH_FRAGMENT_2(key_hash)] = in add_key_with_index() 240 c->indices_keys[HASH_FRAGMENT_2(key_hash)] = new_index; in add_key_with_index() 241 } else if (c->entries_keys[HASH_FRAGMENT_3(key_hash)].refcount == in add_key_with_index() 243 c->entries_keys[HASH_FRAGMENT_3(key_hash)] = in add_key_with_index() [all …]
|
/external/v8/src/compiler/ |
D | persistent-map.h | 70 HashValue key_hash = HashValue(Hasher()(key)); in Get() local 71 const FocusedTree* tree = FindHash(key_hash); in Get() 178 HashValue key_hash; 251 while (current_->key_hash[level_] == kRight || path_[level_] == nullptr) { 271 if (current_->key_hash != other.current_->key_hash) { 282 if (current_->key_hash == other.current_->key_hash) { 285 return current_->key_hash < other.current_->key_hash; 379 HashValue key_hash = HashValue(Hasher()(key)); 382 const FocusedTree* old = FindHash(key_hash, &path, &length); 399 key_hash, [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_ocsp.c | 51 struct x509_name *name, const u8 *key_hash) in ocsp_responder_id_match() argument 53 if (key_hash) { in ocsp_responder_id_match() 60 return os_memcmp(hash, key_hash, SHA1_MAC_LEN) == 0; in ocsp_responder_id_match() 119 const u8 *name_hash, *key_hash; in tls_process_ocsp_single_response() local 200 key_hash = hdr.payload; in tls_process_ocsp_single_response() 202 wpa_hexdump(MSG_DEBUG, "OCSP: issuerKeyHash", key_hash, key_hash_len); in tls_process_ocsp_single_response() 208 os_memcmp(key_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response() 359 const u8 *resp_data, *sign_value, *key_hash = NULL, *responses; in tls_process_basic_ocsp_response() local 549 key_hash = hdr.payload; in tls_process_basic_ocsp_response() 551 key_hash, hdr.length); in tls_process_basic_ocsp_response() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | rendezvous.cc | 155 uint64 key_hash = KeyHash(key.FullKey()); in Send() local 156 VLOG(2) << "Send " << this << " " << key_hash << " " << key.FullKey(); in Send() 166 ItemQueue* queue = &table_[key_hash]; in Send() 198 uint64 key_hash = KeyHash(key.FullKey()); in RecvAsync() local 199 VLOG(2) << "Recv " << this << " " << key_hash << " " << key.FullKey(); in RecvAsync() 210 ItemQueue* queue = &table_[key_hash]; in RecvAsync()
|
/external/u-boot/fs/ubifs/ |
D | key.h | 144 uint32_t hash = c->key_hash(nm->name, nm->len); in dent_key_init() 179 uint32_t hash = c->key_hash(nm->name, nm->len); in dent_key_init_flash() 212 uint32_t hash = c->key_hash(nm->name, nm->len); in xent_key_init() 230 uint32_t hash = c->key_hash(nm->name, nm->len); in xent_key_init_flash() 362 static inline uint32_t key_hash(const struct ubifs_info *c, in key_hash() function
|
D | sb.c | 165 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem() 270 c->key_hash = key_r5_hash; in create_default_filesystem() 355 if (!c->key_hash) { in validate_sb() 582 switch (sup->key_hash) { in ubifs_read_superblock() 584 c->key_hash = key_r5_hash; in ubifs_read_superblock() 589 c->key_hash = key_test_hash; in ubifs_read_superblock()
|
D | ubifs-media.h | 617 __u8 key_hash; member
|
D | gc.c | 199 uint32_t hasha = key_hash(c, &sa->key); in nondata_nodes_cmp() 200 uint32_t hashb = key_hash(c, &sb->key); in nondata_nodes_cmp()
|
D | debug.c | 117 get_key_type(type), key_hash(c, key)); in dbg_snprintf_key() 334 (int)sup->key_hash, get_key_hash(sup->key_hash)); in ubifs_dump_node()
|
D | ubifs.h | 1917 uint32_t (*key_hash)(const char *str, int len); member
|
/external/boringssl/src/crypto/lhash/ |
D | lhash.c | 164 uint32_t key_hash, in get_next_ptr_by_key() argument 167 LHASH_ITEM **ret = &lh->buckets[key_hash % lh->num_buckets]; in get_next_ptr_by_key() 186 void *lh_retrieve_key(const _LHASH *lh, const void *key, uint32_t key_hash, in lh_retrieve_key() argument 188 LHASH_ITEM **next_ptr = get_next_ptr_by_key(lh, key, key_hash, cmp_key); in lh_retrieve_key()
|
/external/mesa3d/src/util/tests/hash_table/ |
D | clear.c | 36 static uint32_t key_hash(const void *key) in key_hash() function 61 ht = _mesa_hash_table_create(NULL, key_hash, key_equal); in main()
|
/external/u-boot/board/freescale/common/ |
D | fsl_validate.c | 538 int key_hash = 0; in calc_esbchdr_esbc_hash() local 567 key_hash = 1; in calc_esbchdr_esbc_hash() 571 if (!key_hash && check_ie(img)) in calc_esbchdr_esbc_hash() 572 key_hash = 1; in calc_esbchdr_esbc_hash() 576 if (!key_hash) { in calc_esbchdr_esbc_hash() 579 key_hash = 1; in calc_esbchdr_esbc_hash() 584 if (!key_hash) in calc_esbchdr_esbc_hash()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lookup_table_op.cc | 411 const uint64 key_hash = HashKey(key_matrix, i); in Find() local 412 if (empty_key_hash_ == key_hash && in Find() 417 if (deleted_key_hash_ == key_hash && in Find() 422 int64 bucket_index = key_hash & bit_mask; in Find() 586 const uint64 key_hash = HashKey(key_matrix, i); in DoInsert() local 587 if (empty_key_hash_ == key_hash && in DoInsert() 595 if (deleted_key_hash_ == key_hash && in DoInsert() 603 int64 bucket_index = key_hash & bit_mask; in DoInsert() 655 const uint64 key_hash = HashKey(key_matrix, i); in DoRemove() local 656 if (empty_key_hash_ == key_hash && in DoRemove() [all …]
|
/external/boringssl/src/include/openssl/ |
D | lhash.h | 147 uint32_t key_hash, 226 const LHASH_OF(type) *lh, const void *key, uint32_t key_hash, \ 229 return (type *)lh_retrieve_key((const _LHASH *)lh, &cb, key_hash, \
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch_cache.c | 97 key_hash(const void *_key) in key_hash() function 118 cache->ht = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd_bc_init() 341 uint32_t hash = key_hash(key); in batch_from_key()
|
/external/python/cpython3/Python/ |
D | hamt.c | 2308 int32_t key_hash; in _PyHamt_Assoc() local 2313 key_hash = hamt_hash(key); in _PyHamt_Assoc() 2314 if (key_hash == -1) { in _PyHamt_Assoc() 2320 0, key_hash, key, val, &added_leaf); in _PyHamt_Assoc() 2346 int32_t key_hash = hamt_hash(key); in _PyHamt_Without() local 2347 if (key_hash == -1) { in _PyHamt_Without() 2355 0, key_hash, key, in _PyHamt_Without() 2392 int32_t key_hash = hamt_hash(key); in hamt_find() local 2393 if (key_hash == -1) { in hamt_find() 2397 return hamt_node_find(o->h_root, 0, key_hash, key, val); in hamt_find()
|
/external/v8/src/builtins/ |
D | builtins-collections-gen.cc | 2001 TNode<IntPtrT> FindKeyIndex(TNode<HeapObject> table, TNode<IntPtrT> key_hash, 2008 TNode<IntPtrT> key_hash, 2103 TNode<HeapObject> table, TNode<IntPtrT> key_hash, TNode<IntPtrT> entry_mask, in FindKeyIndex() argument 2106 TVARIABLE(IntPtrT, var_entry, WordAnd(key_hash, entry_mask)); in FindKeyIndex() 2132 TNode<HeapObject> table, TNode<IntPtrT> key_hash, in FindKeyIndexForInsertion() argument 2139 return FindKeyIndex(table, key_hash, entry_mask, is_not_live); in FindKeyIndexForInsertion()
|