Lines Matching refs:src

97         ds_htable_bucket_t *src = table->buckets + table->min_deleted;  in ds_htable_pack()  local
98 ds_htable_bucket_t *dst = src; in ds_htable_pack()
100 while (++src != end) { in ds_htable_pack()
101 if ( ! DS_HTABLE_BUCKET_DELETED(src)) { in ds_htable_pack()
102 if (dst != src) *dst = *src; in ds_htable_pack()
145 ds_htable_bucket_t *src = _src->buckets; in ds_htable_copy() local
151 for (; src != end; ++src, ++dst) { in ds_htable_copy()
152 if ( ! DS_HTABLE_BUCKET_DELETED(src)) { in ds_htable_copy()
153 DS_HTABLE_BUCKET_COPY(dst, src); in ds_htable_copy()
160 ds_htable_t *ds_htable_clone(ds_htable_t *src) in ds_htable_clone() argument
164 dst->buckets = ds_htable_allocate_buckets(src->capacity); in ds_htable_clone()
165 dst->lookup = ds_htable_allocate_lookup(src->capacity); in ds_htable_clone()
166 dst->capacity = src->capacity; in ds_htable_clone()
167 dst->size = src->size; in ds_htable_clone()
168 dst->next = src->next; in ds_htable_clone()
169 dst->min_deleted = src->min_deleted; in ds_htable_clone()
171 ds_htable_copy(src, dst); in ds_htable_clone()
874 ds_htable_bucket_t *src = &table->buckets[index]; in ds_htable_slice() local
876 for (; length-- > 0; src++) { in ds_htable_slice()
878 slice, &src->key, &src->value, DS_HTABLE_BUCKET_HASH(src)); in ds_htable_slice()
886 ds_htable_bucket_t *src = &table->buckets[index]; in ds_htable_slice() local
890 slice, &src->key, &src->value, DS_HTABLE_BUCKET_HASH(src)); in ds_htable_slice()
897 while (DS_HTABLE_BUCKET_DELETED(++src)); in ds_htable_slice()
906 ds_htable_bucket_t *src = table->buckets; in ds_htable_slice() local
909 for (; seek < index; ++src) { in ds_htable_slice()
910 if ( ! DS_HTABLE_BUCKET_DELETED(src)) { in ds_htable_slice()
916 for (; length > 0; src++) { in ds_htable_slice()
917 if (DS_HTABLE_BUCKET_DELETED(src)) { in ds_htable_slice()
922 slice, &src->key, &src->value, DS_HTABLE_BUCKET_HASH(src)); in ds_htable_slice()
1001 ds_htable_bucket_t *src; in ds_htable_filter_callback() local
1006 DS_HTABLE_FOREACH_BUCKET(table, src) { in ds_htable_filter_callback()
1008 fci.params = (zval*) src; in ds_htable_filter_callback()
1020 filtered, &src->key, &src->value, DS_HTABLE_BUCKET_HASH(src)); in ds_htable_filter_callback()
1148 ds_htable_bucket_t *src = NULL; in ds_htable_reversed() local
1153 DS_HTABLE_FOREACH_BUCKET_REVERSED(table, src) { in ds_htable_reversed()
1154 uint32_t *lookup = &reversed->lookup[DS_HTABLE_BUCKET_HASH(src) & mask]; in ds_htable_reversed()
1156 DS_HTABLE_BUCKET_COPY(dst, src); in ds_htable_reversed()