Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dhash_functions.c23 hash_index_t hash_function_naive(const void *key) { in hash_function_naive()
24 return (hash_index_t)key; in hash_function_naive()
27 hash_index_t hash_function_integer(const void *key) { in hash_function_integer()
28 return ((hash_index_t)key) * 2654435761; in hash_function_integer()
31 hash_index_t hash_function_pointer(const void *key) { in hash_function_pointer()
32 return ((hash_index_t)key) * 2654435761; in hash_function_pointer()
35 hash_index_t hash_function_string(const void *key) { in hash_function_string()
36 hash_index_t hash = 5381; in hash_function_string()
Dhash_map.c118 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_has_key()
129 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_set()
161 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_erase()
177 hash_index_t hash_key = hash_map->hash_fn(key) % hash_map->num_bucket; in hash_map_get()
190 for (hash_index_t i = 0; i < hash_map->num_bucket; i++){ in hash_map_clear()
202 for (hash_index_t i = 0; i < hash_map->num_bucket; ++i){ in hash_map_foreach()
/system/bt/osi/include/
Dhash_functions.h23 hash_index_t hash_function_naive(const void *key);
25 hash_index_t hash_function_integer(const void *key);
28 hash_index_t hash_function_pointer(const void *key);
30 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);
/system/bt/btcore/src/
Dbdaddr.c95 hash_index_t hash_function_bdaddr(const void *key) { in hash_function_bdaddr()
96 hash_index_t hash = 5381; in hash_function_bdaddr()
/system/bt/osi/test/
Dhash_map_test.cpp30 hash_index_t hash_map_fn00(const void *key) { in hash_map_fn00()
31 hash_index_t hash_key = (hash_index_t)key; in hash_map_fn00()
/system/bt/btcore/include/
Dbdaddr.h62 hash_index_t hash_function_bdaddr(const void *key);