Lines Matching refs:index
56 uint32_t index = 0; in ds_htable_rehash() local
61 DS_HTABLE_BUCKET_REHASH(table, bucket, mask, index); in ds_htable_rehash()
63 } while (++index < table->next); in ds_htable_rehash()
69 uint32_t j = index; in ds_htable_rehash()
72 while (++index < table->next) { in ds_htable_rehash()
85 DS_HTABLE_BUCKET_REHASH(table, bucket, mask, index); in ds_htable_rehash()
88 } while (++index < table->next); in ds_htable_rehash()
345 uint32_t index; in ds_htable_lookup_bucket_by_hash() local
351 index = DS_HTABLE_BUCKET_LOOKUP(table, hash); in ds_htable_lookup_bucket_by_hash()
352 index != DS_HTABLE_INVALID_INDEX; in ds_htable_lookup_bucket_by_hash()
353 index = DS_HTABLE_BUCKET_NEXT(bucket) in ds_htable_lookup_bucket_by_hash()
355 bucket = &table->buckets[index]; in ds_htable_lookup_bucket_by_hash()
382 uint32_t index; in ds_htable_lookup_by_position() local
389 index = table->min_deleted; in ds_htable_lookup_by_position()
391 index = 0; in ds_htable_lookup_by_position()
394 bucket = &table->buckets[index]; in ds_htable_lookup_by_position()
404 if (position == index) { in ds_htable_lookup_by_position()
408 index++; in ds_htable_lookup_by_position()
799 uint32_t index = DS_HTABLE_BUCKET_LOOKUP(table, hash); in ds_htable_remove() local
804 for (; index != DS_HTABLE_INVALID_INDEX; index = DS_HTABLE_BUCKET_NEXT(bucket)) { in ds_htable_remove()
805 bucket = &table->buckets[index]; in ds_htable_remove()
828 if (index == table->next - 1 && table->size > 1) { in ds_htable_remove()
837 if (index < table->min_deleted) { in ds_htable_remove()
838 table->min_deleted = index; in ds_htable_remove()
856 ds_htable_t *ds_htable_slice(ds_htable_t *table, zend_long index, zend_long length) in ds_htable_slice() argument
858 ds_normalize_slice_args(&index, &length, table->size); in ds_htable_slice()
872 ((uint32_t) (index + length)) <= table->min_deleted) { in ds_htable_slice()
874 ds_htable_bucket_t *src = &table->buckets[index]; in ds_htable_slice()
885 } else if ((uint32_t) index < table->min_deleted) { in ds_htable_slice()
886 ds_htable_bucket_t *src = &table->buckets[index]; in ds_htable_slice()
909 for (; seek < index; ++src) { in ds_htable_slice()