Home
last modified time | relevance | path

Searched refs:key_hash (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Python/
Dhashtable.c134 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 …]
Dhamt.c2290 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/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client_ocsp.c51 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/
Du_vertex_state_cache.c30 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()
87 uint32_t hash = key_hash(&key); in util_vertex_state_cache_get()
106 assert(key_hash(state) == hash); in util_vertex_state_cache_get()
Du_live_shader_cache.c37 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/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_ocsp.c51 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/
Dir3_cache.c36 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/
Dclear.c40 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/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_texture.c315 key_hash(const void *_key) in key_hash() function
371 uint32_t hash = key_hash(&key); in fd6_texture_state()
453 fd6_ctx->tex_cache = _mesa_hash_table_create(NULL, key_hash, key_equals); in fd6_texture_init()
/third_party/python/Include/internal/
Dpycore_hashtable.h32 Py_uhash_t key_hash; member
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_load_store_vectorize.c1493 uint32_t key_hash = hash_entry_key(entry->key); in process_block() local
1494 … struct hash_entry *adj_entry = _mesa_hash_table_search_pre_hashed(adj_ht, key_hash, entry->key); in process_block()
1501 _mesa_hash_table_insert_pre_hashed(adj_ht, key_hash, entry->key, arr); in process_block()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h49741 unsigned int key_hash; member
49774 u32 key_hash; member