Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dhash_map.c36 hash_index_fn hash_fn; member
55 hash_index_fn hash_fn, in hash_map_new_internal() argument
60 assert(hash_fn != NULL); in hash_map_new_internal()
68 hash_map->hash_fn = hash_fn; in hash_map_new_internal()
85 hash_index_fn hash_fn, in hash_map_new() argument
89 …return hash_map_new_internal(num_bucket, hash_fn, key_fn, data_fn, equality_fn, &allocator_calloc); in hash_map_new()
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()
Dallocation_tracker.c45 hash_index_fn hash_fn,
/system/bt/service/common/bluetooth/
Duuid.h105 std::hash<std::string> hash_fn;
106 return hash_fn(std::string((char *)uuid_bytes.data(), uuid_bytes.size()));
/system/update_engine/payload_generator/
Dblock_mapping.cc35 std::hash<string> hash_fn; in HashValue() local
36 return hash_fn(string(blob.begin(), blob.end())); in HashValue()
/system/bt/osi/include/
Dhash_map.h56 hash_index_fn hash_fn,