Home
last modified time | relevance | path

Searched refs:data (Results 1 – 18 of 18) sorted by relevance

/ext-ds/src/php/iterators/
H A Dphp_priority_queue_iterator.c11 DTOR_AND_UNDEF(&iterator->intern.data); in php_ds_priority_queue_iterator_dtor()
17 return Z_ISUNDEF(iter->data) ? FAILURE : SUCCESS; in php_ds_priority_queue_iterator_valid()
22 return &iter->data; in php_ds_priority_queue_iterator_get_current_data()
29 static void php_ds_priority_queue_iterator_set_current(ds_priority_queue_t *queue, zval *data) in php_ds_priority_queue_iterator_set_current() argument
32 ZVAL_UNDEF(data); in php_ds_priority_queue_iterator_set_current()
34 ds_priority_queue_pop(queue, data); in php_ds_priority_queue_iterator_set_current()
35 Z_TRY_DELREF_P(data); in php_ds_priority_queue_iterator_set_current()
42 php_ds_priority_queue_iterator_set_current(iterator->queue, &iter->data); in php_ds_priority_queue_iterator_move_forward()
49 php_ds_priority_queue_iterator_set_current(iterator->queue, &iter->data); in php_ds_priority_queue_iterator_rewind()
74 ZVAL_UNDEF(&iterator->intern.data); in php_ds_priority_queue_get_iterator()
H A Dphp_queue_iterator.c14 return Z_ISUNDEF(iter->data) ? FAILURE : SUCCESS; in php_ds_queue_iterator_valid()
19 return &iter->data; in php_ds_queue_iterator_get_current_data()
26 static void php_ds_queue_iterator_set_current(ds_queue_t *queue, zval *data) in php_ds_queue_iterator_set_current() argument
29 ZVAL_UNDEF(data); in php_ds_queue_iterator_set_current()
31 ds_queue_pop(queue, data); in php_ds_queue_iterator_set_current()
32 Z_TRY_DELREF_P(data); in php_ds_queue_iterator_set_current()
39 php_ds_queue_iterator_set_current(iterator->queue, &iter->data); in php_ds_queue_iterator_move_forward()
46 php_ds_queue_iterator_set_current(iterator->queue, &iter->data); in php_ds_queue_iterator_rewind()
H A Dphp_stack_iterator.c14 return Z_ISUNDEF(iter->data) ? FAILURE : SUCCESS; in php_ds_stack_iterator_valid()
19 return &iter->data; in php_ds_stack_iterator_get_current_data()
26 static void php_ds_stack_iterator_set_current(ds_stack_t *stack, zval *data) in php_ds_stack_iterator_set_current() argument
29 ZVAL_UNDEF(data); in php_ds_stack_iterator_set_current()
31 ds_stack_pop(stack, data); in php_ds_stack_iterator_set_current()
32 Z_TRY_DELREF_P(data); in php_ds_stack_iterator_set_current()
39 php_ds_stack_iterator_set_current(iterator->stack, &iter->data); in php_ds_stack_iterator_move_forward()
46 php_ds_stack_iterator_set_current(iterator->stack, &iter->data); in php_ds_stack_iterator_rewind()
H A Dphp_htable_iterator.c26 DTOR_AND_UNDEF(&iterator->intern.data); in php_ds_htable_iterator_dtor()
82 zval *arr = &iterator->intern.data; in php_ds_htable_iterator_get_current_pair()
176 ZVAL_UNDEF(&iterator->intern.data); in php_ds_htable_create_htable_iterator()
/ext-ds/src/php/objects/
H A Dphp_queue.c31 …ds_queue_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_queue_serialize() argument
35 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_queue_serialize()
60 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_queue_unserialize() argument
64 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_queue_unserialize()
H A Dphp_deque.c30 …ds_deque_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_deque_serialize() argument
34 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_deque_serialize()
59 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_deque_unserialize() argument
63 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_deque_unserialize()
H A Dphp_stack.c30 …ds_stack_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_stack_serialize() argument
34 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_stack_serialize()
59 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_stack_unserialize() argument
63 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_stack_unserialize()
H A Dphp_vector.c31 …s_vector_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_vector_serialize() argument
35 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_vector_serialize()
59 …obj, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_vector_unserialize() argument
63 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_vector_unserialize()
H A Dphp_set.c30 …p_ds_set_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_set_serialize() argument
34 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_set_serialize()
59 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_set_unserialize() argument
63 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_set_unserialize()
H A Dphp_map.c67 …p_ds_map_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *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 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_map_unserialize() argument
76 if (ds_htable_unserialize(map->table, buffer, length, data) == FAILURE) { in php_ds_map_unserialize()
H A Dphp_priority_queue.c36 …ty_queue_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_priority_queue_serialize() argument
40 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_priority_queue_serialize()
69 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_priority_queue_unserialize() argument
73 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_priority_queue_unserialize()
H A Dphp_pair.c102 …_ds_pair_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data) in php_ds_pair_serialize() argument
109 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in php_ds_pair_serialize()
126 …ect, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in php_ds_pair_unserialize() argument
129 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in php_ds_pair_unserialize()
/ext-ds/src/ds/
H A Dds_queue.h44 …s_queue_serialize(zval *object, unsigned char **buffer, size_t *length, zend_serialize_data *data);
45 …ct, zend_class_entry *ce, const unsigned char *buffer, size_t length, zend_unserialize_data *data);
H A Dds_htable.h213 …_serialize(ds_htable_t *table, unsigned char **buffer, size_t *buf_len, zend_serialize_data *data);
214 …alize(ds_htable_t *table, const unsigned char *buffer, size_t length, zend_unserialize_data *data);
H A Dds_htable.c1182 …le_serialize(ds_htable_t *table, unsigned char **buffer, size_t *length, zend_serialize_data *data) in ds_htable_serialize() argument
1184 php_serialize_data_t serialize_data = (php_serialize_data_t) data; in ds_htable_serialize()
1211 …ialize(ds_htable_t *table, const unsigned char *buffer, size_t length, zend_unserialize_data *data) in ds_htable_unserialize() argument
1213 php_unserialize_data_t unserialize_data = (php_unserialize_data_t) data; in ds_htable_unserialize()
/ext-ds/src/
H A Dcommon.h163 zend_serialize_data *data \
170 zend_unserialize_data *data \
/ext-ds/
H A Dconfig.w3217 ARG_ENABLE("ds", "for extended data structure support", "no");
H A DREADME.md7 A PHP language extension that provides specialized data structures as efficient alternatives to the…

Completed in 38 milliseconds