Home
last modified time | relevance | path

Searched refs:hash_func (Results 1 – 24 of 24) sorted by relevance

/third_party/boost/boost/intrusive/
Dunordered_set.hpp77 …ator> priv_equal_range(MaybeConstThis &c, const KeyType& key, KeyHasher hash_func, KeyEqual equal_… in priv_equal_range() argument
79 Iterator const it = c.find(key, hash_func, equal_func); in priv_equal_range()
124 , const hasher & hash_func = hasher() in unordered_set_impl() argument
127 : table_type(b_traits, hash_func, equal_func, v_traits) in unordered_set_impl()
135 , const hasher & hash_func = hasher() in unordered_set_impl() argument
138 : table_type(true, b, e, b_traits, hash_func, equal_func, v_traits) in unordered_set_impl()
238 size_type erase(const KeyType& key, KeyHasher hash_func, KeyEqual equal_func);
256 …size_type erase_and_dispose(const KeyType& key, KeyHasher hash_func, KeyEqual equal_func, Disposer…
270 size_type count(const KeyType& key, KeyHasher hash_func, KeyEqual equal_func) const;
277 iterator find(const KeyType& key, KeyHasher hash_func, KeyEqual equal_func);
[all …]
Dhashtable.hpp1808 , const hasher & hash_func = hasher() in hashtable_impl() argument
1811 : internal_type(v_traits, b_traits, hash_func, equal_func) in hashtable_impl()
1841 , const hasher & hash_func = hasher() in hashtable_impl() argument
1844 : internal_type(v_traits, b_traits, hash_func, equal_func) in hashtable_impl()
2205 , KeyHasher hash_func in insert_unique_check() argument
2211 …siterator const pos = this->priv_find(key, hash_func, equal_func, bucket_num, commit_data.hash, pr… in insert_unique_check()
2339 …BOOST_INTRUSIVE_FORCEINLINE size_type erase(const KeyType& key, KeyHasher hash_func, KeyEqual equa… in erase() argument
2340 { return this->erase_and_dispose(key, hash_func, equal_func, detail::null_disposer()); } in erase()
2445 size_type erase_and_dispose(const KeyType& key, KeyHasher hash_func in erase_and_dispose() argument
2451 siterator it = this->priv_find(key, hash_func, equal_func, bucket_num, h, prev); in erase_and_dispose()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dhashmap.c44 pa_hash_func_t hash_func; member
58 pa_hashmap *pa_hashmap_new_full(pa_hash_func_t hash_func, pa_compare_func_t compare_func, pa_free_c… in pa_hashmap_new_full() argument
63 h->hash_func = hash_func ? hash_func : pa_idxset_trivial_hash_func; in pa_hashmap_new_full()
75 pa_hashmap *pa_hashmap_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func) { in pa_hashmap_new() argument
76 return pa_hashmap_new_full(hash_func, compare_func, NULL, NULL); in pa_hashmap_new()
101 unsigned hash = h->hash_func(e->key) % NBUCKETS; in remove_entry()
140 hash = h->hash_func(key) % NBUCKETS; in pa_hashmap_put()
182 hash = h->hash_func(key) % NBUCKETS; in pa_hashmap_get()
197 hash = h->hash_func(key) % NBUCKETS; in pa_hashmap_remove()
Didxset.c47 pa_hash_func_t hash_func; member
83 pa_idxset* pa_idxset_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func) { in pa_idxset_new() argument
88 s->hash_func = hash_func ? hash_func : pa_idxset_trivial_hash_func; in pa_idxset_new()
120 unsigned hash = s->hash_func(e->data) % NBUCKETS; in remove_entry()
178 hash = s->hash_func(p) % NBUCKETS; in pa_idxset_put()
250 hash = s->hash_func(p) % NBUCKETS; in pa_idxset_get_by_data()
286 hash = s->hash_func(data) % NBUCKETS; in pa_idxset_remove_by_data()
465 copy = pa_idxset_new(s->hash_func, s->compare_func); in pa_idxset_copy()
Dhashmap.h35 pa_hashmap *pa_hashmap_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func);
39 pa_hashmap *pa_hashmap_new_full(pa_hash_func_t hash_func, pa_compare_func_t compare_func, pa_free_c…
Didxset.h55 pa_idxset* pa_idxset_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func);
Ddatabase-simple.c71 static unsigned hash_func(const void *p) { in hash_func() function
241 db->map = pa_hashmap_new_full(hash_func, compare_func, NULL, (pa_free_cb_t) free_entry); in pa_database_open_internal()
/third_party/python/Python/
Dhashtable.c134 Py_uhash_t key_hash = ht->hash_func(key); in _Py_hashtable_get_entry_generic()
176 Py_uhash_t key_hash = ht->hash_func(key); in _Py_hashtable_steal()
228 entry->key_hash = ht->hash_func(key); in _Py_hashtable_set()
298 assert(ht->hash_func(entry->key) == entry->key_hash); in hashtable_rehash()
316 _Py_hashtable_new_full(_Py_hashtable_hash_func hash_func, in _Py_hashtable_new_full() argument
348 ht->hash_func = hash_func; in _Py_hashtable_new_full()
353 if (ht->hash_func == _Py_hashtable_hash_ptr in _Py_hashtable_new_full()
363 _Py_hashtable_new(_Py_hashtable_hash_func hash_func, in _Py_hashtable_new() argument
366 return _Py_hashtable_new_full(hash_func, compare_func, in _Py_hashtable_new()
/third_party/openssl/crypto/objects/
Do_names.c50 unsigned long (*hash_func) (const char *name); member
87 int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *), in OBJ_NAME_new_index()
119 name_funcs->hash_func = openssl_lh_strcasehash; in OBJ_NAME_new_index()
134 if (hash_func != NULL) in OBJ_NAME_new_index()
135 name_funcs->hash_func = hash_func; in OBJ_NAME_new_index()
170 a->type)->hash_func(a->name); in obj_name_hash()
/third_party/python/Include/internal/
Dpycore_hashtable.h66 _Py_hashtable_hash_func hash_func; member
82 _Py_hashtable_hash_func hash_func,
86 _Py_hashtable_hash_func hash_func,
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dghash.c73 GHashFunc hash_func; member
127 g_hash_table_new (GHashFunc hash_func, in g_hash_table_new() argument
130 return g_hash_table_new_full (hash_func, key_equal_func, NULL, NULL); in g_hash_table_new()
152 g_hash_table_new_full (GHashFunc hash_func, in g_hash_table_new_full() argument
162 hash_table->hash_func = hash_func; in g_hash_table_new_full()
255 [(* hash_table->hash_func) (key) % hash_table->size]; in g_hash_table_lookup_node()
767 hash_val = (* hash_table->hash_func) (node->key) % new_size; in g_hash_table_resize()
Dghash.in.h55 GHashTable* g_hash_table_new (GHashFunc hash_func,
57 GHashTable* g_hash_table_new_full (GHashFunc hash_func,
/third_party/grpc/test/core/gpr/
Dmurmur_hash_test.cc26 typedef uint32_t (*hash_func)(const void* key, size_t len, uint32_t seed); typedef
32 static void verification_test(hash_func hash, uint32_t expected) { in verification_test()
/third_party/glib/glib/
Dghash.h57 GHashTable* g_hash_table_new (GHashFunc hash_func,
60 GHashTable* g_hash_table_new_full (GHashFunc hash_func,
Dghash.c271 GHashFunc hash_func; member
472 hash_value = hash_table->hash_func (key); in g_hash_table_lookup_node()
1031 g_hash_table_new (GHashFunc hash_func, in g_hash_table_new() argument
1034 return g_hash_table_new_full (hash_func, key_equal_func, NULL, NULL); in g_hash_table_new()
1064 g_hash_table_new_full (GHashFunc hash_func, in g_hash_table_new_full() argument
1075 hash_table->hash_func = hash_func ? hash_func : g_direct_hash; in g_hash_table_new_full()
/third_party/boost/libs/numeric/odeint/examples/
Dmolecular_dynamics_cells.cpp138 boost::get< 2 >( t ) = hash_func( boost::get< 1 >( t ) , m_p ); in operator ()()
184 size_t cell_hash = hash_func( cell_index , m_p ); in operator ()()
305 static inline size_t hash_func( index_type index , params const & p ) in hash_func() function in md_system_bs
/third_party/glib/glib/deprecated/
Dgrel.h74 GHashFunc hash_func,
Dgrel.c275 GHashFunc hash_func, in g_relation_index() argument
282 relation->hashed_tuple_tables[field] = g_hash_table_new (hash_func, key_equal_func); in g_relation_index()
/third_party/curl/lib/
Dhash.c67 h->hash_func = hfunc; in Curl_hash_init()
99 #define FETCH_LIST(x,y,z) &x->table[x->hash_func(y, z, x->slots)]
Dhash.h50 hash_function hash_func; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_crypto.c589 int *hash_func) in dpp_parse_jws_prot_hdr() argument
636 *hash_func = CRYPTO_HASH_ALG_SHA256; in dpp_parse_jws_prot_hdr()
639 *hash_func = CRYPTO_HASH_ALG_SHA384; in dpp_parse_jws_prot_hdr()
642 *hash_func = CRYPTO_HASH_ALG_SHA512; in dpp_parse_jws_prot_hdr()
644 *hash_func = -1; in dpp_parse_jws_prot_hdr()
708 int res, hash_func = -1; in dpp_process_signed_connector() local
735 kid = dpp_parse_jws_prot_hdr(curve, prot_hdr, prot_hdr_len, &hash_func); in dpp_process_signed_connector()
796 if (hash_func == CRYPTO_HASH_ALG_SHA256) in dpp_process_signed_connector()
799 else if (hash_func == CRYPTO_HASH_ALG_SHA384) in dpp_process_signed_connector()
802 else if (hash_func == CRYPTO_HASH_ALG_SHA512) in dpp_process_signed_connector()
/third_party/openssl/include/openssl/
Dobjects.h45 int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *),
/third_party/glib/glib/tests/
Dhash.c888 hash_func (gconstpointer key) in hash_func() function
945 h = g_hash_table_new_full (hash_func, eq_func, key_unref, key_unref); in set_ref_hash_test()
1363 GHashFunc hash_func; member
1419 …g_assert_cmpint (h->hashes[i], ==, h->hash_func (fetch_key_or_value (h->keys, i, h->have_big_keys)… in check_data()
/third_party/python/Modules/
D_tracemalloc.c239 hashtable_new(_Py_hashtable_hash_func hash_func, in hashtable_new() argument
245 return _Py_hashtable_new_full(hash_func, compare_func, in hashtable_new()