Lines Matching refs:ds_set_t
10 ds_set_t *ds_set_ex(ds_htable_t *table) in ds_set_ex()
12 ds_set_t *set = ecalloc(1, sizeof(ds_set_t)); in ds_set_ex()
17 ds_set_t *ds_set() in ds_set()
22 ds_set_t *ds_set_clone(ds_set_t *set) in ds_set_clone()
27 void ds_set_allocate(ds_set_t *set, zend_long capacity) in ds_set_allocate()
32 void ds_set_sort_callback(ds_set_t *set) in ds_set_sort_callback()
37 void ds_set_sort(ds_set_t *set) in ds_set_sort()
42 ds_set_t *ds_set_sorted_callback(ds_set_t *set) in ds_set_sorted_callback()
44 ds_set_t *sorted = ds_set_clone(set); in ds_set_sorted_callback()
49 ds_set_t *ds_set_sorted(ds_set_t *set) in ds_set_sorted()
51 ds_set_t *sorted = ds_set_clone(set); in ds_set_sorted()
56 void ds_set_add(ds_set_t *set, zval *value) in ds_set_add()
61 void ds_set_add_va(ds_set_t *set, VA_PARAMS) in ds_set_add_va()
70 ds_set_add((ds_set_t *) puser, iterator->funcs->get_current_data(iterator)); in iterator_add()
74 static inline void add_traversable_to_set(ds_set_t *set, zval *obj) in add_traversable_to_set()
79 static inline void add_array_to_set(ds_set_t *set, HashTable *array) in add_array_to_set()
89 void ds_set_add_all(ds_set_t *set, zval *values) in ds_set_add_all()
108 bool ds_set_contains(ds_set_t *set, zval *value) in ds_set_contains()
113 bool ds_set_contains_va(ds_set_t *set, VA_PARAMS) in ds_set_contains_va()
118 static inline void ds_set_remove(ds_set_t *set, zval *value) in ds_set_remove()
123 void ds_set_remove_va(ds_set_t *set, VA_PARAMS) in ds_set_remove_va()
130 zval *ds_set_get(ds_set_t *set, zend_long index) in ds_set_get()
142 zval *ds_set_get_first(ds_set_t *set) in ds_set_get_first()
154 zval *ds_set_get_last(ds_set_t *set) in ds_set_get_last()
166 void ds_set_join(ds_set_t *set, const char *glue, const size_t len, zval *return_value) in ds_set_join()
172 ds_set_t *ds_set_slice(ds_set_t *set, zend_long index, zend_long length) in ds_set_slice()
177 ds_set_t *ds_set_diff(ds_set_t *set, ds_set_t *other) in ds_set_diff()
182 void ds_set_assign_diff(ds_set_t *set, ds_set_t *other) in ds_set_assign_diff()
191 ds_set_t *ds_set_intersect(ds_set_t *set, ds_set_t *other) in ds_set_intersect()
196 void ds_set_assign_intersect(ds_set_t *set, ds_set_t *other) in ds_set_assign_intersect()
208 ds_set_t *ds_set_xor(ds_set_t *set, ds_set_t *other) in ds_set_xor()
214 void ds_set_assign_xor(ds_set_t *set, ds_set_t *other) in ds_set_assign_xor()
231 ds_set_t *ds_set_union(ds_set_t *set, ds_set_t *other) in ds_set_union()
236 ds_set_t *ds_set_merge(ds_set_t *set, zval *values) in ds_set_merge()
239 ds_set_t *merged = ds_set_clone(set); in ds_set_merge()
248 void ds_set_assign_union(ds_set_t *set, ds_set_t *other) in ds_set_assign_union()
257 void ds_set_clear(ds_set_t *set) in ds_set_clear()
262 void ds_set_free(ds_set_t *set) in ds_set_free()
268 void ds_set_reduce(ds_set_t *set, FCI_PARAMS, zval *initial, zval *return_value) in ds_set_reduce()
299 ds_set_t * ds_set_map(ds_set_t *set, FCI_PARAMS) in ds_set_map()
301 ds_set_t *result = ds_set(); in ds_set_map()
330 ds_set_t *ds_set_filter_callback(ds_set_t *set, FCI_PARAMS) in ds_set_filter_callback()
332 ds_set_t *result = ds_set(); in ds_set_filter_callback()
364 ds_set_t *ds_set_filter(ds_set_t *set) in ds_set_filter()
366 ds_set_t *result = ds_set(); in ds_set_filter()
384 void ds_set_reverse(ds_set_t *set) in ds_set_reverse()
389 ds_set_t *ds_set_reversed(ds_set_t *set) in ds_set_reversed()
394 void ds_set_to_array(ds_set_t *set, zval *arr) in ds_set_to_array()
407 void ds_set_sum(ds_set_t *set, zval *return_value) in ds_set_sum()