Searched refs:set (Results 1 – 12 of 12) sorted by relevance
/ext-ds/src/ds/ |
H A D | ds_set.h | 11 #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 D | ds_set.c | 13 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 D | php_set_handlers.c | 12 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 D | php_set.c | 7 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 D | php_set.h | 7 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 D | php_set_ce.h | 18 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 D | php_set_ce.c | 179 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 D | php_sequence_ce.c | 33 SEQUENCE_ABSTRACT_ME(set) in php_ds_register_sequence()
|
H A D | php_sequence_ce.h | 36 PHP_DS_SEQUENCE_ME(cls, set) \
|
H A D | php_deque_ce.c | 204 METHOD(set) in METHOD() argument
|
H A D | php_vector_ce.c | 191 METHOD(set) in METHOD() argument
|
/ext-ds/ |
H A D | appveyor.yml | 84 set TEST_PHP_EXECUTABLE=%cd%\php.exe
|
Completed in 14 milliseconds