Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/common/osi/
Dhash_map.c31 hash_map_bucket_t *bucket; member
70 hash_map->bucket = osi_calloc(sizeof(hash_map_bucket_t) * num_bucket); in hash_map_new_internal()
71 if (hash_map->bucket == NULL) { in hash_map_new_internal()
94 osi_free(hash_map->bucket); in hash_map_free()
120 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key()
133 if (hash_map->bucket[hash_key].list == NULL) { in hash_map_set()
134 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_); in hash_map_set()
135 if (hash_map->bucket[hash_key].list == NULL) { in hash_map_set()
139 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_set()
168 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase()
[all …]