Searched refs:hash_fn (Results 1 – 2 of 2) sorted by relevance
34 hash_index_fn hash_fn; member52 hash_index_fn hash_fn, in hash_map_new_internal() argument57 assert(hash_fn != NULL); in hash_map_new_internal()64 hash_map->hash_fn = hash_fn; in hash_map_new_internal()80 hash_index_fn hash_fn, in hash_map_new() argument85 return hash_map_new_internal(num_bucket, hash_fn, key_fn, data_fn, equality_fn); in hash_map_new()119 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key()131 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_set()167 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_erase()189 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_get()
56 hash_index_fn hash_fn,