Lines Matching refs:key

60         const void *next_key; /* expected value of that entry's key pointer */
141 int hashmap_put(Hashmap *h, const void *key, void *value);
142 static inline int ordered_hashmap_put(OrderedHashmap *h, const void *key, void *value) {
143 return hashmap_put(PLAIN_HASHMAP(h), key, value);
146 int hashmap_update(Hashmap *h, const void *key, void *value);
147 static inline int ordered_hashmap_update(OrderedHashmap *h, const void *key, void *value) {
148 return hashmap_update(PLAIN_HASHMAP(h), key, value);
151 int hashmap_replace(Hashmap *h, const void *key, void *value);
152 static inline int ordered_hashmap_replace(OrderedHashmap *h, const void *key, void *value) {
153 return hashmap_replace(PLAIN_HASHMAP(h), key, value);
156 void *internal_hashmap_get(HashmapBase *h, const void *key);
157 static inline void *hashmap_get(Hashmap *h, const void *key) {
158 return internal_hashmap_get(HASHMAP_BASE(h), key);
160 static inline void *ordered_hashmap_get(OrderedHashmap *h, const void *key) {
161 return internal_hashmap_get(HASHMAP_BASE(h), key);
164 void *hashmap_get2(Hashmap *h, const void *key, void **rkey);
165 static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **rkey) {
166 return hashmap_get2(PLAIN_HASHMAP(h), key, rkey);
169 bool internal_hashmap_contains(HashmapBase *h, const void *key);
170 static inline bool hashmap_contains(Hashmap *h, const void *key) {
171 return internal_hashmap_contains(HASHMAP_BASE(h), key);
173 static inline bool ordered_hashmap_contains(OrderedHashmap *h, const void *key) {
174 return internal_hashmap_contains(HASHMAP_BASE(h), key);
177 void *internal_hashmap_remove(HashmapBase *h, const void *key);
178 static inline void *hashmap_remove(Hashmap *h, const void *key) {
179 return internal_hashmap_remove(HASHMAP_BASE(h), key);
181 static inline void *ordered_hashmap_remove(OrderedHashmap *h, const void *key) {
182 return internal_hashmap_remove(HASHMAP_BASE(h), key);
185 void *hashmap_remove2(Hashmap *h, const void *key, void **rkey);
186 static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **rkey) {
187 return hashmap_remove2(PLAIN_HASHMAP(h), key, rkey);
190 void *hashmap_remove_value(Hashmap *h, const void *key, void *value);
191 static inline void *ordered_hashmap_remove_value(OrderedHashmap *h, const void *key, void *value) {
192 return hashmap_remove_value(PLAIN_HASHMAP(h), key, value);
228 int internal_hashmap_move_one(HashmapBase *h, HashmapBase *other, const void *key);
229 static inline int hashmap_move_one(Hashmap *h, Hashmap *other, const void *key) {
230 return internal_hashmap_move_one(HASHMAP_BASE(h), HASHMAP_BASE(other), key);
232 static inline int ordered_hashmap_move_one(OrderedHashmap *h, OrderedHashmap *other, const void *key) {
233 return internal_hashmap_move_one(HASHMAP_BASE(h), HASHMAP_BASE(other), key);
259 bool internal_hashmap_iterate(HashmapBase *h, Iterator *i, void **value, const void **key);
260 static inline bool hashmap_iterate(Hashmap *h, Iterator *i, void **value, const void **key) {
261 return internal_hashmap_iterate(HASHMAP_BASE(h), i, value, key);
263 static inline bool ordered_hashmap_iterate(OrderedHashmap *h, Iterator *i, void **value, const void **key) {
264 return internal_hashmap_iterate(HASHMAP_BASE(h), i, value, key);
332 void *ordered_hashmap_next(OrderedHashmap *h, const void *key);