Searched refs:hash_key (Results 1 – 2 of 2) sorted by relevance
117 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key() local118 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() local130 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() local161 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[all …]
31 hash_index_t hash_key = (hash_index_t)key; in hash_map_fn00() local32 return hash_key; in hash_map_fn00()