/PHP-7.3/ext/xmlrpc/libxmlrpc/ |
H A D | queue.c | 132 q->cursor = q->head; in Q_Init() 156 return(q && q->cursor == q->head); in Q_AtHead() 176 return(q && q->cursor == q->tail); in Q_AtTail() 215 return q ? q->size : 0; in Q_Size() 238 q->cursor = q->head; in Q_Head() 263 q->cursor = q->tail; in Q_Tail() 310 q->cursor = q->head; in Q_PushHead() 360 q->cursor = q->tail; in Q_PushTail() 402 q->head = q->tail = q->cursor = NULL; in Q_PopHead() 406 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.3/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.3/sapi/fpm/fpm/ |
H A D | fpm_events.c | 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() 449 q->prev->next = q->next; in fpm_event_loop() 452 q->next->prev = q->prev; in fpm_event_loop() 460 q = q->next; in fpm_event_loop() [all …]
|
/PHP-7.3/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.3/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)));
|
/PHP-7.3/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.3/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.3/ext/gd/ |
H A D | gd_ctx.c | 89 int q = -1, i; in _php_image_output_ctx() local 128 q = quality; /* or colorindex for foreground of BW images (defaults to black) */ in _php_image_output_ctx() 181 if(q<0||q>255) { in _php_image_output_ctx() 185 (*func_p)(im, ctx, q); in _php_image_output_ctx() 188 if (q == -1) { in _php_image_output_ctx() 189 q = 80; in _php_image_output_ctx() 191 (*func_p)(im, ctx, q); in _php_image_output_ctx() 194 (*func_p)(im, ctx, q, f); in _php_image_output_ctx() 202 q = i; in _php_image_output_ctx() 205 (*func_p)(im, file ? file : "", q, ctx); in _php_image_output_ctx() [all …]
|
/PHP-7.3/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 …]
|
H A D | engine_assignExecutionOrder_008.phpt | 35 echo "\n" . '$i->p->q=f(): '; 36 echo $a[$i->p->q=f()][++$i->p->q]; 58 echo "\n" . 'C::$p->q=f(): '; 60 echo $a[C::$p->q=f()][++C::$p->q]; 71 $i->p->q=f(): 80 C::$p->q=f(): good
|
/PHP-7.3/ext/interbase/tests/ |
H A D | ibase_free_query_001.phpt | 12 $q =ibase_prepare($x, 'SELECT 1 FROM test1 WHERE i = ?'); 13 $q =ibase_prepare($x, 'SELECT 1 FROM test1 WHERE i = ?'); 14 $q = ibase_prepare($x, 'SELECT 1 FROM test1 WHERE i = ?'); 16 var_dump(ibase_free_query($q)); 17 var_dump(ibase_free_query($q));
|
/PHP-7.3/sapi/apache2handler/ |
H A D | config.m4 | 12 $APXS -q CFLAGS >/dev/null 2>&1 20 $APXS -q CFLAGS >/dev/null 2>&1 31 $APXS -q CFLAGS 35 APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR` 36 APXS_BINDIR=`$APXS -q BINDIR` 37 APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET` 38 APXS_CFLAGS=`$APXS -q CFLAGS` 39 APU_BINDIR=`$APXS -q APU_BINDIR` 40 APR_BINDIR=`$APXS -q APR_BINDIR` 68 if test -z `$APXS -q SYSCONFDIR`; then [all …]
|
/PHP-7.3/ext/standard/ |
H A D | versioning.c | 35 char *buf = safe_emalloc(len, 2, 1), *q, lp, lq; in php_canonicalize_version() local 44 q = buf; in php_canonicalize_version() 45 *q++ = lp = *p++; in php_canonicalize_version() 56 lq = *(q - 1); in php_canonicalize_version() 59 *q++ = '.'; in php_canonicalize_version() 63 *q++ = '.'; in php_canonicalize_version() 65 *q++ = *p; in php_canonicalize_version() 68 *q++ = '.'; in php_canonicalize_version() 71 *q++ = *p; in php_canonicalize_version() 75 *q++ = '\0'; in php_canonicalize_version()
|
/PHP-7.3/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));
|
/PHP-7.3/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.3/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.3/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.3/ext/mbstring/oniguruma/src/ |
H A D | regerror.c | 282 UChar *p, *q; in onig_error_code_to_str() local 301 q = onig_error_code_to_format(code); in onig_error_code_to_str() 303 while (*q != '\0') { in onig_error_code_to_str() 304 if (*q == '%') { in onig_error_code_to_str() 305 q++; in onig_error_code_to_str() 306 if (*q == 'n') { /* '%n': name */ in onig_error_code_to_str() 313 q++; in onig_error_code_to_str() 320 *p++ = *q++; in onig_error_code_to_str() 328 q = onig_error_code_to_format(code); in onig_error_code_to_str() 329 len = onigenc_str_bytelen_null(ONIG_ENCODING_ASCII, q); in onig_error_code_to_str() [all …]
|
/PHP-7.3/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 75 char *q = NULL; in pgsql_stmt_dtor() local 80 efree(q); in pgsql_stmt_dtor() 112 char *q = NULL; in pgsql_stmt_dtor() local 117 efree(q); in pgsql_stmt_dtor() 148 char *q = NULL; in pgsql_stmt_execute() local 153 efree(q); in pgsql_stmt_execute() 158 efree(q); in pgsql_stmt_execute() 174 efree(q); in pgsql_stmt_execute() 444 efree(q); in pgsql_stmt_fetch() 640 char *q=NULL; in pgsql_stmt_get_column_meta() local [all …]
|
/PHP-7.3/ext/date/tests/ |
H A D | 009.phpt | 18 var_dump(strftime("%%q %%a", $t)); 19 var_dump(strftime("%q", $t)); 26 var_dump(gmstrftime("%%q %%a", $t)); 27 var_dump(gmstrftime("%q", $t)); 38 string(5) "%q %a" 47 string(5) "%q %a"
|