Lines Matching refs:next
52 table->next = 0; in ds_htable_rehash()
63 } while (++index < table->next); in ds_htable_rehash()
72 while (++index < table->next) { in ds_htable_rehash()
82 table->next = j; in ds_htable_rehash()
88 } while (++index < table->next); in ds_htable_rehash()
96 ds_htable_bucket_t *end = table->buckets + table->next; in ds_htable_pack()
107 table->next = table->size; in ds_htable_pack()
132 table->next = 0; in ds_htable_with_capacity()
146 ds_htable_bucket_t *end = _src->buckets + _src->next; in ds_htable_copy()
168 dst->next = src->next; in ds_htable_clone()
395 stop = &table->buckets[table->next]; in ds_htable_lookup_by_position()
489 table->next = 0; in ds_htable_clear_buffer()
614 if (table->next > table->size + (table->size >> 5)) { in ds_htable_increase_capacity()
643 ds_htable_bucket_t *next = &table->buckets[table->next]; in ds_htable_put_distinct_bucket() local
645 DS_HTABLE_BUCKET_COPY(next, bucket); in ds_htable_put_distinct_bucket()
646 DS_HTABLE_BUCKET_REHASH(table, next, table->capacity - 1, table->next); in ds_htable_put_distinct_bucket()
648 table->next++; in ds_htable_put_distinct_bucket()
651 if (table->next == table->capacity) { in ds_htable_put_distinct_bucket()
662 ds_htable_bucket_t *bucket = &table->buckets[table->next]; in ds_htable_init_next_bucket()
665 DS_HTABLE_BUCKET_REHASH(table, bucket, table->capacity - 1, table->next); in ds_htable_init_next_bucket()
675 table->next++; in ds_htable_init_next_bucket()
689 if (table->next == table->capacity) { in ds_htable_lookup_or_next()
734 ds_htable_bucket_t *bucket = &table->buckets[table->next - 1]; in ds_htable_last()
828 if (index == table->next - 1 && table->size > 1) { in ds_htable_remove()
830 table->next--; in ds_htable_remove()
1158 *lookup = reversed->next++; in ds_htable_reversed()