Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 198) sorted by relevance

12345678

/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dqueue.c130 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 Dqueue.h48 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 Dcrypto_generichash.phpt7 $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 Dfpm_events.c195 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 Dlocale_accept.phpt17 '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 D039.phpt17 $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 Dpack64.phpt29 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 Dstr_replace_basic.phpt23 var_dump( str_replace("q", "q", "q", $count) );
43 string(1) "q"
/PHP-7.4/ext/sysvmsg/tests/
H A D004.phpt9 $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 D005.phpt10 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 D001.phpt9 $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 Dselect.c87 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, &current_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 Dpoll.c134 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 Ddevpoll.c149 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 D024.phpt329 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 Dconfig.m413 $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 Dgd_ctx.c89 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 Dversioning.c33 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 Dlcg.c49 #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 Dbuild_task.bat3 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 DSplDoublyLinkedList_serialization.phpt5 $q = new SplQueue();
7 $q->enqueue("a");
8 $q->enqueue("b");
10 var_dump($q, $ss = serialize($q), unserialize($ss));
H A Dbug73629.phpt5 $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 Darray_chunk_variation23.phpt5 $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 Dbug72336.phpt13 $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 D80_bug24499.phpt33 $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);

Completed in 97 milliseconds

12345678