Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 44) sorted by relevance

12

/ext-ds/src/php/handlers/
H A Dphp_stack_handlers.c13 (zval *obj, zval *offset, zval *value) {
26 if (obj->stack) {
27 ds_stack_free(obj->stack);
28 obj->stack = NULL;
30 zend_object_std_dtor(&obj->std);
35 (zend_object *obj, zend_long *count) { argument
38 (zval *obj, zend_long *count) {
47 (zend_object *obj) { argument
50 (zval *obj) {
58 (zend_object *obj, int *is_temp) { argument
[all …]
H A Dphp_set_handlers.c15 ds_set_t *set = Z_DS_SET_P(obj);
36 ds_set_t *set = Z_DS_SET_P(obj);
50 (zval *obj, zend_long *count) {
51 ds_set_t *set = Z_DS_SET_P(obj);
60 ds_set_free(obj->set);
61 zend_object_std_dtor(&obj->std);
66 (zend_object *obj, int *is_temp) { argument
69 (zval *obj, int *is_temp) {
70 ds_set_t *set = Z_DS_SET_P(obj);
81 (zend_object *obj) { argument
[all …]
H A Dphp_map_handlers.c14 ds_map_t *map = Z_DS_MAP_P(obj);
52 ds_map_t *map = Z_DS_MAP_P(obj);
68 ds_map_t *map = Z_DS_MAP_P(obj);
76 (zend_object *obj, zval *offset) { argument
79 (zval *obj, zval *offset) {
80 ds_map_t *map = Z_DS_MAP_P(obj);
91 (zval *obj, zend_long *count) {
107 (zend_object *obj, int *is_temp) { argument
110 (zval *obj, int *is_temp) {
119 (zend_object *obj) { argument
[all …]
H A Dphp_deque_handlers.c15 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
88 (zend_object *obj, zval *offset) { argument
91 (zval *obj, zval *offset) {
116 (zval *obj, zend_long *count) {
117 *count = Z_DS_DEQUE_P(obj)->size;
125 ds_deque_free(obj->deque);
126 zend_object_std_dtor(&obj->std);
131 (zend_object *obj, int *is_temp) { argument
134 (zval *obj, int *is_temp) {
145 (zend_object *obj) { argument
[all …]
H A Dphp_vector_handlers.c15 ds_vector_t *vector = Z_DS_VECTOR_P(obj);
52 (zval *obj, zval *offset, zval *value) {
74 (zval *obj, zval *offset, int check_empty) {
87 (zend_object *obj, zval *offset) { argument
90 (zval *obj, zval *offset) {
112 (zend_object *obj, zend_long *count) { argument
115 (zval *obj, zend_long *count) {
129 (zend_object *obj, int *is_temp) { argument
132 (zval *obj, int *is_temp) {
143 (zend_object *obj) { argument
[all …]
H A Dphp_queue_handlers.c12 (zend_object *obj, zval *offset, zval *value) { argument
15 (zval *obj, zval *offset, zval *value) {
16 ds_queue_t *queue = Z_DS_QUEUE_P(obj);
34 (zend_object *obj, zend_long *count) { argument
37 (zval *obj, zend_long *count) {
38 ds_queue_t *queue = Z_DS_QUEUE_P(obj);
46 (zend_object *obj) { argument
49 (zval *obj) {
50 ds_queue_t *queue = Z_DS_QUEUE_P(obj);
57 (zend_object *obj, int *is_temp) { argument
[all …]
H A Dphp_pair_handlers.c9 (zend_object *obj, zend_string *offset, void **cache_slot) { argument
11 zend_update_property_null(obj->ce, obj, ZSTR_VAL(offset), ZSTR_LEN(offset));
14 (zval *obj, zval *offset, void **cache_slot) {
17 zend_update_property_null(Z_OBJCE_P(obj), obj, Z_STRVAL_P(offset), Z_STRLEN_P(offset));
25 (zend_object *obj, zend_long *count) { argument
27 (zval *obj, zend_long *count) {
35 (zend_object *obj) { argument
36 return php_ds_pair_create_clone((php_ds_pair_t*)obj);
38 (zval *obj) {
39 return php_ds_pair_create_clone(Z_DS_PAIR_P(obj));
H A Dphp_priority_queue_handlers.c22 (zend_object *obj, zend_long *count) { argument
25 (zval *obj, zend_long *count) {
26 ds_priority_queue_t *pq = Z_DS_PRIORITY_QUEUE_P(obj);
34 (zend_object *obj) { argument
37 (zval *obj) {
38 ds_priority_queue_t *pq = Z_DS_PRIORITY_QUEUE_P(obj);
45 (zend_object *obj, int *is_temp) { argument
48 (zval *obj, int *is_temp) {
49 ds_priority_queue_t *pq = Z_DS_PRIORITY_QUEUE_P(obj);
59 (zend_object *obj, zval **gc_data, int *gc_size) { argument
[all …]
H A Dphp_common_handlers.h11 (zend_object *obj, zval *return_value, int type);
13 (zval *obj, zval *return_value, int type);
18 (zend_object *obj, zval *offset, int type, zval *rv);
20 (zval *obj, zval *offset, int type, zval *rv);
25 (zend_object *obj, zval *offset, int check_empty);
27 (zval *obj, zval *offset, int check_empty);
32 (zend_object *obj, zval *offset);
34 (zval *obj, zval *offset);
H A Dphp_common_handlers.c7 (zend_object *obj, zval *return_value, int type) { argument
8 zend_class_entry *ce = obj->ce;
10 (zval *obj, zval *return_value, int type) {
11 zend_class_entry *ce = Z_OBJCE_P(obj);
36 (zend_object *obj, zval *offset, int type, zval *rv) { argument
38 (zval *obj, zval *offset, int type, zval *rv) {
46 (zend_object *obj, zval *offset, int check_empty) { argument
48 (zval *obj, zval *offset, int check_empty) {
56 (zend_object *obj, zval *offset) { argument
58 (zval *obj, zval *offset) {
/ext-ds/src/php/objects/
H A Dphp_pair.c12 zend_object_std_init(&obj->std, ce); in php_ds_pair_create_object()
13 object_properties_init(&obj->std, ce); in php_ds_pair_create_object()
14 obj->std.handlers = &php_pair_handlers; in php_ds_pair_create_object()
16 return &obj->std; in php_ds_pair_create_object()
26 php_ds_pair_t *obj = php_ds_pair(); in php_ds_pair_ex() local
28 php_ds_pair_set_key(obj, key); in php_ds_pair_ex()
29 php_ds_pair_set_value(obj, value); in php_ds_pair_ex()
31 return obj; in php_ds_pair_ex()
36 zval *key = php_ds_pair_get_key(obj); in php_ds_pair_create_clone()
37 zval *val = php_ds_pair_get_value(obj); in php_ds_pair_create_clone()
[all …]
H A Dphp_pair.h30 void php_ds_pair_set_key(php_ds_pair_t *obj, zval *key);
31 void php_ds_pair_set_value(php_ds_pair_t *obj, zval *value);
33 zval *php_ds_pair_get_key(php_ds_pair_t *obj);
34 zval *php_ds_pair_get_value(php_ds_pair_t *obj);
37 zend_object *php_ds_pair_create_clone(php_ds_pair_t *obj);
39 void php_ds_pair_to_array(php_ds_pair_t *obj, zval *result);
H A Dphp_vector.c10 …php_ds_vector_t *obj = ecalloc(1, sizeof(php_ds_vector_t) + zend_object_properties_size(php_ds_vec… in php_ds_vector_create_object_ex() local
12 php_ds_vector_t *obj = zend_object_alloc(sizeof(php_ds_vector_t), php_ds_vector_ce); in php_ds_vector_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_vector_ce); in php_ds_vector_create_object_ex()
15 obj->std.handlers = &php_vector_handlers; in php_ds_vector_create_object_ex()
16 obj->vector = vector; in php_ds_vector_create_object_ex()
18 return &obj->std; in php_ds_vector_create_object_ex()
59 int php_ds_vector_unserialize(zval *obj, zend_class_entry *ce, const unsigned char *buffer, size_t … in php_ds_vector_unserialize() argument
80 ZVAL_DS_VECTOR(obj, vector); in php_ds_vector_unserialize()
H A Dphp_priority_queue.c10 …php_ds_priority_queue_t *obj = ecalloc(1, sizeof(php_ds_priority_queue_t) + zend_object_properties… in php_ds_priority_queue_create_object_ex() local
12 …php_ds_priority_queue_t *obj = zend_object_alloc(sizeof(php_ds_priority_queue_t), php_ds_priority_… in php_ds_priority_queue_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_priority_queue_ce); in php_ds_priority_queue_create_object_ex()
15 obj->std.handlers = &php_priority_queue_handlers; in php_ds_priority_queue_create_object_ex()
17 obj->queue = queue; in php_ds_priority_queue_create_object_ex()
18 obj->gc_data = NULL; in php_ds_priority_queue_create_object_ex()
19 obj->gc_size = 0; in php_ds_priority_queue_create_object_ex()
21 return &obj->std; in php_ds_priority_queue_create_object_ex()
H A Dphp_queue.c10 …php_ds_queue_t *obj = ecalloc(1, sizeof(php_ds_queue_t) + zend_object_properties_size(php_ds_queue… in php_ds_queue_create_object_ex() local
12 php_ds_queue_t *obj = zend_object_alloc(sizeof(php_ds_queue_t), php_ds_queue_ce); in php_ds_queue_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_queue_ce); in php_ds_queue_create_object_ex()
15 obj->std.handlers = &php_queue_handlers; in php_ds_queue_create_object_ex()
16 obj->queue = queue; in php_ds_queue_create_object_ex()
18 return &obj->std; in php_ds_queue_create_object_ex()
H A Dphp_deque.c10 …php_ds_deque_t *obj = ecalloc(1, sizeof(php_ds_deque_t) + zend_object_properties_size(php_ds_deque… in php_ds_deque_create_object_ex() local
12 php_ds_deque_t *obj = zend_object_alloc(sizeof(php_ds_deque_t), php_ds_deque_ce); in php_ds_deque_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_deque_ce); in php_ds_deque_create_object_ex()
15 obj->std.handlers = &php_deque_handlers; in php_ds_deque_create_object_ex()
16 obj->deque = deque; in php_ds_deque_create_object_ex()
17 return &obj->std; in php_ds_deque_create_object_ex()
H A Dphp_stack.c10 …php_ds_stack_t *obj = ecalloc(1, sizeof(php_ds_stack_t) + zend_object_properties_size(php_ds_stack… in php_ds_stack_create_object_ex() local
12 php_ds_stack_t *obj = zend_object_alloc(sizeof(php_ds_stack_t), php_ds_stack_ce); in php_ds_stack_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_stack_ce); in php_ds_stack_create_object_ex()
15 obj->std.handlers = &php_ds_stack_handlers; in php_ds_stack_create_object_ex()
16 obj->stack = stack; in php_ds_stack_create_object_ex()
17 return &obj->std; in php_ds_stack_create_object_ex()
H A Dphp_set.c10 … php_ds_set_t *obj = ecalloc(1, sizeof(php_ds_set_t) + zend_object_properties_size(php_ds_set_ce)); in php_ds_set_create_object_ex() local
12 php_ds_set_t *obj = zend_object_alloc(sizeof(php_ds_set_t), php_ds_set_ce); in php_ds_set_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_set_ce); in php_ds_set_create_object_ex()
15 obj->std.handlers = &php_ds_set_handlers; in php_ds_set_create_object_ex()
16 obj->set = set; in php_ds_set_create_object_ex()
17 return &obj->std; in php_ds_set_create_object_ex()
H A Dphp_map.c10 … php_ds_map_t *obj = ecalloc(1, sizeof(php_ds_map_t) + zend_object_properties_size(php_ds_map_ce)); in php_ds_map_create_object_ex() local
12 php_ds_map_t *obj = zend_object_alloc(sizeof(php_ds_map_t), php_ds_map_ce); in php_ds_map_create_object_ex()
14 zend_object_std_init(&obj->std, php_ds_map_ce); in php_ds_map_create_object_ex()
15 obj->std.handlers = &php_map_handlers; in php_ds_map_create_object_ex()
16 obj->map = map; in php_ds_map_create_object_ex()
17 return &obj->std; in php_ds_map_create_object_ex()
/ext-ds/src/php/iterators/
H A Dphp_htable_iterator.h13 zend_object *obj; member
17 zend_object_iterator *php_ds_htable_get_value_iterator_ex(zend_class_entry *ce, zval *obj, int by_r…
18 zend_object_iterator *php_ds_htable_get_key_iterator_ex (zend_class_entry *ce, zval *obj, int by_r…
19 zend_object_iterator *php_ds_htable_get_pair_iterator_ex (zend_class_entry *ce, zval *obj, int by_r…
20 zend_object_iterator *php_ds_htable_get_assoc_iterator_ex(zend_class_entry *ce, zval *obj, int by_r…
H A Dphp_set_iterator.c10 zend_object_iterator *php_ds_set_get_iterator(zend_class_entry *ce, zval *obj, int by_ref) in php_ds_set_get_iterator() argument
12 ds_htable_t *table = (Z_DS_SET_P(obj))->table; in php_ds_set_get_iterator()
13 return php_ds_htable_get_key_iterator_ex(ce, obj, by_ref, table); in php_ds_set_get_iterator()
H A Dphp_map_iterator.c10 zend_object_iterator *php_ds_map_get_iterator(zend_class_entry *ce, zval *obj, int by_ref) in php_ds_map_get_iterator() argument
12 ds_htable_t *table = Z_DS_MAP_P(obj)->table; in php_ds_map_get_iterator()
13 return php_ds_htable_get_assoc_iterator_ex(ce, obj, by_ref, table); in php_ds_map_get_iterator()
H A Dphp_htable_iterator.c25 OBJ_RELEASE(iterator->obj); in php_ds_htable_iterator_dtor()
160 zval *obj, in php_ds_htable_create_htable_iterator() argument
180 iterator->obj = Z_OBJ_P(obj); in php_ds_htable_create_htable_iterator()
185 GC_ADDREF(iterator->obj); in php_ds_htable_create_htable_iterator()
187 ++GC_REFCOUNT(iterator->obj); in php_ds_htable_create_htable_iterator()
195 zval *obj, in php_ds_htable_get_value_iterator_ex() argument
205 zval *obj, in php_ds_htable_get_key_iterator_ex() argument
210 obj, table, &php_ds_htable_get_key_iterator_funcs, by_ref); in php_ds_htable_get_key_iterator_ex()
215 zval *obj, in php_ds_htable_get_pair_iterator_ex() argument
220 obj, table, &php_ds_htable_get_pair_iterator_funcs, by_ref); in php_ds_htable_get_pair_iterator_ex()
[all …]
H A Dphp_deque_iterator.c54 static zend_object_iterator *php_ds_deque_create_iterator(zval *obj, int by_ref) in php_ds_deque_create_iterator() argument
67 iterator->deque = Z_DS_DEQUE_P(obj); in php_ds_deque_create_iterator()
68 iterator->object = Z_OBJ_P(obj); in php_ds_deque_create_iterator()
82 zend_object_iterator *php_ds_deque_get_iterator(zend_class_entry *ce, zval *obj, int by_ref) in php_ds_deque_get_iterator() argument
84 return php_ds_deque_create_iterator(obj, by_ref); in php_ds_deque_get_iterator()
H A Dphp_vector_iterator.c52 static zend_object_iterator *php_ds_vector_create_iterator(zval *obj, int by_ref) in php_ds_vector_create_iterator() argument
66 iterator->vector = Z_DS_VECTOR_P(obj); in php_ds_vector_create_iterator()
67 iterator->object = Z_OBJ_P(obj); in php_ds_vector_create_iterator()
81 zend_object_iterator *php_ds_vector_get_iterator(zend_class_entry *ce, zval *obj, int by_ref) in php_ds_vector_get_iterator() argument
83 return php_ds_vector_create_iterator(obj, by_ref); in php_ds_vector_get_iterator()

Completed in 22 milliseconds

12