Home
last modified time | relevance | path

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

1234567

/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dqueue.c135 q->cursor = q->head; in Q_Init()
159 return(q && q->cursor == q->head); in Q_AtHead()
179 return(q && q->cursor == q->tail); in Q_AtTail()
218 return q ? q->size : 0; in Q_Size()
241 q->cursor = q->head; in Q_Head()
266 q->cursor = q->tail; in Q_Tail()
313 q->cursor = q->head; in Q_PushHead()
363 q->cursor = q->tail; in Q_PushTail()
405 q->head = q->tail = q->cursor = NULL; in Q_PopHead()
409 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-5.5/sapi/fpm/fpm/
H A Dfpm_events.c188 q->prev->next = q->next; in fpm_event_queue_del()
191 q->next->prev = q->prev; in fpm_event_queue_del()
205 free(q); in fpm_event_queue_del()
208 q = q->next; in fpm_event_queue_del()
228 tmp = q; in fpm_event_queue_destroy()
229 q = q->next; in fpm_event_queue_destroy()
400 q = q->next; in fpm_event_loop()
438 q->prev->next = q->next; in fpm_event_loop()
441 q->next->prev = q->prev; in fpm_event_loop()
449 q = q->next; in fpm_event_loop()
[all …]
/PHP-5.5/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-5.5/ext/sybase_ct/tests/
H A Dtest_unbuffered_query.phpt18 $q= sybase_unbuffered_query('select name from master..systypes', $db);
19 var_dump($q);
21 while ($r= sybase_fetch_assoc($q)) {
24 var_dump($i, sybase_num_rows($q), $i == sybase_num_rows($q), $q);
25 sybase_free_result($q);
26 var_dump($q);
29 var_dump(FALSE == sybase_num_rows($q));
32 $q= sybase_unbuffered_query('select name from master..systypes', $db);
33 var_dump($q);
35 sybase_data_seek($q, 4);
[all …]
H A Dtest_unbuffered_no_full_fetch.phpt18 $q= sybase_unbuffered_query('select name from master..systypes', $db);
19 var_dump($q, key(sybase_fetch_assoc($q)));
22 $q= sybase_unbuffered_query('select name from master..systypes', $db);
23 var_dump($q, key(sybase_fetch_assoc($q)));
26 sybase_free_result($q);
27 $q= sybase_unbuffered_query('select name from master..systypes', $db);
28 var_dump($q, key(sybase_fetch_assoc($q)));
H A Dtest_fields.phpt17 $q= sybase_unbuffered_query('select
23 var_dump($q);
25 var_dump(sybase_num_fields($q));
28 while ($field= sybase_fetch_field($q)) {
33 var_dump(sybase_field_seek($q, 1));
34 var_export(sybase_fetch_field($q)); echo "\n";
/PHP-5.5/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-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c314 q->arKey = ((char*)q) + sizeof(Bucket);
323 q->h = p->h;
330 q->pNext->pLast = q;
338 *prev = q;
342 q->pData = &q->pDataPtr;
434 q->arKey = ((char*)q) + sizeof(Bucket);
450 q->pNext->pLast = q;
458 *prev = q;
545 q->arKey = ((char*)q) + sizeof(Bucket);
561 q->pNext->pLast = q;
[all …]
/PHP-5.5/sapi/fpm/fpm/events/
H A Dselect.c89 struct fpm_event_queue_s *q; in fpm_event_select_wait() local
115 q = queue; in fpm_event_select_wait()
116 while (q) { in fpm_event_select_wait()
117 if (q->ev) { /* sanity check */ in fpm_event_select_wait()
120 if (FD_ISSET(q->ev->fd, &current_fds)) { in fpm_event_select_wait()
123 fpm_event_fire(q->ev); in fpm_event_select_wait()
131 q = q->next; /* iterate */ in fpm_event_select_wait()
H A Dpoll.c136 struct fpm_event_queue_s *q; in fpm_event_poll_wait() local
158 q = queue; in fpm_event_poll_wait()
159 while (q) { in fpm_event_poll_wait()
161 …if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->in… in fpm_event_poll_wait()
164 if (active_pollfds[q->ev->index].revents & POLLIN) { in fpm_event_poll_wait()
167 fpm_event_fire(q->ev); in fpm_event_poll_wait()
175 q = q->next; /* iterate */ in fpm_event_poll_wait()
H A Ddevpoll.c151 struct fpm_event_queue_s *q; in fpm_event_devpoll_wait() local
175 q = queue; in fpm_event_devpoll_wait()
176 while (q) { in fpm_event_devpoll_wait()
179 if (q->ev && q->ev->fd == active_pollfds[i].fd) { in fpm_event_devpoll_wait()
182 fpm_event_fire(q->ev); in fpm_event_devpoll_wait()
190 q = q->next; /* iterate */ in fpm_event_devpoll_wait()
/PHP-5.5/ext/gd/
H A Dgd_ctx.c85 int q = -1, i; in _php_image_output_ctx() local
114 q = quality; /* or colorindex for foreground of BW images (defaults to black) */ in _php_image_output_ctx()
163 if(q<0||q>255) { in _php_image_output_ctx()
167 (*func_p)(im, ctx, q); in _php_image_output_ctx()
170 if (q == -1) { in _php_image_output_ctx()
171 q = 80; in _php_image_output_ctx()
173 (*func_p)(im, ctx, q); in _php_image_output_ctx()
176 (*func_p)(im, ctx, q, f); in _php_image_output_ctx()
184 q = i; in _php_image_output_ctx()
187 (*func_p)(im, file, q, ctx); in _php_image_output_ctx()
[all …]
/PHP-5.5/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 …]
H A Dengine_assignExecutionOrder_008.phpt36 echo "\n" . '$i->p->q=f(): ';
37 echo $a[$i->p->q=f()][++$i->p->q];
59 echo "\n" . 'C::$p->q=f(): ';
61 echo $a[C::$p->q=f()][++C::$p->q];
72 $i->p->q=f():
81 C::$p->q=f(): good
/PHP-5.5/sapi/apache2filter/
H A Dconfig.m415 $APXS -q CFLAGS >/dev/null 2>&1
23 $APXS -q CFLAGS >/dev/null 2>&1
34 $APXS -q CFLAGS
38 APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
39 APXS_BINDIR=`$APXS -q BINDIR`
40 APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET`
41 APXS_CFLAGS=`$APXS -q CFLAGS`
42 APU_BINDIR=`$APXS -q APU_BINDIR`
43 APR_BINDIR=`$APXS -q APR_BINDIR`
71 if test -z `$APXS -q SYSCONFDIR`; then
[all …]
/PHP-5.5/Zend/
H A Dzend_hash.c557 q = p; in zend_hash_destroy()
562 if (q->pData != &q->pDataPtr) { in zend_hash_destroy()
598 if (q->pData != &q->pDataPtr) { in zend_hash_clean()
1255 q = q->pNext; in zend_hash_update_current_key_ex()
1279 q = q->pNext; in zend_hash_update_current_key_ex()
1339 q->pLast->pNext = q->pNext; in zend_hash_update_current_key_ex()
1342 q->pNext->pLast = q->pLast; in zend_hash_update_current_key_ex()
1345 q->pListLast->pListNext = q->pListNext; in zend_hash_update_current_key_ex()
1351 q->pListNext->pListLast = q->pListLast; in zend_hash_update_current_key_ex()
1362 if (q->pData != &q->pDataPtr) { in zend_hash_update_current_key_ex()
[all …]
/PHP-5.5/ext/interbase/tests/
H A Dibase_free_query_001.phpt12 $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-5.5/sapi/apache2handler/
H A Dconfig.m414 $APXS -q CFLAGS >/dev/null 2>&1
22 $APXS -q CFLAGS >/dev/null 2>&1
33 $APXS -q CFLAGS
37 APXS_INCLUDEDIR=`$APXS -q INCLUDEDIR`
38 APXS_BINDIR=`$APXS -q BINDIR`
39 APXS_HTTPD=`$APXS -q SBINDIR`/`$APXS -q TARGET`
40 APXS_CFLAGS=`$APXS -q CFLAGS`
41 APU_BINDIR=`$APXS -q APU_BINDIR`
42 APR_BINDIR=`$APXS -q APR_BINDIR`
70 if test -z `$APXS -q SYSCONFDIR`; then
[all …]
/PHP-5.5/ext/standard/
H A Dversioning.c37 char *buf = safe_emalloc(len, 2, 1), *q, lp, lq; in php_canonicalize_version() local
46 q = buf; in php_canonicalize_version()
47 *q++ = lp = *p++; in php_canonicalize_version()
58 lq = *(q - 1); in php_canonicalize_version()
61 *q++ = '.'; in php_canonicalize_version()
65 *q++ = '.'; in php_canonicalize_version()
67 *q++ = *p; in php_canonicalize_version()
70 *q++ = '.'; in php_canonicalize_version()
73 *q++ = *p; in php_canonicalize_version()
77 *q++ = '\0'; in php_canonicalize_version()
/PHP-5.5/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));
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_statement.c60 char *q = NULL; in pgsql_stmt_dtor() local
66 efree(q); in pgsql_stmt_dtor()
98 char *q = NULL; in pgsql_stmt_dtor() local
103 efree(q); in pgsql_stmt_dtor()
133 char *q = NULL; in pgsql_stmt_execute() local
138 efree(q); in pgsql_stmt_execute()
143 efree(q); in pgsql_stmt_execute()
158 efree(q); in pgsql_stmt_execute()
407 efree(q); in pgsql_stmt_fetch()
576 char *q=NULL; in pgsql_stmt_get_column_meta() local
[all …]
/PHP-5.5/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"]=>

Completed in 344 milliseconds

1234567