Home
last modified time | relevance | path

Searched refs:hash_key (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dhash_map.c118 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key() local
119 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() local
131 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() local
162 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 …]
/system/bt/osi/test/
Dhash_map_test.cpp31 hash_index_t hash_key = (hash_index_t)key; in hash_map_fn00() local
32 return hash_key; in hash_map_fn00()