Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/common/osi/
Dhash_functions.c23 hash_index_t hash_function_naive(const void *key) in hash_function_naive()
25 return (hash_index_t)key; in hash_function_naive()
28 hash_index_t hash_function_integer(const void *key) in hash_function_integer()
30 return ((hash_index_t)key) * 2654435761; in hash_function_integer()
33 hash_index_t hash_function_pointer(const void *key) in hash_function_pointer()
35 return ((hash_index_t)key) * 2654435761; in hash_function_pointer()
38 hash_index_t hash_function_string(const void *key) in hash_function_string()
40 hash_index_t hash = 5381; in hash_function_string()
Dhash_map.c119 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key()
131 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_set()
167 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_erase()
189 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_get()
204 for (hash_index_t i = 0; i < hash_map->num_bucket; i++) { in hash_map_clear()
218 for (hash_index_t i = 0; i < hash_map->num_bucket; ++i) { in hash_map_foreach()
/hal_espressif-3.6.0/components/bt/common/osi/include/osi/
Dhash_functions.h26 hash_index_t hash_function_naive(const void *key);
28 hash_index_t hash_function_integer(const void *key);
31 hash_index_t hash_function_pointer(const void *key);
33 hash_index_t hash_function_string(const void *key);
Dhash_map.h34 typedef size_t hash_index_t; typedef
37 typedef hash_index_t (*hash_index_fn)(const void *key);
/hal_espressif-3.6.0/components/bt/host/bluedroid/device/
Dbdaddr.c118 hash_index_t hash_function_bdaddr(const void *key) in hash_function_bdaddr()
120 hash_index_t hash = 5381; in hash_function_bdaddr()
/hal_espressif-3.6.0/components/bt/host/bluedroid/device/include/device/
Dbdaddr.h61 hash_index_t hash_function_bdaddr(const void *key);