Lines Matching refs:cur
155 #define hashmap__for_each_entry(map, cur, bkt) \ argument
157 for (cur = map->buckets[bkt]; cur; cur = cur->next)
167 #define hashmap__for_each_entry_safe(map, cur, tmp, bkt) \ argument
169 for (cur = map->buckets[bkt]; \
170 cur && ({tmp = cur->next; true; }); \
171 cur = tmp)
179 #define hashmap__for_each_key_entry(map, cur, _key) \ argument
180 for (cur = map->buckets \
183 cur; \
184 cur = cur->next) \
185 if (map->equal_fn(cur->key, (_key), map->ctx))
187 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \ argument
188 for (cur = map->buckets \
191 cur && ({ tmp = cur->next; true; }); \
192 cur = tmp) \
193 if (map->equal_fn(cur->key, (_key), map->ctx))