/PHP-7.4/ext/xmlrpc/libxmlrpc/ |
H A D | queue.c | 130 q->cursor = q->head; in Q_Init() 154 return(q && q->cursor == q->head); in Q_AtHead() 174 return(q && q->cursor == q->tail); in Q_AtTail() 213 return q ? q->size : 0; in Q_Size() 236 q->cursor = q->head; in Q_Head() 261 q->cursor = q->tail; in Q_Tail() 308 q->cursor = q->head; in Q_PushHead() 358 q->cursor = q->tail; in Q_PushTail() 400 q->head = q->tail = q->cursor = NULL; in Q_PopHead() 404 q->cursor = q->head; in Q_PopHead() [all …]
|
H A D | queue.h | 48 int Q_Init(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); 63 void *Q_Get(queue *q); 83 #define Q_Iter_Head_F(q) (q ? (q_iter)((queue*)q)->head : NULL) argument [all …]
|
/PHP-7.4/ext/sodium/tests/ |
H A D | crypto_generichash.phpt | 7 $q = sodium_crypto_generichash('msg'); 8 var_dump(bin2hex($q)); 10 var_dump(bin2hex($q)); 12 var_dump(bin2hex($q)); 14 var_dump(bin2hex($q)); 16 $q = sodium_crypto_generichash_final($state); 17 var_dump(bin2hex($q)); 22 var_dump(bin2hex($q)); 27 var_dump(bin2hex($q)); 33 var_dump(bin2hex($q)); [all …]
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_events.c | 195 q = *queue; in fpm_event_queue_del() 196 while (q) { in fpm_event_queue_del() 199 q->prev->next = q->next; in fpm_event_queue_del() 202 q->next->prev = q->prev; in fpm_event_queue_del() 216 free(q); in fpm_event_queue_del() 219 q = q->next; in fpm_event_queue_del() 239 tmp = q; in fpm_event_queue_destroy() 240 q = q->next; in fpm_event_queue_destroy() 411 q = q->next; in fpm_event_loop() 448 q->prev->next = q->next; in fpm_event_loop() [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | locale_accept.phpt | 17 'en-us,en;q=0.5', 18 'da, en-gb;q=0.8, en;q=0.7', 19 'zh, en-us;q=0.8, en;q=0.7', 20 'xx, fr-FR;q=0.3, de-DE;q=0.5', 41 Accepting en-us,en;q=0.5: en_US 42 Accepting da, en-gb;q=0.8, en;q=0.7: da 43 Accepting zh, en-us;q=0.8, en;q=0.7: zh 44 Accepting xx, fr-FR;q=0.3, de-DE;q=0.5: de_DE
|
/PHP-7.4/ext/ffi/tests/ |
H A D | 039.phpt | 17 $q = $p - 3; 18 var_dump($q[0]); 19 $q = 1 + $q; 21 var_dump($p, $q); 22 var_dump($p - $q); 23 var_dump($q - $p); 24 var_dump($q - $a);
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | pack64.phpt | 29 print_r(unpack("q", pack("q", 0xfffffffffffe))); 30 print_r(unpack("q", pack("q", 0))); 31 print_r(unpack("q", pack("q", 0x8000000000000002))); 32 print_r(unpack("q", pack("q", -1))); 33 print_r(unpack("q", pack("q", 0x8000000000000000)));
|
H A D | str_replace_basic.phpt | 23 var_dump( str_replace("q", "q", "q", $count) ); 43 string(1) "q"
|
/PHP-7.4/ext/sysvmsg/tests/ |
H A D | 004.phpt | 9 $q = msg_get_queue($id); 13 var_dump(msg_set_queue($q, $arr)); 15 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); 19 var_dump(msg_set_queue($q, $arr)); 21 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); 25 var_dump(msg_set_queue($q, $arr)); 27 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); 30 $res = msg_stat_queue($q); 32 var_dump(msg_set_queue($q, $arr)); 34 var_dump(count(array_diff_assoc($arr, msg_stat_queue($q))) == 0); [all …]
|
H A D | 005.phpt | 10 foreach ($tests as $q) { 12 if ($q === null) { 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"; 25 var_dump(msg_set_queue($q, array('msg_qbytes' => 1))); 27 var_dump(msg_stat_queue($q)); 29 var_dump(msg_receive($q, 0, $null, 1, $msg, true, 0, $errno)); 32 var_dump(msg_receive($q, 0, $null, 0, $msg)); 34 var_dump(msg_send($q, 1, 'foo', true, true, $errno));
|
H A D | 001.phpt | 9 $q = msg_get_queue($key); 10 msg_send($q, 1, "hello") or print "FAIL\n"; 12 if (msg_receive($q, 0, $type, 1024, $message)) { 16 if (!msg_remove_queue($q)) {
|
/PHP-7.4/sapi/fpm/fpm/events/ |
H A D | select.c | 87 struct fpm_event_queue_s *q; in fpm_event_select_wait() local 113 q = queue; in fpm_event_select_wait() 114 while (q) { in fpm_event_select_wait() 115 if (q->ev) { /* sanity check */ in fpm_event_select_wait() 118 if (FD_ISSET(q->ev->fd, ¤t_fds)) { in fpm_event_select_wait() 121 fpm_event_fire(q->ev); in fpm_event_select_wait() 129 q = q->next; /* iterate */ in fpm_event_select_wait()
|
H A D | poll.c | 134 struct fpm_event_queue_s *q; in fpm_event_poll_wait() local 156 q = queue; in fpm_event_poll_wait() 157 while (q) { in fpm_event_poll_wait() 159 …if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->in… in fpm_event_poll_wait() 162 if (active_pollfds[q->ev->index].revents & POLLIN) { in fpm_event_poll_wait() 165 fpm_event_fire(q->ev); in fpm_event_poll_wait() 173 q = q->next; /* iterate */ in fpm_event_poll_wait()
|
H A D | devpoll.c | 149 struct fpm_event_queue_s *q; in fpm_event_devpoll_wait() local 173 q = queue; in fpm_event_devpoll_wait() 174 while (q) { in fpm_event_devpoll_wait() 177 if (q->ev && q->ev->fd == active_pollfds[i].fd) { in fpm_event_devpoll_wait() 180 fpm_event_fire(q->ev); in fpm_event_devpoll_wait() 188 q = q->next; /* iterate */ in fpm_event_devpoll_wait()
|
/PHP-7.4/tests/lang/ |
H A D | 024.phpt | 329 for ($q=0; $q<=10; $q++) { 336 echo " \$q=$q\n"; 542 $q=3 543 $q=4 545 $q=3 546 $q=4 558 $q=3 559 $q=4 561 $q=3 562 $q=4 [all …]
|
/PHP-7.4/sapi/apache2handler/ |
H A D | config.m4 | 13 $APXS -q CFLAGS >/dev/null 2>&1 21 $APXS -q CFLAGS >/dev/null 2>&1 32 $APXS -q CFLAGS 36 APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR` 37 APXS_BINDIR=`$APXS -q BINDIR` 38 APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET` 39 APXS_CFLAGS=`$APXS -q CFLAGS` 40 APU_BINDIR=`$APXS -q APU_BINDIR` 41 APR_BINDIR=`$APXS -q APR_BINDIR` 67 if test -z `$APXS -q SYSCONFDIR`; then [all …]
|
/PHP-7.4/ext/gd/ |
H A D | gd_ctx.c | 89 int q = -1, i; in _php_image_output_ctx() local 127 q = quality; /* or colorindex for foreground of BW images (defaults to black) */ in _php_image_output_ctx() 180 (*func_p)(im, ctx, q); in _php_image_output_ctx() 183 if (q == -1) { in _php_image_output_ctx() 184 q = 80; in _php_image_output_ctx() 186 (*func_p)(im, ctx, q); in _php_image_output_ctx() 189 (*func_p)(im, ctx, q, f); in _php_image_output_ctx() 197 q = i; in _php_image_output_ctx() 200 (*func_p)(im, file ? file : "", q, ctx); in _php_image_output_ctx() 202 (*func_p)(im, q, ctx); in _php_image_output_ctx()
|
/PHP-7.4/ext/standard/ |
H A D | versioning.c | 33 char *buf = safe_emalloc(len, 2, 1), *q, lp, lq; in php_canonicalize_version() local 42 q = buf; in php_canonicalize_version() 43 *q++ = lp = *p++; in php_canonicalize_version() 54 lq = *(q - 1); in php_canonicalize_version() 57 *q++ = '.'; in php_canonicalize_version() 61 *q++ = '.'; in php_canonicalize_version() 63 *q++ = *p; in php_canonicalize_version() 66 *q++ = '.'; in php_canonicalize_version() 69 *q++ = *p; in php_canonicalize_version() 73 *q++ = '\0'; in php_canonicalize_version()
|
H A D | lcg.c | 49 #define MODMULT(a, b, c, m, s) q = s/a;s=b*(s-a*q)-c*q;if(s<0)s+=m 55 int32_t q; in php_combined_lcg() local
|
/PHP-7.4/appveyor/ |
H A D | build_task.bat | 3 if "%APPVEYOR%" equ "True" rmdir /s /q C:\cygwin >NUL 2>NUL 5 if "%APPVEYOR%" equ "True" rmdir /s /q C:\cygwin64 >NUL 2>NUL 7 if "%APPVEYOR%" equ "True" rmdir /s /q C:\mingw >NUL 2>NUL 9 if "%APPVEYOR%" equ "True" rmdir /s /q C:\mingw-w64 >NUL 2>NUL 11 if "%APPVEYOR%" equ "True" rmdir /s /q C:\msys64 >NUL 2>NUL 13 if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-Win32 >NUL 2>NUL 15 if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-Win64 >NUL 2>NUL 17 if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-v11-Win32 >NUL 2>NUL 19 if "%APPVEYOR%" equ "True" rmdir /s /q c:\OpenSSL-v11-Win64 >NUL 2>NUL 21 if "%APPVEYOR%" equ "True" del /f /q C:\Windows\System32\libcrypto-1_1-x64.dll >NUL 2>NUL [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplDoublyLinkedList_serialization.phpt | 5 $q = new SplQueue(); 7 $q->enqueue("a"); 8 $q->enqueue("b"); 10 var_dump($q, $ss = serialize($q), unserialize($ss));
|
H A D | bug73629.phpt | 5 $q = new SplQueue(); 7 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_FIFO); 12 $q->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | array_chunk_variation23.phpt | 5 $array = array ("p" => 1, "q" => 2, "r" => 3, "s" => 4, "u" => 5, "v" => 6); 19 ["q"]=> 76 ["q"]=> 162 ["q"]=> 230 ["q"]=> 292 ["q"]=> 354 ["q"]=> 413 ["q"]=>
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug72336.phpt | 13 $q = '009b3734fc9f7a4a9d6437ec314e0a78c2889af64b'; 21 var_dump(openssl_pkey_new(array('dsa' => array('p' => $p, 'q' => $q, 'g' => $g))));
|
/PHP-7.4/ext/pgsql/tests/ |
H A D | 80_bug24499.phpt | 33 $q = pg_query($dbh, "SELECT id FROM id"); 34 print_r(pg_fetch_array($q)); 35 print_r(pg_fetch_array($q)); 36 $id = pg_fetch_object($q);
|