Searched refs:hash_index_t (Results 1 – 7 of 7) sorted by relevance
23 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()
118 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()
23 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);
34 typedef size_t hash_index_t; typedef37 typedef hash_index_t (*hash_index_fn)(const void *key);
95 hash_index_t hash_function_bdaddr(const void *key) { in hash_function_bdaddr()96 hash_index_t hash = 5381; in hash_function_bdaddr()
30 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()
62 hash_index_t hash_function_bdaddr(const void *key);