Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dhash_map.c48 static hash_map_entry_t *find_bucket_entry_(list_t *hash_bucket_list,
119 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key() local
121 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_has_key()
136 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_set() local
138 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_set()
142 UNUSED_ATTR bool rc = list_remove(hash_bucket_list, hash_map_entry); in hash_map_set()
155 return list_append(hash_bucket_list, hash_map_entry); in hash_map_set()
162 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase() local
164 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_erase()
171 return list_remove(hash_bucket_list, hash_map_entry); in hash_map_erase()
[all …]