Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_co.c87 hash_key_t hash_key; member
124 hash_key_t hash_key = {0}; in cacheOpen() local
130 memcpy(hash_key, cache_env->cache_addr[*index].hash_key, sizeof(hash_key_t)); in cacheOpen()
131 getFilename(fname, hash_key); in cacheOpen()
197 cache_env->cache_addr[i].hash_key, sizeof(hash_key_t)); in cacheReset()
319 hash_key_t hash_key = {0}; in bta_gattc_co_cache_save() local
322 hash_function_blob((unsigned char *)p_attr_list, sizeof(tBTA_GATTC_NV_ATTR)*num_attr, hash_key); in bta_gattc_co_cache_save()
324 bta_gattc_co_cache_addr_save(server_bda, hash_key); in bta_gattc_co_cache_save()
337 … = %x%x%x%x, num_attr = %d, status = %d.", __func__, hash_key[0], hash_key[1], hash_key[2], hash_k… in bta_gattc_co_cache_save()
419 memcpy(cache_env->cache_addr[i].hash_key, in bta_gattc_co_cache_addr_init()
[all …]
/hal_espressif-3.6.0/components/bt/common/osi/
Dhash_map.c119 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key() local
120 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_has_key()
131 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_set() local
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()
167 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_erase() local
168 list_t *hash_bucket_list = hash_map->bucket[hash_key].list; in hash_map_erase()
177 if(list_is_empty(hash_map->bucket[hash_key].list)) { in hash_map_erase()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_gattc_co.h122 extern uint8_t bta_gattc_co_find_hash_in_cache(hash_key_t hash_key);
128 extern void bta_gattc_co_cache_addr_save(BD_ADDR bd_addr, hash_key_t hash_key);