Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dhash_map.c121 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_has_key() local
122 return (hash_map_entry != NULL); in hash_map_has_key()
138 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_set() local
140 if (hash_map_entry) { in hash_map_set()
142 UNUSED_ATTR bool rc = list_remove(hash_bucket_list, hash_map_entry); in hash_map_set()
147 hash_map_entry = hash_map->allocator->alloc(sizeof(hash_map_entry_t)); in hash_map_set()
148 if (hash_map_entry == NULL) in hash_map_set()
151 hash_map_entry->key = key; in hash_map_set()
152 hash_map_entry->data = data; in hash_map_set()
153 hash_map_entry->hash_map = hash_map; in hash_map_set()
[all …]
Dhash_map_utils.c100 hash_map_entry_t *hash_map_entry = (hash_map_entry_t *)entry; in dump_entry() local
101 LOG_INFO(LOG_TAG, "key: '%s' value: '%s'\n", (char *)hash_map_entry->key, in dump_entry()
102 (char *)hash_map_entry->data); in dump_entry()
/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()