/PHP-8.1/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 | SplPriorityQueue_setExtractFlags_zero.phpt | 6 $queue = new SplPriorityQueue(); 7 $queue->setExtractFlags(0);
|
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
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_events.c | 151 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.1/Zend/ |
H A D | zend_signal.c | 107 queue = SIGG(phead); in zend_signal_handler_defer() 110 while (queue) { in zend_signal_handler_defer() 111 …zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.conte… in zend_signal_handler_defer() 112 qtmp = queue->next; in zend_signal_handler_defer() 115 SIGG(pavail) = queue; in zend_signal_handler_defer() 116 queue = qtmp; in zend_signal_handler_defer() 128 queue->next = NULL; in zend_signal_handler_defer() 133 SIGG(phead) = queue; in zend_signal_handler_defer() 135 SIGG(ptail) = queue; in zend_signal_handler_defer() 160 queue = SIGG(phead); in zend_signal_handler_unblock() [all …]
|
/PHP-8.1/ext/sysvmsg/ |
H A D | sysvmsg.stub.php | 19 function msg_send(SysvMessageQueue $queue, int $message_type, $message, bool $serialize = true, boo… argument 26 SysvMessageQueue $queue, argument 36 function msg_remove_queue(SysvMessageQueue $queue): bool {} argument 38 function msg_stat_queue(SysvMessageQueue $queue): array|false {} argument 40 function msg_set_queue(SysvMessageQueue $queue, array $data): bool {} argument
|
H A D | sysvmsg.c | 141 zval *queue, *data; in PHP_FUNCTION() local 151 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION() 179 zval *queue; in PHP_FUNCTION() local 189 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION() 256 zval *queue; in PHP_FUNCTION() local 263 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION() 276 zval *out_message, *queue, *out_msgtype, *zerrcode = NULL; in PHP_FUNCTION() local 287 &queue, sysvmsg_queue_ce, &desiredmsgtype, &out_msgtype, &maxsize, in PHP_FUNCTION() 314 mq = Z_SYSVMSG_QUEUE_P(queue); in PHP_FUNCTION() 359 zval *message, *queue, *zerror=NULL; in PHP_FUNCTION() local [all …]
|
H A D | sysvmsg_arginfo.h | 10 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.1/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 | 006.phpt | 8 $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 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");
|
H A D | 001.phpt | 16 echo "BAD: queue removal failed\n";
|
/PHP-8.1/ext/opcache/tests/ |
H A D | bug75608.phpt | 16 $queue = []; 20 $queue[] = $ratingData['UserID']; 23 foreach ($queue as $userId) {
|
/PHP-8.1/sapi/fpm/fpm/events/ |
H A D | select.c | 35 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 D | devpoll.c | 33 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 D | poll.c | 30 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 D | port.c | 30 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 D | kqueue.c | 32 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 D | epoll.c | 29 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.1/sapi/fpm/tests/ |
H A D | status.inc | 29 'listen queue' => '\d+', 30 'max listen queue' => '\d+', 31 'listen queue len' => '\d+', 218 … "# HELP phpfpm_listen_queue The number of requests in the queue of pending connections\.\n" . 220 "phpfpm_listen_queue " . $fields['listen queue'] . "\n" . 221 …"# HELP phpfpm_max_listen_queue The maximum number of requests in the queue of pending connections… 223 "phpfpm_max_listen_queue " . $fields['max listen queue'] . "\n" . 225 … "# HELP phpfpm_listen_queue_length The size of the socket queue of pending connections\.\n" . 226 "phpfpm_listen_queue_length " . $fields['listen queue len'] . "\n" .
|
H A D | status-basic.phpt | 23 'listen queue' => 0, 24 'max listen queue' => 0,
|
H A D | fpm_get_status_basic.phpt | 53 ["listen-queue"]=> 55 ["max-listen-queue"]=> 57 ["listen-queue-len"]=>
|
H A D | status-listen.phpt | 24 'listen queue' => 0, 25 'max listen queue' => 0,
|
/PHP-8.1/ext/openssl/tests/ |
H A D | bug72165.phpt | 14 Warning: openssl_csr_new(): add1_attr_by_txt challengePassword_min -> 4 (failed; check error queue …
|