/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/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/tensorflow/tensorflow/core/framework/ |
D | local_rendezvous.cc | 111 uint64 key_hash = KeyHash(key.FullKey()); in Send() local 112 DVLOG(2) << "Send " << this << " " << key_hash << " " << key.FullKey(); in Send() 122 ItemQueue* queue = &table_[key_hash]; in Send() 142 table_.erase(key_hash); in Send() 159 uint64 key_hash = KeyHash(key.FullKey()); in RecvAsync() local 160 DVLOG(2) << "Recv " << this << " " << key_hash << " " << key.FullKey(); in RecvAsync() 171 ItemQueue* queue = &table_[key_hash]; in RecvAsync() 180 already_cancelled = !cm->RegisterCallback(token, [this, token, key_hash] { in RecvAsync() 184 ItemQueue* queue = &table_[key_hash]; in RecvAsync() 195 table_.erase(key_hash); in RecvAsync() [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/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()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cache.c | 37 key_hash(const void *_key) in key_hash() function 67 cache->ht = _mesa_hash_table_create(cache, key_hash, key_equals); in ir3_cache_create() 88 uint32_t hash = key_hash(key); in ir3_cache_lookup()
|
/external/mesa3d/src/util/tests/hash_table/ |
D | clear.c | 40 static uint32_t key_hash(const void *key) in key_hash() function 63 ht = _mesa_hash_table_create(NULL, key_hash, key_equal); in main()
|
/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/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/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/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/mesa3d/src/gallium/auxiliary/util/ |
D | u_live_shader_cache.c | 37 static uint32_t key_hash(const void *key) in key_hash() function 56 cache->hashtable = _mesa_hash_table_create(NULL, key_hash, key_equals); in util_live_shader_cache_init()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | ocsp.py | 40 key_hash = backend._ffi.new("ASN1_OCTET_STRING **") 43 key_hash, backend._ffi.NULL, cert_id 46 backend.openssl_assert(key_hash[0] != backend._ffi.NULL) 47 return _asn1_string_to_bytes(backend, key_hash[0])
|
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source.cc | 648 base::Hash key_hash; in WriteThreadStats() local 649 key_hash.Update(tid); in WriteThreadStats() 650 key_hash.Update(freq_index); in WriteThreadStats() 651 size_t key = key_hash.digest() % thread_time_in_state_cache_size_; in WriteThreadStats()
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_batch_cache.c | 100 key_hash(const void *_key) in key_hash() function 121 cache->ht = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd_bc_init() 406 uint32_t hash = key_hash(key); in batch_from_key()
|
/external/python/cpython3/Python/ |
D | hamt.c | 2310 int32_t key_hash; in _PyHamt_Assoc() local 2315 key_hash = hamt_hash(key); in _PyHamt_Assoc() 2316 if (key_hash == -1) { in _PyHamt_Assoc() 2322 0, key_hash, key, val, &added_leaf); in _PyHamt_Assoc() 2348 int32_t key_hash = hamt_hash(key); in _PyHamt_Without() local 2349 if (key_hash == -1) { in _PyHamt_Without() 2357 0, key_hash, key, in _PyHamt_Without() 2394 int32_t key_hash = hamt_hash(key); in hamt_find() local 2395 if (key_hash == -1) { in hamt_find() 2399 return hamt_node_find(o->h_root, 0, key_hash, key, val); in hamt_find()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.c | 389 key_hash(const void *_key) in key_hash() function 439 uint32_t hash = key_hash(&key); in fd6_texture_state() 509 fd6_ctx->tex_cache = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd6_texture_init()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_load_store_vectorize.c | 1289 uint32_t key_hash = hash_entry_key(entry->key); in process_block() local 1290 … struct hash_entry *adj_entry = _mesa_hash_table_search_pre_hashed(adj_ht, key_hash, entry->key); in process_block() 1297 _mesa_hash_table_insert_pre_hashed(adj_ht, key_hash, entry->key, arr); in process_block()
|