Lines Matching refs:cur
168 #define hashmap__for_each_entry(map, cur, bkt) \ argument
170 for (cur = map->buckets[bkt]; cur; cur = cur->next)
180 #define hashmap__for_each_entry_safe(map, cur, tmp, bkt) \ argument
182 for (cur = map->buckets[bkt]; \
183 cur && ({tmp = cur->next; true; }); \
184 cur = tmp)
192 #define hashmap__for_each_key_entry(map, cur, _key) \ argument
193 for (cur = map->buckets \
196 cur; \
197 cur = cur->next) \
198 if (map->equal_fn(cur->key, (_key), map->ctx))
200 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \ argument
201 for (cur = map->buckets \
204 cur && ({ tmp = cur->next; true; }); \
205 cur = tmp) \
206 if (map->equal_fn(cur->key, (_key), map->ctx))