Home
last modified time | relevance | path

Searched refs:key_hash_function (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/util/
Dset.c107 uint32_t (*key_hash_function)(const void *key), in _mesa_set_create()
121 ht->key_hash_function = key_hash_function; in _mesa_set_create()
193 assert(set->key_hash_function); in _mesa_set_search()
194 return set_search(set, set->key_hash_function(key), key); in _mesa_set_search()
201 assert(set->key_hash_function == NULL || in _mesa_set_search_pre_hashed()
202 hash == set->key_hash_function(key)); in _mesa_set_search_pre_hashed()
315 assert(set->key_hash_function); in _mesa_set_add()
316 return set_add(set, set->key_hash_function(key), key); in _mesa_set_add()
322 assert(set->key_hash_function == NULL || in _mesa_set_add_pre_hashed()
323 hash == set->key_hash_function(key)); in _mesa_set_add_pre_hashed()
Dhash_table.c115 uint32_t (*key_hash_function)(const void *key), in _mesa_hash_table_create()
129 ht->key_hash_function = key_hash_function; in _mesa_hash_table_create()
245 assert(ht->key_hash_function); in _mesa_hash_table_search()
246 return hash_table_search(ht, ht->key_hash_function(key), key); in _mesa_hash_table_search()
253 assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key)); in _mesa_hash_table_search_pre_hashed()
371 assert(ht->key_hash_function); in _mesa_hash_table_insert()
372 return hash_table_insert(ht, ht->key_hash_function(key), key, data); in _mesa_hash_table_insert()
379 assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key)); in _mesa_hash_table_insert_pre_hashed()
569 deleted_entry.hash = table->key_hash_function(table->deleted_key); in _mesa_hash_table_u64_destroy()
Dset.h46 uint32_t (*key_hash_function)(const void *key); member
58 uint32_t (*key_hash_function)(const void *key),
Dhash_table.h49 uint32_t (*key_hash_function)(const void *key); member
62 uint32_t (*key_hash_function)(const void *key),