Home
last modified time | relevance | path

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

12

/PHP-8.2/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-8.2/sapi/fpm/fpm/
H A Dfpm_events.c151 while (queue) { in fpm_event_queue_isset()
155 queue = queue->next; in fpm_event_queue_isset()
166 if (!queue || !ev) { in fpm_event_queue_add()
182 if (*queue) { in fpm_event_queue_add()
184 elt->next = *queue; in fpm_event_queue_add()
186 *queue = elt; in fpm_event_queue_add()
203 q = *queue; in fpm_event_queue_del()
214 if (*queue) { in fpm_event_queue_del()
237 if (!queue) { in fpm_event_queue_destroy()
245 q = *queue; in fpm_event_queue_destroy()
[all …]
/PHP-8.2/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-8.2/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-8.2/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.c131 zval *queue, *data; in PHP_FUNCTION() local
141 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
169 zval *queue; in PHP_FUNCTION() local
179 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
246 zval *queue; in PHP_FUNCTION() local
253 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
266 zval *out_message, *queue, *out_msgtype, *zerrcode = NULL; in PHP_FUNCTION() local
277 &queue, sysvmsg_queue_ce, &desiredmsgtype, &out_msgtype, &maxsize, in PHP_FUNCTION()
304 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION()
349 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-8.2/ext/opcache/tests/
H A Dbug75608.phpt16 $queue = [];
20 $queue[] = $ratingData['UserID'];
23 foreach ($queue as $userId) {
/PHP-8.2/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 Ddevpoll.c33 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout);
142 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{… in fpm_event_devpoll_wait() argument
169 q = queue; in fpm_event_devpoll_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);
115 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-8.2/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+',
242 … "# HELP phpfpm_listen_queue The number of requests in the queue of pending connections\.\n" .
244 "phpfpm_listen_queue " . $fields['listen queue'] . "\n" .
245 …"# HELP phpfpm_max_listen_queue The maximum number of requests in the queue of pending connections…
247 "phpfpm_max_listen_queue " . $fields['max listen queue'] . "\n" .
249 … "# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections\.\n" .
250 "phpfpm_listen_queue_length " . $fields['listen queue len'] . "\n" .
/PHP-8.2/ext/openssl/tests/
H A Dbug72165.phpt14 Warning: openssl_csr_new(): add1_attr_by_txt challengePassword_min -> 4 (failed; check error queue

Completed in 28 milliseconds

12