Lines Matching refs:table
10 ds_set_t *ds_set_ex(ds_htable_t *table) in ds_set_ex() argument
13 set->table = table; in ds_set_ex()
24 return ds_set_ex(ds_htable_clone(set->table)); in ds_set_clone()
29 ds_htable_ensure_capacity(set->table, capacity); in ds_set_allocate()
34 ds_htable_sort_callback_by_key(set->table); in ds_set_sort_callback()
39 ds_htable_sort_by_key(set->table); in ds_set_sort()
58 ds_htable_put(set->table, value, NULL); in ds_set_add()
110 return ds_htable_has_key(set->table, value); in ds_set_contains()
115 return ds_htable_has_keys(set->table, argc, argv); in ds_set_contains_va()
120 ds_htable_remove(set->table, value, NULL); in ds_set_remove()
132 ds_htable_bucket_t *bucket = ds_htable_lookup_by_position(set->table, index); in ds_set_get()
138 INDEX_OUT_OF_RANGE(index, set->table->size); in ds_set_get()
144 ds_htable_bucket_t *bucket = ds_htable_lookup_by_position(set->table, 0); in ds_set_get_first()
156 ds_htable_bucket_t *bucket = ds_htable_lookup_by_position(set->table, DS_SET_SIZE(set) - 1); in ds_set_get_last()
168 zend_string *str = ds_htable_join_keys(set->table, glue, len); in ds_set_join()
174 return ds_set_ex(ds_htable_slice(set->table, index, length)); in ds_set_slice()
179 return ds_set_ex(ds_htable_diff(set->table, other->table)); in ds_set_diff()
193 return ds_set_ex(ds_htable_intersect(set->table, other->table)); in ds_set_intersect()
210 return ds_set_ex(ds_htable_xor(set->table, other->table)); in ds_set_xor()
233 return ds_set_ex(ds_htable_merge(set->table, other->table)); in ds_set_union()
259 ds_htable_clear(set->table); in ds_set_clear()
264 ds_htable_free(set->table); in ds_set_free()
386 ds_htable_reverse(set->table); in ds_set_reverse()
391 return ds_set_ex(ds_htable_reversed(set->table)); in ds_set_reversed()
398 array_init_size(arr, set->table->size); in ds_set_to_array()
400 DS_HTABLE_FOREACH_KEY(set->table, value) { in ds_set_to_array()