Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 25 of 36) sorted by relevance

12

/PHP-7.0/ext/xmlrpc/libxmlrpc/
H A Dqueue.h40 } queue; typedef
48 int Q_Init(queue *q);
49 void Q_Destroy(queue *q);
51 int Q_Size(queue *q);
52 int Q_AtHead(queue *q);
53 int Q_AtTail(queue *q);
56 void *Q_Head(queue *q);
57 void *Q_Tail(queue *q);
60 void *Q_Next(queue *q);
62 void *Q_DelCur(queue *q);
[all …]
H A Dqueue.c131 int Q_Init(queue *q) in Q_Init()
157 int Q_AtHead(queue *q) in Q_AtHead()
177 int Q_AtTail(queue *q) in Q_AtTail()
216 int Q_Size(queue *q) in Q_Size()
236 void *Q_Head(queue *q) in Q_Head()
261 void *Q_Tail(queue *q) in Q_Tail()
390 void *Q_PopHead(queue *q) in Q_PopHead()
433 void *Q_PopTail(queue *q) in Q_PopTail()
477 void *Q_Next(queue *q) in Q_Next()
610 void Q_Destroy(queue *q) in Q_Destroy()
[all …]
H A Dxmlrpc_private.h125 queue *q; /* list of child values */
143 queue methodlist; /* list of callback methods */
144 queue docslist; /* list of introspection callbacks */
H A Dxml_element.h154 queue attrs; /* attribute list */
155 queue children; /* child element list */
/PHP-7.0/ext/spl/tests/
H A Ddllist_005.phpt5 $queue = new SplQueue();
8 $queue->dequeue();
13 $queue->shift();
20 $queue->enqueue($a);
24 $queue->enqueue(1);
25 $queue->enqueue(2);
26 echo $queue->top()."\n";
34 $queue->enqueue(NULL);
35 $queue->enqueue(NULL);
36 echo count($queue)."\n";
[all …]
H A DSplQueue_setIteratorMode.phpt7 $queue = new SplQueue();
9 $queue->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
H A Dpqueue_current_error.phpt2 SPL: SplPriorityQueue current on empty queue should give null
H A Dspl_heap_count_error.phpt2 SPL: Priority queue count, illegal number of args
H A Dpqueue_compare_error.phpt2 SPL: Priority queue compare, illegal number of args
/PHP-7.0/Zend/
H A Dzend_signal.c96 queue = SIGG(phead); in zend_signal_handler_defer()
99 while (queue) { in zend_signal_handler_defer()
100 …zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.conte… in zend_signal_handler_defer()
101 qtmp = queue->next; in zend_signal_handler_defer()
104 SIGG(pavail) = queue; in zend_signal_handler_defer()
105 queue = qtmp; in zend_signal_handler_defer()
117 queue->next = NULL; in zend_signal_handler_defer()
122 SIGG(phead) = queue; in zend_signal_handler_defer()
124 SIGG(ptail) = queue; in zend_signal_handler_defer()
149 queue = SIGG(phead); in zend_signal_handler_unblock()
[all …]
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_events.c132 while (queue) { in fpm_event_queue_isset()
136 queue = queue->next; in fpm_event_queue_isset()
147 if (!queue || !ev) { in fpm_event_queue_add()
163 if (*queue) { in fpm_event_queue_add()
165 elt->next = *queue; in fpm_event_queue_add()
167 *queue = elt; in fpm_event_queue_add()
184 q = *queue; in fpm_event_queue_del()
195 if (*queue) { in fpm_event_queue_del()
218 if (!queue) { in fpm_event_queue_destroy()
226 q = *queue; in fpm_event_queue_destroy()
[all …]
/PHP-7.0/ext/sysvmsg/tests/
H A D002.phpt8 $queue = msg_get_queue (ftok(__FILE__, 'r'), 0600);
9 if (!msg_send ($queue, 1, 'Hi', false /* ! no_ser*/, true/*block*/, $msg_err)) {
12 var_dump($res = msg_receive ($queue, 1, $msg_type, 16384, $msg, true, 0, $msg_error));
14 if (!msg_remove_queue($queue)) {
15 echo "BAD: queue removal failed\n";
H A D005.phpt2 sysvmsg functions on non-existing queue
17 $q = msg_get_queue($id) or die("Failed to create queue");
18 msg_remove_queue($q) or die("Failed to close queue");
21 echo "Using '$q' as queue resource:\n";
41 Using 'Resource id #4' as queue resource:
53 Using 'foo' as queue resource:
H A D006.phpt8 $queue = msg_get_queue (ftok(__FILE__, 'r'), 0600);
14 var_dump(msg_send($queue, 1, $elem, false));
17 var_dump(msg_receive($queue, 1, $msg_type, 1024, $msg, false, MSG_IPC_NOWAIT));
23 if (!msg_remove_queue($queue)) {
24 echo "BAD: queue removal failed\n";
H A D003.phpt21 resource(%d) of type (sysvmsg queue)
H A D001.phpt17 echo "BAD: queue removal failed\n";
/PHP-7.0/ext/sysvmsg/
H A Dsysvmsg.c49 ZEND_ARG_INFO(0, queue)
58 ZEND_ARG_INFO(0, queue)
69 ZEND_ARG_INFO(0, queue)
73 ZEND_ARG_INFO(0, queue)
77 ZEND_ARG_INFO(0, queue)
157 zval *queue, *data; in PHP_FUNCTION() local
202 zval *queue; in PHP_FUNCTION() local
284 zval *queue; in PHP_FUNCTION() local
307 zval *out_message, *queue, *out_msgtype, *zerrcode = NULL; in PHP_FUNCTION() local
318 &queue, &desiredmsgtype, &out_msgtype, &maxsize, in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/spl/internal/
H A Dsplqueue.inc15 * even though they don't make much sense for a queue. For convenience,
23 * queue implemented using a doubly linked list (DLL).
38 * @note The iteration's direction is not modifiable for queue instances
51 /** @return the first element of the queue.
60 /** Pushes an element at the end of the queue.
61 * @param $data variable to add to the queue.
/PHP-7.0/sapi/fpm/fpm/events/
H A Dselect.c39 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
86 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_select_wait() argument
115 q = queue; in fpm_event_select_wait()
H A Ddevpoll.c37 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
148 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{… in fpm_event_devpoll_wait() argument
175 q = queue; in fpm_event_devpoll_wait()
H A Dpoll.c34 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
133 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_poll_wait() argument
158 q = queue; in fpm_event_poll_wait()
H A Dport.c34 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
117 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_port_wait() argument
H A Dkqueue.c36 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
119 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_kqueue_wait() argument
H A Depoll.c33 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
120 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ … in fpm_event_epoll_wait() argument
/PHP-7.0/sapi/fpm/tests/
H A D010.phpt69 listen queue: 0
70 max listen queue: 0
71 listen queue len: %d

Completed in 49 milliseconds

12