Home
last modified time | relevance | path

Searched refs:set (Results 1 – 12 of 12) sorted by relevance

/ext-ds/src/ds/
H A Dds_set.h11 #define DS_SET_FOREACH(set, value) DS_HTABLE_FOREACH_KEY(set->table, value) argument
20 ds_set_t *ds_set_clone(ds_set_t *set);
22 void ds_set_free(ds_set_t *set);
23 void ds_set_clear(ds_set_t *set);
36 zval *ds_set_get_first(ds_set_t *set);
37 zval *ds_set_get_last(ds_set_t *set);
41 void ds_set_sort_callback(ds_set_t *set);
42 void ds_set_sort(ds_set_t *set);
45 ds_set_t *ds_set_sorted(ds_set_t *set);
52 ds_set_t *ds_set_filter(ds_set_t *set);
[all …]
H A Dds_set.c13 set->table = table; in ds_set_ex()
14 return set; in ds_set_ex()
22 ds_set_t *ds_set_clone(ds_set_t *set) in ds_set_clone() argument
37 void ds_set_sort(ds_set_t *set) in ds_set_sort() argument
64 ds_set_add(set, argv); in ds_set_add_va()
84 ds_set_add(set, value); in add_array_to_set()
252 ds_set_add(set, value); in ds_set_assign_union()
262 void ds_set_free(ds_set_t *set) in ds_set_free() argument
264 ds_htable_free(set->table); in ds_set_free()
265 efree(set); in ds_set_free()
[all …]
/ext-ds/src/php/handlers/
H A Dphp_set_handlers.c12 ds_set_t *set = php_ds_set_fetch_object(obj)->set; local
33 ds_set_t *set = php_ds_set_fetch_object(obj)->set; local
39 ds_set_add(set, value);
48 ds_set_t *set = php_ds_set_fetch_object(obj)->set; local
53 *count = DS_SET_SIZE(set);
60 ds_set_free(obj->set);
67 ds_set_t *set = php_ds_set_fetch_object(obj)->set; local
75 ds_set_to_array(set, &arr);
82 ds_set_t *set = php_ds_set_fetch_object(obj)->set; local
93 ds_set_t *set = php_ds_set_fetch_object(obj)->set; local
[all …]
/ext-ds/src/php/objects/
H A Dphp_set.c7 zend_object *php_ds_set_create_object_ex(ds_set_t *set) in php_ds_set_create_object_ex() argument
16 obj->set = set; in php_ds_set_create_object_ex()
25 zend_object *php_ds_set_create_clone(ds_set_t *set) in php_ds_set_create_clone() argument
27 return php_ds_set_create_object_ex(ds_set_clone(set)); in php_ds_set_create_clone()
32 ds_set_t *set = Z_DS_SET_P(object); in php_ds_set_serialize() local
37 if (set->table->size == 0) { in php_ds_set_serialize()
45 DS_HTABLE_FOREACH_KEY(set->table, key) { in php_ds_set_serialize()
61 ds_set_t *set = ds_set(); in php_ds_set_unserialize() local
69 ZVAL_DS_SET(object, set); in php_ds_set_unserialize()
78 ds_set_add(set, value); in php_ds_set_unserialize()
[all …]
H A Dphp_set.h7 ds_set_t *set; member
15 #define Z_DS_SET(z) (php_ds_set_fetch_object(Z_OBJ(z))->set)
19 #define ZVAL_DS_SET(z, set) ZVAL_OBJ(z, php_ds_set_create_object_ex(set)) argument
32 zend_object *php_ds_set_create_object_ex(ds_set_t *set);
34 zend_object *php_ds_set_create_clone(ds_set_t *set);
/ext-ds/src/php/classes/
H A Dphp_set_ce.h18 ARGINFO_DS_RETURN_DS( Set_diff, set, Set, Set);
19 ARGINFO_DS_RETURN_DS( Set_intersect, set, Set, Set);
20 ARGINFO_DS_RETURN_DS( Set_xor, set, Set, Set);
24 ARGINFO_DS_RETURN_DS( Set_union, set, Set, Set);
H A Dphp_set_ce.c179 ds_set_t *set = THIS_DS_SET(); in METHOD() local
187 RETURN_DS_SET(ds_set_slice(set, index, Z_LVAL_P(length))); in METHOD()
190 RETURN_DS_SET(ds_set_slice(set, index, DS_SET_SIZE(set))); in METHOD()
H A Dphp_sequence_ce.c33 SEQUENCE_ABSTRACT_ME(set) in php_ds_register_sequence()
H A Dphp_sequence_ce.h36 PHP_DS_SEQUENCE_ME(cls, set) \
H A Dphp_deque_ce.c204 METHOD(set) in METHOD() argument
H A Dphp_vector_ce.c191 METHOD(set) in METHOD() argument
/ext-ds/
H A Dappveyor.yml84 set TEST_PHP_EXECUTABLE=%cd%\php.exe

Completed in 19 milliseconds