/third_party/libnl/lib/ |
D | hashtable.c | 91 uint32_t key_hash; in nl_hash_table_lookup() local 93 nl_object_keygen(obj, &key_hash, ht->size); in nl_hash_table_lookup() 94 node = ht->nodes[key_hash]; in nl_hash_table_lookup() 121 uint32_t key_hash; in nl_hash_table_add() local 123 nl_object_keygen(obj, &key_hash, ht->size); in nl_hash_table_add() 124 node = ht->nodes[key_hash]; in nl_hash_table_add() 135 obj, ht, key_hash); in nl_hash_table_add() 142 node->key = key_hash; in nl_hash_table_add() 144 node->next = ht->nodes[key_hash]; in nl_hash_table_add() 145 ht->nodes[key_hash] = node; in nl_hash_table_add() [all …]
|
/third_party/python/Python/ |
D | hashtable.c | 134 Py_uhash_t key_hash = ht->hash_func(key); in _Py_hashtable_get_entry_generic() local 135 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_generic() 141 if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) { in _Py_hashtable_get_entry_generic() 156 Py_uhash_t key_hash = _Py_hashtable_hash_ptr(key); in _Py_hashtable_get_entry_ptr() local 157 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_get_entry_ptr() 176 Py_uhash_t key_hash = ht->hash_func(key); in _Py_hashtable_steal() local 177 size_t index = key_hash & (ht->nbuckets - 1); in _Py_hashtable_steal() 186 if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) { in _Py_hashtable_steal() 228 entry->key_hash = ht->hash_func(key); in _Py_hashtable_set() 241 size_t index = entry->key_hash & (ht->nbuckets - 1); in _Py_hashtable_set() [all …]
|
D | hamt.c | 2290 int32_t key_hash; in _PyHamt_Assoc() local 2295 key_hash = hamt_hash(key); in _PyHamt_Assoc() 2296 if (key_hash == -1) { in _PyHamt_Assoc() 2302 0, key_hash, key, val, &added_leaf); in _PyHamt_Assoc() 2328 int32_t key_hash = hamt_hash(key); in _PyHamt_Without() local 2329 if (key_hash == -1) { in _PyHamt_Without() 2337 0, key_hash, key, in _PyHamt_Without() 2374 int32_t key_hash = hamt_hash(key); in hamt_find() local 2375 if (key_hash == -1) { in hamt_find() 2379 return hamt_node_find(o->h_root, 0, key_hash, key, val); in hamt_find()
|
/third_party/boost/boost/unordered/detail/ |
D | implementation.hpp | 3574 node_pointer find_node(std::size_t key_hash, const_key_type& k) const in find_node() 3576 return this->find_node_impl(key_hash, k, this->key_eq()); in find_node() 3586 std::size_t key_hash, Key const& k, Pred const& eq) const in find_node_impl() 3588 std::size_t bucket_index = this->hash_to_bucket(key_hash); in find_node_impl() 3636 std::size_t key_hash = this->hash(k); in extract_by_key() local 3637 std::size_t bucket_index = this->hash_to_bucket(key_hash); in extract_by_key() 3685 node_pointer n, std::size_t key_hash) in add_node_unique() 3687 std::size_t bucket_index = this->hash_to_bucket(key_hash); in add_node_unique() 3714 node_pointer n, std::size_t key_hash) in resize_and_add_node_unique() 3718 return this->add_node_unique(b.release(), key_hash); in resize_and_add_node_unique() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 192 key_hash = hdr.payload; in tls_process_ocsp_single_response() 194 wpa_hexdump(MSG_DEBUG, "OCSP: issuerKeyHash", key_hash, key_hash_len); in tls_process_ocsp_single_response() 200 os_memcmp(key_hash, hash, hash_len) != 0) { in tls_process_ocsp_single_response() 350 const u8 *resp_data, *sign_value, *key_hash = NULL, *responses; in tls_process_basic_ocsp_response() local 521 key_hash = hdr.payload; in tls_process_basic_ocsp_response() 523 key_hash, hdr.length); in tls_process_basic_ocsp_response() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_vertex_state_cache.c | 30 static uint32_t key_hash(const void *key) in key_hash() function 51 cache->set = _mesa_set_create(NULL, key_hash, key_equals); in util_vertex_state_cache_init() 92 uint32_t hash = key_hash(&key); in util_vertex_state_cache_get() 111 assert(key_hash(state) == hash); in util_vertex_state_cache_get()
|
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()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 436 uint32_t key_hash) { in AddKeyWithIndex() argument 437 UpdateAddOrEvict<SliceRefComparator>(c->key_table.entries, key_ref, key_hash, in AddKeyWithIndex() 444 uint32_t key_hash) { in AddElemWithIndex() argument 448 AddKeyWithIndex(c, GRPC_MDKEY(elem).refcount, new_index, key_hash); in AddElemWithIndex() 452 size_t elem_size, uint32_t elem_hash, uint32_t key_hash) { in add_elem() argument 455 AddElemWithIndex(c, elem, new_index, elem_hash, key_hash); in add_elem() 460 size_t elem_size, uint32_t key_hash) { in add_key() argument 463 AddKeyWithIndex(c, GRPC_MDKEY(elem).refcount, new_index, key_hash); in add_key() 668 uint32_t elem_hash, uint32_t key_hash) { in emit_maybe_add() argument 671 add_elem(c, elem, decoder_space_usage, elem_hash, key_hash); in emit_maybe_add() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cache.c | 36 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() 92 uint32_t hash = key_hash(key); in ir3_cache_lookup()
|
/third_party/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()
|
/third_party/glib/glib/tests/ |
D | cache.c | 65 key_hash (gconstpointer key) in key_hash() function 117 key_hash, value_hash, key_equal); in test_cache_basic()
|
/third_party/python/Include/internal/ |
D | pycore_hashtable.h | 32 Py_uhash_t key_hash; member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_texture.c | 370 key_hash(const void *_key) in key_hash() function 426 uint32_t hash = key_hash(&key); in fd6_texture_state() 508 fd6_ctx->tex_cache = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd6_texture_init()
|
/third_party/glib/glib/ |
D | ghash.c | 1267 guint key_hash, in g_hash_table_insert_node() argument 1321 hash_table->hashes[node_index] = key_hash; in g_hash_table_insert_node() 1593 guint key_hash; in g_hash_table_insert_internal() local 1598 node_index = g_hash_table_lookup_node (hash_table, key, &key_hash); in g_hash_table_insert_internal() 1600 …return g_hash_table_insert_node (hash_table, node_index, key_hash, key, value, keep_new_key, FALSE… in g_hash_table_insert_internal()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_load_store_vectorize.c | 1376 uint32_t key_hash = hash_entry_key(entry->key); in process_block() local 1377 … struct hash_entry *adj_entry = _mesa_hash_table_search_pre_hashed(adj_ht, key_hash, entry->key); in process_block() 1384 _mesa_hash_table_insert_pre_hashed(adj_ht, key_hash, entry->key, arr); in process_block()
|