Lines Matching refs:hash_key
117 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key() local
118 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key()
128 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_set() local
130 if (hash_map->bucket[hash_key].list == NULL) { in hash_map_set()
131 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_, hash_map->allocator); in hash_map_set()
132 if (hash_map->bucket[hash_key].list == NULL) in hash_map_set()
135 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_set()
160 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_erase() local
161 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase()
176 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_get() local
177 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_get()