| 175 | } |
| 176 | |
| 177 | void *htable_first_(const struct htable *ht, struct htable_iter *i) |
| 178 | { |
| 179 | for (i->off = 0; i->off < (size_t)1 << ht->bits; i->off++) { |
| 180 | if (entry_is_valid(ht->table[i->off])) |
| 181 | return get_raw_ptr(ht, ht->table[i->off]); |
| 182 | } |
| 183 | return NULL; |
| 184 | } |
| 185 | |
| 186 | void *htable_next_(const struct htable *ht, struct htable_iter *i) |
| 187 | { |
no test coverage detected