Searched refs:hash_fn (Results 1 – 5 of 5) sorted by relevance
/system/bt/osi/src/ |
D | hash_map.c | 36 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()
|
D | allocation_tracker.c | 45 hash_index_fn hash_fn,
|
/system/bt/service/common/bluetooth/ |
D | uuid.h | 105 std::hash<std::string> hash_fn; 106 return hash_fn(std::string((char *)uuid_bytes.data(), uuid_bytes.size()));
|
/system/update_engine/payload_generator/ |
D | block_mapping.cc | 35 std::hash<string> hash_fn; in HashValue() local 36 return hash_fn(string(blob.begin(), blob.end())); in HashValue()
|
/system/bt/osi/include/ |
D | hash_map.h | 56 hash_index_fn hash_fn,
|