| 293 | } |
| 294 | |
| 295 | struct hashmap_entry *hashmap_iter_next(struct hashmap_iter *iter) |
| 296 | { |
| 297 | struct hashmap_entry *current = iter->next; |
| 298 | for (;;) { |
| 299 | if (current) { |
| 300 | iter->next = current->next; |
| 301 | return current; |
| 302 | } |
| 303 | |
| 304 | if (iter->tablepos >= iter->map->tablesize) |
| 305 | return NULL; |
| 306 | |
| 307 | current = iter->map->table[iter->tablepos++]; |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | struct pool_entry { |
| 312 | struct hashmap_entry ent; |
no outgoing calls
no test coverage detected