Home
last modified time | relevance | path

Searched defs:queue (Results 1 – 14 of 14) sorted by relevance

/ext-ds/src/ds/
H A Dds_queue.c12 ds_queue_t *queue = ecalloc(1, sizeof(ds_queue_t)); in ds_queue_ex() local
22 ds_queue_t *ds_queue_clone(ds_queue_t *queue) in ds_queue_clone()
27 void ds_queue_free(ds_queue_t *queue) in ds_queue_free()
38 zend_long ds_queue_capacity(ds_queue_t *queue) in ds_queue_capacity()
43 void ds_queue_push(ds_queue_t *queue, VA_PARAMS) in ds_queue_push()
48 void ds_queue_push_one(ds_queue_t *queue, zval *value) in ds_queue_push_one()
53 void ds_queue_clear(ds_queue_t *queue) in ds_queue_clear()
58 void ds_queue_push_all(ds_queue_t *queue, zval *value) in ds_queue_push_all()
87 void ds_queue_pop(ds_queue_t *queue, zval *return_value) in ds_queue_pop()
92 zval *ds_queue_peek_throw(ds_queue_t *queue) in ds_queue_peek_throw()
[all …]
H A Dds_priority_queue.c60 static inline void increase_capacity(ds_priority_queue_t *queue) in increase_capacity()
76 ds_priority_queue_t *queue = ecalloc(1, sizeof(ds_priority_queue_t)); in ds_priority_queue() local
86 uint32_t ds_priority_queue_capacity(ds_priority_queue_t *queue) in ds_priority_queue_capacity()
137 static inline void ds_priority_queue_compact(ds_priority_queue_t *queue) in ds_priority_queue_compact()
144 void ds_priority_queue_pop(ds_priority_queue_t *queue, zval *return_value) in ds_priority_queue_pop()
198 static ds_priority_queue_node_t *copy_nodes(ds_priority_queue_t *queue) in copy_nodes()
214 ds_priority_queue_t *ds_priority_queue_clone(ds_priority_queue_t * queue) in ds_priority_queue_clone()
226 zval *ds_priority_queue_peek(ds_priority_queue_t *queue) in ds_priority_queue_peek()
254 void ds_priority_queue_to_array(ds_priority_queue_t *queue, zval *array) in ds_priority_queue_to_array()
277 void ds_priority_queue_clear(ds_priority_queue_t *queue) in ds_priority_queue_clear()
[all …]
H A Dds_priority_queue.h20 #define DS_PRIORITY_QUEUE_FOREACH_NODE(queue, node) \ argument
30 #define DS_PRIORITY_QUEUE_FOREACH_VALUE(queue, value) \ argument
36 #define DS_PRIORITY_QUEUE_FOREACH(queue, value, priority) \ argument
54 #define DS_PRIORITY_QUEUE_SIZE(queue) ((queue)->size) argument
55 #define DS_PRIORITY_QUEUE_IS_EMPTY(queue) (DS_PRIORITY_QUEUE_SIZE(queue) == 0) argument
H A Dds_queue.h10 #define QUEUE_FOREACH(queue, value) \ argument
/ext-ds/src/php/handlers/
H A Dphp_queue_handlers.c13 ds_queue_t *queue = php_ds_queue_fetch_object(obj)->queue; local
27 php_ds_queue_t *queue = php_ds_queue_fetch_object(object); local
35 ds_queue_t *queue = php_ds_queue_fetch_object(obj)->queue; local
47 ds_queue_t *queue = php_ds_queue_fetch_object(obj)->queue; local
58 ds_queue_t *queue = php_ds_queue_fetch_object(obj)->queue; local
72 ds_queue_t *queue = php_ds_queue_fetch_object(obj)->queue; local
H A Dphp_priority_queue_handlers.c11 php_ds_priority_queue_t *queue = php_ds_priority_queue_fetch_object(object); in php_ds_priority_queue_free_object() local
/ext-ds/src/php/objects/
H A Dphp_queue.c7 zend_object *php_ds_queue_create_object_ex(ds_queue_t *queue) in php_ds_queue_create_object_ex()
26 zend_object *php_ds_queue_create_clone(ds_queue_t *queue) in php_ds_queue_create_clone()
33 ds_queue_t *queue = Z_DS_QUEUE_P(object); in php_ds_queue_serialize() local
62 ds_queue_t *queue = ds_queue(); in php_ds_queue_unserialize() local
H A Dphp_priority_queue.c7 zend_object *php_ds_priority_queue_create_object_ex(ds_priority_queue_t *queue) in php_ds_priority_queue_create_object_ex()
30 zend_object *php_ds_priority_queue_create_clone(ds_priority_queue_t *queue) in php_ds_priority_queue_create_clone()
38 ds_priority_queue_t *queue = Z_DS_PRIORITY_QUEUE_P(object); in php_ds_priority_queue_serialize() local
71 ds_priority_queue_t *queue = ds_priority_queue(); in php_ds_priority_queue_unserialize() local
H A Dphp_priority_queue.h7 ds_priority_queue_t *queue; member
21 #define ZVAL_DS_PRIORITY_QUEUE(z, queue) \ argument
24 #define RETURN_DS_PRIORITY_QUEUE(queue) \ argument
H A Dphp_queue.h7 ds_queue_t *queue; member
19 #define ZVAL_DS_QUEUE(z, queue) \ argument
/ext-ds/src/php/iterators/
H A Dphp_priority_queue_iterator.h10 ds_priority_queue_t *queue; member
H A Dphp_queue_iterator.h11 ds_queue_t *queue; member
H A Dphp_priority_queue_iterator.c29 static void php_ds_priority_queue_iterator_set_current(ds_priority_queue_t *queue, zval *data) in php_ds_priority_queue_iterator_set_current()
H A Dphp_queue_iterator.c26 static void php_ds_queue_iterator_set_current(ds_queue_t *queue, zval *data) in php_ds_queue_iterator_set_current()

Completed in 12 milliseconds