Lines Matching refs:ds_map_t
12 static ds_map_t *ds_map_ex(ds_htable_t *table) in ds_map_ex()
14 ds_map_t *map = ecalloc(1, sizeof(ds_map_t)); in ds_map_ex()
20 ds_map_t *ds_map() in ds_map()
25 ds_map_t *ds_map_clone(ds_map_t *map) in ds_map_clone()
30 void ds_map_allocate(ds_map_t *map, zend_long capacity) in ds_map_allocate()
35 zend_long ds_map_capacity(ds_map_t *map) in ds_map_capacity()
40 void ds_map_reverse(ds_map_t *map) in ds_map_reverse()
45 ds_map_t *ds_map_reversed(ds_map_t *map) in ds_map_reversed()
50 void ds_map_put(ds_map_t *map, zval *key, zval *value) in ds_map_put()
55 void ds_map_reduce(ds_map_t *map, FCI_PARAMS, zval *initial, zval *return_value) in ds_map_reduce()
60 void ds_map_apply(ds_map_t *map, FCI_PARAMS) in ds_map_apply()
65 ds_map_t *ds_map_map(ds_map_t *map, FCI_PARAMS) in ds_map_map()
76 ds_map_t *ds_map_filter(ds_map_t *map) in ds_map_filter()
81 ds_map_t *ds_map_filter_callback(ds_map_t *map, FCI_PARAMS) in ds_map_filter_callback()
92 zval *ds_map_get(ds_map_t *map, zval *key, zval *def) in ds_map_get()
108 void ds_map_remove(ds_map_t *map, zval *key, zval *def, zval *return_value) in ds_map_remove()
127 bool ds_map_has_key(ds_map_t *map, zval *key) in ds_map_has_key()
132 bool ds_map_has_value(ds_map_t *map, zval *value) in ds_map_has_value()
137 bool ds_map_has_keys(ds_map_t *map, VA_PARAMS) in ds_map_has_keys()
142 bool ds_map_has_values(ds_map_t *map, VA_PARAMS) in ds_map_has_values()
147 void ds_map_clear(ds_map_t *map) in ds_map_clear()
152 void ds_map_sort_by_value_callback(ds_map_t *map) in ds_map_sort_by_value_callback()
157 void ds_map_sort_by_value(ds_map_t *map) in ds_map_sort_by_value()
162 void ds_map_sort_by_key_callback(ds_map_t *map) in ds_map_sort_by_key_callback()
167 void ds_map_sort_by_key(ds_map_t *map) in ds_map_sort_by_key()
172 ds_map_t *ds_map_sorted_by_value_callback(ds_map_t *map) in ds_map_sorted_by_value_callback()
174 ds_map_t *sorted = ds_map_clone(map); in ds_map_sorted_by_value_callback()
179 ds_map_t *ds_map_sorted_by_value(ds_map_t *map) in ds_map_sorted_by_value()
181 ds_map_t *sorted = ds_map_clone(map); in ds_map_sorted_by_value()
186 ds_map_t *ds_map_sorted_by_key_callback(ds_map_t *map) in ds_map_sorted_by_key_callback()
188 ds_map_t *sorted = ds_map_clone(map); in ds_map_sorted_by_key_callback()
193 ds_map_t *ds_map_sorted_by_key(ds_map_t *map) in ds_map_sorted_by_key()
195 ds_map_t *sorted = ds_map_clone(map); in ds_map_sorted_by_key()
200 void ds_map_to_array(ds_map_t *map, zval *return_value) in ds_map_to_array()
205 zval *ds_map_values(ds_map_t *map) in ds_map_values()
210 ds_map_t *ds_map_slice(ds_map_t *map, zend_long index, zend_long length) in ds_map_slice()
215 ds_map_t *ds_map_merge(ds_map_t *map, zval *values) in ds_map_merge()
218 ds_map_t *merged = ds_map_clone(map); in ds_map_merge()
227 ds_map_t *ds_map_xor(ds_map_t *map, ds_map_t *other) in ds_map_xor()
232 ds_map_t *ds_map_diff(ds_map_t *map, ds_map_t *other) in ds_map_diff()
237 ds_map_t *ds_map_intersect(ds_map_t *map, ds_map_t *other) in ds_map_intersect()
242 ds_map_t *ds_map_union(ds_map_t *map, ds_map_t *other) in ds_map_union()
247 php_ds_pair_t *ds_map_first(ds_map_t *map) in ds_map_first()
259 php_ds_pair_t *ds_map_last(ds_map_t *map) in ds_map_last()
271 php_ds_pair_t *ds_map_skip(ds_map_t *map, zend_long position) in ds_map_skip()
289 ds_map_put((ds_map_t *) puser, &key, value); in iterator_add()
295 static inline void add_traversable_to_map(ds_map_t *map, zval *obj) in add_traversable_to_map()
300 static inline void add_ht_to_map(ds_map_t *map, HashTable *ht) in add_ht_to_map()
318 void ds_map_put_all(ds_map_t *map, zval *values) in ds_map_put_all()
337 void ds_map_sum(ds_map_t *map, zval *return_value) in ds_map_sum()
349 void ds_map_free(ds_map_t *map) in ds_map_free()