/ext-ds/src/php/iterators/ |
H A D | php_queue_iterator.c | 9 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 D | php_stack_iterator.c | 9 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 D | php_priority_queue_iterator.c | 12 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 D | php_priority_queue_iterator.h | 9 zend_object *object; member 14 zend_object_iterator *php_ds_priority_queue_get_iterator(zend_class_entry *ce, zval *object, int by…
|
H A D | php_stack_iterator.h | 10 zend_object *object; member 14 zend_object_iterator *php_ds_stack_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | php_queue_iterator.h | 10 zend_object *object; member 14 zend_object_iterator *php_ds_queue_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | php_deque_iterator.c | 11 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 D | php_vector_iterator.c | 11 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 D | php_set_iterator.h | 10 zend_object_iterator *php_ds_set_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
H A D | php_vector_iterator.h | 9 zend_object *object; member
|
H A D | php_deque_iterator.h | 9 zend_object *object; member
|
/ext-ds/src/php/objects/ |
H A D | php_queue.c | 31 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 D | php_deque.c | 30 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 D | php_stack.c | 30 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 D | php_set.c | 30 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 D | php_map.c | 67 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 D | php_priority_queue.c | 36 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 D | php_pair.c | 102 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 D | php_vector.c | 31 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 D | ds_queue.h | 44 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 D | php_priority_queue_handlers.c | 9 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 D | php_stack_handlers.c | 23 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 D | php_queue_handlers.c | 25 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 D | php_set_handlers.c | 57 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 D | php_map_handlers.c | 98 static void php_ds_map_free_object(zend_object *object) argument 100 php_ds_map_t *intern = php_ds_map_fetch_object(object);
|