/PHP-5.6/ext/xmlrpc/libxmlrpc/ |
H A D | queue.h | 40 } 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 D | queue.c | 131 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 D | xmlrpc_private.h | 125 queue *q; /* list of child values */ 143 queue methodlist; /* list of callback methods */ 144 queue docslist; /* list of introspection callbacks */
|
H A D | xml_element.h | 154 queue attrs; /* attribute list */ 155 queue children; /* child element list */
|
/PHP-5.6/ext/spl/tests/ |
H A D | dllist_005.phpt | 5 $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 D | SplQueue_setIteratorMode.phpt | 7 $queue = new SplQueue(); 9 $queue->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
H A D | pqueue_current_error.phpt | 2 SPL: SplPriorityQueue current on empty queue should give null
|
H A D | spl_heap_count_error.phpt | 2 SPL: Priority queue count, illegal number of args
|
H A D | pqueue_compare_error.phpt | 2 SPL: Priority queue compare, illegal number of args
|
/PHP-5.6/Zend/ |
H A D | zend_signal.c | 88 queue = SIGG(phead); in zend_signal_handler_defer() 91 while (queue) { in zend_signal_handler_defer() 92 …zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.conte… in zend_signal_handler_defer() 93 qtmp = queue->next; in zend_signal_handler_defer() 96 SIGG(pavail) = queue; in zend_signal_handler_defer() 97 queue = qtmp; in zend_signal_handler_defer() 109 queue->next = NULL; in zend_signal_handler_defer() 114 SIGG(phead) = queue; in zend_signal_handler_defer() 116 SIGG(ptail) = queue; in zend_signal_handler_defer() 141 queue = SIGG(phead); in zend_signal_handler_unblock() [all …]
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_events.c | 132 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-5.6/ext/sysvmsg/tests/ |
H A D | 002.phpt | 8 $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 D | 005.phpt | 2 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 D | 006.phpt | 8 $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 D | 003.phpt | 21 resource(%d) of type (sysvmsg queue)
|
H A D | 001.phpt | 17 echo "BAD: queue removal failed\n";
|
/PHP-5.6/ext/sysvmsg/ |
H A D | sysvmsg.c | 49 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 200 zval *queue; in PHP_FUNCTION() local 282 zval *queue; in PHP_FUNCTION() local 303 zval *out_message, *queue, *out_msgtype, *zerrcode = NULL; in PHP_FUNCTION() local 314 &queue, &desiredmsgtype, &out_msgtype, &maxsize, in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/spl/internal/ |
H A D | splqueue.inc | 15 * 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-5.6/sapi/fpm/fpm/events/ |
H A D | select.c | 39 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 D | devpoll.c | 37 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 D | poll.c | 34 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 D | port.c | 34 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 D | kqueue.c | 36 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 D | epoll.c | 33 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-5.6/sapi/fpm/tests/ |
H A D | 010.phpt | 72 listen queue: 0 73 max listen queue: 0 74 listen queue len: %d
|