Home
last modified time | relevance | path

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

12

/php-src/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 DSplPriorityQueue_setExtractFlags_zero.phpt6 $queue = new SplPriorityQueue();
7 $queue->setExtractFlags(0);
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
/php-src/sapi/fpm/fpm/
H A Dfpm_events.c150 while (queue) { in fpm_event_queue_isset()
154 queue = queue->next; in fpm_event_queue_isset()
165 if (!queue || !ev) { in fpm_event_queue_add()
181 if (*queue) { in fpm_event_queue_add()
183 elt->next = *queue; in fpm_event_queue_add()
185 *queue = elt; in fpm_event_queue_add()
202 q = *queue; in fpm_event_queue_del()
213 if (*queue) { in fpm_event_queue_del()
236 if (!queue) { in fpm_event_queue_destroy()
244 q = *queue; in fpm_event_queue_destroy()
[all …]
H A Dfpm_events.h35 int (*wait)(struct fpm_event_queue_s *queue, unsigned long int timeout);
/php-src/Zend/
H A Dzend_signal.c109 queue = SIGG(phead); in zend_signal_handler_defer()
112 while (queue) { in zend_signal_handler_defer()
113 …zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.conte… in zend_signal_handler_defer()
114 qtmp = queue->next; in zend_signal_handler_defer()
117 SIGG(pavail) = queue; in zend_signal_handler_defer()
118 queue = qtmp; in zend_signal_handler_defer()
130 queue->next = NULL; in zend_signal_handler_defer()
135 SIGG(phead) = queue; in zend_signal_handler_defer()
137 SIGG(ptail) = queue; in zend_signal_handler_defer()
162 queue = SIGG(phead); in zend_signal_handler_unblock()
[all …]
/php-src/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 D006.phpt8 $queue = msg_get_queue (ftok(__FILE__, 'r'), 0600);
15 var_dump(msg_send($queue, 1, $elem, false));
21 var_dump(msg_receive($queue, 1, $msg_type, 1024, $msg, false, MSG_IPC_NOWAIT));
27 if (!msg_remove_queue($queue)) {
28 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");
H A D001.phpt16 echo "BAD: queue removal failed\n";
/php-src/ext/sysvmsg/
H A Dsysvmsg.stub.php45 function msg_send(SysvMessageQueue $queue, int $message_type, $message, bool $serialize = true, boo… argument
52 SysvMessageQueue $queue, argument
62 function msg_remove_queue(SysvMessageQueue $queue): bool {} argument
64 function msg_stat_queue(SysvMessageQueue $queue): array|false {} argument
66 function msg_set_queue(SysvMessageQueue $queue, array $data): bool {} argument
H A Dsysvmsg.c130 zval *queue, *data; in PHP_FUNCTION() local
140 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
168 zval *queue; in PHP_FUNCTION() local
178 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
245 zval *queue; in PHP_FUNCTION() local
252 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
265 zval *out_message, *queue, *out_msgtype, *zerrcode = NULL; in PHP_FUNCTION() local
276 &queue, sysvmsg_queue_ce, &desiredmsgtype, &out_msgtype, &maxsize, in PHP_FUNCTION()
303 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
348 zval *message, *queue, *zerror=NULL; in PHP_FUNCTION() local
[all …]
H A Dsysvmsg_arginfo.h10 ZEND_ARG_OBJ_INFO(0, queue, SysvMessageQueue, 0)
19 ZEND_ARG_OBJ_INFO(0, queue, SysvMessageQueue, 0)
30 ZEND_ARG_OBJ_INFO(0, queue, SysvMessageQueue, 0)
34 ZEND_ARG_OBJ_INFO(0, queue, SysvMessageQueue, 0)
38 ZEND_ARG_OBJ_INFO(0, queue, SysvMessageQueue, 0)
/php-src/ext/opcache/tests/
H A Dbug75608.phpt16 $queue = [];
20 $queue[] = $ratingData['UserID'];
23 foreach ($queue as $userId) {
/php-src/sapi/fpm/fpm/events/
H A Dselect.c35 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
81 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_select_wait() argument
110 q = queue; in fpm_event_select_wait()
H A Dpoll.c30 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
126 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_poll_wait() argument
151 q = queue; in fpm_event_poll_wait()
H A Dport.c30 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
112 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.c32 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
113 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.c29 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
114 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ … in fpm_event_epoll_wait() argument
/php-src/sapi/fpm/tests/
H A Dstatus-basic.phpt23 'listen queue' => 0,
24 'max listen queue' => 0,
H A Dfpm_get_status_basic.phpt53 ["listen-queue"]=>
55 ["max-listen-queue"]=>
57 ["listen-queue-len"]=>
H A Dstatus-listen.phpt24 'listen queue' => 0,
25 'max listen queue' => 0,
H A Dstatus.inc29 'listen queue' => '\d+',
30 'max listen queue' => '\d+',
31 'listen queue len' => '\d+',
243 … "# HELP phpfpm_listen_queue The number of requests in the queue of pending connections\.\n" .
245 "phpfpm_listen_queue " . $fields['listen queue'] . "\n" .
246 …"# HELP phpfpm_max_listen_queue The maximum number of requests in the queue of pending connections…
248 "phpfpm_max_listen_queue " . $fields['max listen queue'] . "\n" .
250 … "# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections\.\n" .
251 "phpfpm_listen_queue_length " . $fields['listen queue len'] . "\n" .
/php-src/ext/openssl/tests/
H A Dbug72165.phpt14 Warning: openssl_csr_new(): add1_attr_by_txt challengePassword_min -> 4 (failed; check error queue

Completed in 23 milliseconds

12