Lines Matching refs:hash_fn
38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn,
41 map->hash_fn = hash_fn;
51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
59 hashmap__init(map, hash_fn, equal_fn, ctx);
118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits);
167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);