Home
last modified time | relevance | path

Searched refs:hash_map_entry (Results 1 – 4 of 4) sorted by relevance

/system/bt/osi/src/
Dhash_map.c120 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_has_key() local
121 return (hash_map_entry != NULL); in hash_map_has_key()
137 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_set() local
139 if (hash_map_entry) { in hash_map_set()
141 bool rc = list_remove(hash_bucket_list, hash_map_entry); in hash_map_set()
146 hash_map_entry = hash_map->allocator->alloc(sizeof(hash_map_entry_t)); in hash_map_set()
147 if (hash_map_entry == NULL) in hash_map_set()
150 hash_map_entry->key = key; in hash_map_set()
151 hash_map_entry->data = data; in hash_map_set()
152 hash_map_entry->hash_map = hash_map; in hash_map_set()
[all …]
/system/bt/btcore/src/
Dcounter.c105 static bool counter_foreach_cb_(hash_map_entry_t *hash_map_entry, void *context);
250 static bool counter_foreach_cb_(hash_map_entry_t *hash_map_entry, void *context) { in counter_foreach_cb_() argument
251 assert(hash_map_entry != NULL); in counter_foreach_cb_()
252 const char *key = (const char *)hash_map_entry->key; in counter_foreach_cb_()
253 counter_data_t data = *(counter_data_t *)hash_map_entry->data; in counter_foreach_cb_()
/system/bt/osi/test/
Dhash_map_test.cpp168 bool hash_test_iter_ro_cb(hash_map_entry_t *hash_map_entry, void *context) { in hash_test_iter_ro_cb() argument
169 const char *key = (const char *)hash_map_entry->key; in hash_test_iter_ro_cb()
170 char *data = (char *)hash_map_entry->data; in hash_test_iter_ro_cb()
/system/bt/bta/sys/
Dbta_sys_main.c646 bool hash_iter_ro_cb(hash_map_entry_t *hash_map_entry, void *context) in hash_iter_ro_cb() argument
648 alarm_t *alarm = (alarm_t *)hash_map_entry->data; in hash_iter_ro_cb()