Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 27) sorted by relevance

12

/ext-ds/src/php/iterators/
H A Dphp_queue_iterator.c9 OBJ_RELEASE(iterator->object); in php_ds_queue_iterator_dtor()
59 zend_object_iterator *php_ds_queue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_ds_queue_get_iterator() argument
72 iterator->queue = Z_DS_QUEUE_P(object); in php_ds_queue_get_iterator()
73 iterator->object = Z_OBJ_P(object); in php_ds_queue_get_iterator()
79 GC_ADDREF(iterator->object); in php_ds_queue_get_iterator()
81 ++GC_REFCOUNT(iterator->object); in php_ds_queue_get_iterator()
H A Dphp_stack_iterator.c9 OBJ_RELEASE(iterator->object); in php_ds_stack_iterator_dtor()
59 zend_object_iterator *php_ds_stack_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_ds_stack_get_iterator() argument
72 iterator->stack = Z_DS_STACK_P(object); in php_ds_stack_get_iterator()
73 iterator->object = Z_OBJ_P(object); in php_ds_stack_get_iterator()
79 GC_ADDREF(iterator->object); in php_ds_stack_get_iterator()
81 ++GC_REFCOUNT(iterator->object); in php_ds_stack_get_iterator()
H A Dphp_priority_queue_iterator.c12 OBJ_RELEASE(iterator->object); in php_ds_priority_queue_iterator_dtor()
62 zend_object_iterator *php_ds_priority_queue_get_iterator(zend_class_entry *ce, zval *object, int by… in php_ds_priority_queue_get_iterator() argument
77 iterator->queue = Z_DS_PRIORITY_QUEUE_P(object); in php_ds_priority_queue_get_iterator()
78 iterator->object = Z_OBJ_P(object); in php_ds_priority_queue_get_iterator()
84 GC_ADDREF(iterator->object); in php_ds_priority_queue_get_iterator()
86 ++GC_REFCOUNT(iterator->object); in php_ds_priority_queue_get_iterator()
H A Dphp_priority_queue_iterator.h9 zend_object *object; member
14 zend_object_iterator *php_ds_priority_queue_get_iterator(zend_class_entry *ce, zval *object, int by…
H A Dphp_stack_iterator.h10 zend_object *object; member
14 zend_object_iterator *php_ds_stack_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
H A Dphp_queue_iterator.h10 zend_object *object; member
14 zend_object_iterator *php_ds_queue_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
H A Dphp_deque_iterator.c11 OBJ_RELEASE(iterator->object); in php_ds_deque_iterator_dtor()
68 iterator->object = Z_OBJ_P(obj); in php_ds_deque_create_iterator()
74 GC_ADDREF(iterator->object); in php_ds_deque_create_iterator()
76 ++GC_REFCOUNT(iterator->object); in php_ds_deque_create_iterator()
H A Dphp_vector_iterator.c11 OBJ_RELEASE(iterator->object); in php_ds_vector_iterator_dtor()
67 iterator->object = Z_OBJ_P(obj); in php_ds_vector_create_iterator()
73 GC_ADDREF(iterator->object); in php_ds_vector_create_iterator()
75 ++GC_REFCOUNT(iterator->object); in php_ds_vector_create_iterator()
H A Dphp_set_iterator.h10 zend_object_iterator *php_ds_set_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
H A Dphp_vector_iterator.h9 zend_object *object; member
H A Dphp_deque_iterator.h9 zend_object *object; member
/ext-ds/src/php/objects/
H A Dphp_queue.c31 int php_ds_queue_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_dat… in php_ds_queue_serialize() argument
33 ds_queue_t *queue = Z_DS_QUEUE_P(object); in php_ds_queue_serialize()
60 int php_ds_queue_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_… in php_ds_queue_unserialize() argument
81 ZVAL_DS_QUEUE(object, queue); in php_ds_queue_unserialize()
H A Dphp_deque.c30 int php_ds_deque_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_dat… in php_ds_deque_serialize() argument
32 ds_deque_t *deque = Z_DS_DEQUE_P(object); in php_ds_deque_serialize()
59 int php_ds_deque_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_… in php_ds_deque_unserialize() argument
80 ZVAL_DS_DEQUE(object, deque); in php_ds_deque_unserialize()
H A Dphp_stack.c30 int php_ds_stack_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_dat… in php_ds_stack_serialize() argument
32 ds_stack_t *stack = Z_DS_STACK_P(object); in php_ds_stack_serialize()
59 int php_ds_stack_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_… in php_ds_stack_unserialize() argument
80 ZVAL_DS_STACK(object, stack); in php_ds_stack_unserialize()
H A Dphp_set.c30 int php_ds_set_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data … in php_ds_set_serialize() argument
32 ds_set_t *set = Z_DS_SET_P(object); in php_ds_set_serialize()
59 int php_ds_set_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_t … in php_ds_set_unserialize() argument
69 ZVAL_DS_SET(object, set); in php_ds_set_unserialize()
H A Dphp_map.c67 int php_ds_map_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data … in php_ds_map_serialize() argument
69 return ds_htable_serialize(Z_DS_MAP_P(object)->table, buffer, length, data); in php_ds_map_serialize()
72 int php_ds_map_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_t … in php_ds_map_unserialize() argument
81 ZVAL_DS_MAP(object, map); in php_ds_map_unserialize()
H A Dphp_priority_queue.c36 int php_ds_priority_queue_serialize(zval *object, unsigned char **buffer, size_t *length, zend_seri… in php_ds_priority_queue_serialize() argument
38 ds_priority_queue_t *queue = Z_DS_PRIORITY_QUEUE_P(object); in php_ds_priority_queue_serialize()
69 int php_ds_priority_queue_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buff… in php_ds_priority_queue_unserialize() argument
79 ZVAL_DS_PRIORITY_QUEUE(object, queue); in php_ds_priority_queue_unserialize()
H A Dphp_pair.c102 int php_ds_pair_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data… in php_ds_pair_serialize() argument
107 php_ds_pair_t *pair = Z_DS_PAIR_P(object); in php_ds_pair_serialize()
126 int php_ds_pair_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_t… in php_ds_pair_unserialize() argument
146 ZVAL_DS_PAIR(object, php_ds_pair_ex(key, value)); in php_ds_pair_unserialize()
H A Dphp_vector.c31 int php_ds_vector_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_da… in php_ds_vector_serialize() argument
33 ds_vector_t *vector = Z_DS_VECTOR_P(object); in php_ds_vector_serialize()
/ext-ds/src/ds/
H A Dds_queue.h44 int ds_queue_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *d…
45 int ds_queue_unserialize(zval *object, zend_class_entry *ce, const unsigned char *buffer, size_t le…
/ext-ds/src/php/handlers/
H A Dphp_priority_queue_handlers.c9 static void php_ds_priority_queue_free_object(zend_object *object) in php_ds_priority_queue_free_object() argument
11 php_ds_priority_queue_t *queue = php_ds_priority_queue_fetch_object(object); in php_ds_priority_queue_free_object()
H A Dphp_stack_handlers.c23 static void php_ds_stack_free_object(zend_object *object) argument
25 php_ds_stack_t *obj = php_ds_stack_fetch_object(object);
H A Dphp_queue_handlers.c25 static void php_ds_queue_free_object(zend_object *object) argument
27 php_ds_queue_t *queue = php_ds_queue_fetch_object(object);
H A Dphp_set_handlers.c57 static void php_ds_set_free_object(zend_object *object) argument
59 php_ds_set_t *obj = php_ds_set_fetch_object(object);
H A Dphp_map_handlers.c98 static void php_ds_map_free_object(zend_object *object) argument
100 php_ds_map_t *intern = php_ds_map_fetch_object(object);

Completed in 33 milliseconds

12