Lines Matching refs:queue
10 #define QUEUE_FOREACH(queue, value) \ argument
13 while ( ! DS_DEQUE_IS_EMPTY(queue->deque)) { \
14 ds_deque_shift(queue->deque, &_tmp); \
28 ds_queue_t *ds_queue_clone(ds_queue_t *queue);
30 void ds_queue_allocate(ds_queue_t *queue, zend_long capacity);
31 zend_long ds_queue_capacity(ds_queue_t *queue);
33 void ds_queue_push(ds_queue_t *queue, VA_PARAMS);
34 void ds_queue_push_one(ds_queue_t *queue, zval *value);
35 void ds_queue_clear(ds_queue_t *queue);
36 void ds_queue_pop(ds_queue_t *queue, zval *return_value);
37 void ds_queue_pop_throw(ds_queue_t *queue, zval *return_value);
38 zval *ds_queue_peek(ds_queue_t *queue);
39 zval *ds_queue_peek_throw(ds_queue_t *queue);
40 void ds_queue_push_all(ds_queue_t *queue, zval *value);
41 void ds_queue_to_array(ds_queue_t *queue, zval *return_value);
42 void ds_queue_free(ds_queue_t *queue);