Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Dset.c121 uint32_t (*key_hash_function)(const void *key), in _mesa_set_init()
131 ht->key_hash_function = key_hash_function; in _mesa_set_init()
142 uint32_t (*key_hash_function)(const void *key), in _mesa_set_create()
152 if (!_mesa_set_init(ht, ht, key_hash_function, key_equals_function)) { in _mesa_set_create()
295 assert(set->key_hash_function); in _mesa_set_search()
296 return set_search(set, set->key_hash_function(key), key); in _mesa_set_search()
303 assert(set->key_hash_function == NULL || in _mesa_set_search_pre_hashed()
304 hash == set->key_hash_function(key)); in _mesa_set_search_pre_hashed()
482 assert(set->key_hash_function); in _mesa_set_add()
483 return set_add(set, set->key_hash_function(key), key); in _mesa_set_add()
[all …]
Dhash_table.c151 uint32_t (*key_hash_function)(const void *key), in _mesa_hash_table_init()
161 ht->key_hash_function = key_hash_function; in _mesa_hash_table_init()
173 uint32_t (*key_hash_function)(const void *key), in _mesa_hash_table_create()
186 if (!_mesa_hash_table_init(ht, ht, key_hash_function, key_equals_function)) { in _mesa_hash_table_create()
347 assert(ht->key_hash_function); in _mesa_hash_table_search()
348 return hash_table_search(ht, ht->key_hash_function(key), key); in _mesa_hash_table_search()
355 assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key)); in _mesa_hash_table_search_pre_hashed()
508 assert(ht->key_hash_function); in _mesa_hash_table_insert()
509 return hash_table_insert(ht, ht->key_hash_function(key), key, data); in _mesa_hash_table_insert()
516 assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key)); in _mesa_hash_table_insert_pre_hashed()
Dset.h46 uint32_t (*key_hash_function)(const void *key); member
60 uint32_t (*key_hash_function)(const void *key),
66 uint32_t (*key_hash_function)(const void *key),
Dhash_table.h49 uint32_t (*key_hash_function)(const void *key); member
64 uint32_t (*key_hash_function)(const void *key),
71 uint32_t (*key_hash_function)(const void *key),