Lines Matching refs:entry
25 struct hashmap_entry *entry)
27 entry->next = *pprev;
28 *pprev = entry;
32 struct hashmap_entry *entry)
34 *pprev = entry->next;
35 entry->next = NULL;
133 struct hashmap_entry **entry)
146 *entry = cur;
158 struct hashmap_entry *entry;
169 hashmap_find_entry(map, key, h, NULL, &entry)) {
171 *old_key = entry->key;
173 *old_value = entry->value;
176 entry->key = key;
177 entry->value = value;
194 entry = malloc(sizeof(struct hashmap_entry));
195 if (!entry)
198 entry->key = key;
199 entry->value = value;
200 hashmap_add_entry(&map->buckets[h], entry);
208 struct hashmap_entry *entry;
212 if (!hashmap_find_entry(map, key, h, NULL, &entry))
216 *value = entry->value;
223 struct hashmap_entry **pprev, *entry;
227 if (!hashmap_find_entry(map, key, h, &pprev, &entry))
231 *old_key = entry->key;
233 *old_value = entry->value;
235 hashmap_del_entry(pprev, entry);
236 free(entry);