Searched refs:hash_key (Results 1 – 2 of 2) sorted by relevance
118 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key() local119 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key()129 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_set() local131 if (hash_map->bucket[hash_key].list == NULL) { in hash_map_set()132 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_, hash_map->allocator); in hash_map_set()133 if (hash_map->bucket[hash_key].list == NULL) in hash_map_set()136 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_set()161 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_erase() local162 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase()177 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_get() local[all …]
31 hash_index_t hash_key = (hash_index_t)key; in hash_map_fn00() local32 return hash_key; in hash_map_fn00()