Searched refs:hash_map_entry (Results 1 – 4 of 4) sorted by relevance
120 hash_map_entry_t *hash_map_entry = find_bucket_entry_(hash_bucket_list, key); in hash_map_has_key() local121 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() local139 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 …]
105 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_() argument251 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_()
168 bool hash_test_iter_ro_cb(hash_map_entry_t *hash_map_entry, void *context) { in hash_test_iter_ro_cb() argument169 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()
646 bool hash_iter_ro_cb(hash_map_entry_t *hash_map_entry, void *context) in hash_iter_ro_cb() argument648 alarm_t *alarm = (alarm_t *)hash_map_entry->data; in hash_iter_ro_cb()