/php-src/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-src/sapi/fpm/fpm/ |
H A D | fpm_events.c | 150 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 D | fpm_events.h | 35 int (*wait)(struct fpm_event_queue_s *queue, unsigned long int timeout);
|
/php-src/Zend/ |
H A D | zend_signal.c | 109 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 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-src/ext/sysvmsg/ |
H A D | sysvmsg.stub.php | 45 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 D | sysvmsg.c | 130 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 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-src/ext/opcache/tests/ |
H A D | bug75608.phpt | 16 $queue = []; 20 $queue[] = $ratingData['UserID']; 23 foreach ($queue as $userId) {
|
/php-src/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 | 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); 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 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-src/sapi/fpm/tests/ |
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,
|
H A D | status.inc | 29 '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 D | bug72165.phpt | 14 Warning: openssl_csr_new(): add1_attr_by_txt challengePassword_min -> 4 (failed; check error queue …
|