Home
last modified time | relevance | path

Searched refs:p (Results 251 – 275 of 775) sorted by relevance

1...<<11121314151617181920>>...31

/PHP-7.1/ext/phar/
H A Dphar_path_check.re25 const unsigned char *p = (const unsigned char*)*s;
28 if (*len == 1 && *p == '.') {
31 } else if (*len == 2 && p[0] == '.' && p[1] == '.') {
37 #define YYCURSOR p
38 #define YYLIMIT p+*len
86 *len = (p - (const unsigned char*)*s) -1;
98 if ((p - (const unsigned char*)*s) - 1 != *len)
/PHP-7.1/ext/reflection/tests/
H A Dparameters_002.phpt43 foreach($r->getParameters() as $p)
47 check_params_func($p, 'getName');
48 check_params_func($p, 'isPassedByReference');
51 check_params_decl_class($p, 'getClass');
57 check_params_decl_class($p, 'getDeclaringClass');
59 check_params_func($p, 'isArray');
60 check_params_func($p, 'allowsNull');
61 check_params_func($p, 'isOptional');
62 check_params_func($p, 'isDefaultValueAvailable');
63 if ($p->isOptional())
[all …]
H A Dbug37816.phpt8 protected $p = 2;
13 $r = new ReflectionProperty($o, 'p');
27 Caught: Cannot access non-public member TestClass::p
/PHP-7.1/main/
H A Dphp_network.h176 php_pollfd p; in php_pollfd_for() local
179 p.fd = fd; in php_pollfd_for()
180 p.events = events; in php_pollfd_for()
181 p.revents = 0; in php_pollfd_for()
186 return p.revents; in php_pollfd_for()
194 php_pollfd p; in php_pollfd_for_ms() local
197 p.fd = fd; in php_pollfd_for_ms()
198 p.events = events; in php_pollfd_for_ms()
199 p.revents = 0; in php_pollfd_for_ms()
201 n = php_poll2(&p, 1, timeout); in php_pollfd_for_ms()
[all …]
H A Dsnprintf.c74 char *p, *rve, c; in __cvt() local
100 c = *p; in __cvt()
101 zend_freedtoa(p); in __cvt()
114 zend_freedtoa(p); in __cvt()
364 return (p); in ap_php_conv_10()
425 *s++ = *p++; in php_conv_fp()
435 *s++ = *p++; in php_conv_fp()
444 while (*p) { in php_conv_fp()
445 *s++ = *p++; in php_conv_fp()
463 *s++ = *p++; in php_conv_fp()
[all …]
/PHP-7.1/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dgen_exp.c410 char *p = buf; in main() local
424 if (*p == '\0' || *p == '#' || *p == 0x0a) { in main()
427 } else if (*p != ' ' && *p != '\t') { in main()
430 ++p; in main()
436 q = p; in main()
439 if (*p == '\0' || *p == '#' || *p == 0x0a) { in main()
442 } else if (*p == ' ' || *p == '\t') { in main()
445 ++p; in main()
448 *p = '\0'; in main()
453 ++p; in main()
/PHP-7.1/ext/opcache/
H A Dzend_persist.c32 (p = _zend_shared_memdup((void*)p, size, 1))
87 Bucket *p; in zend_hash_persist() local
141 if (p->key) { in zend_hash_persist()
165 p = ht->arData + idx; in zend_hash_persist()
169 if (p->key) { in zend_hash_persist()
181 Bucket *p; in zend_hash_persist_immutable() local
233 if (p->key) { in zend_hash_persist_immutable()
254 p = ht->arData + idx; in zend_hash_persist_immutable()
258 if (p->key) { in zend_hash_persist_immutable()
421 while (p < end) { in zend_persist_op_array_ex()
[all …]
H A DZendAccelerator.c149 (*p >= 'a' && *p <= 'z') || in is_stream_path()
150 (*p >= 'A' && *p <= 'Z') || in is_stream_path()
151 (*p >= '0' && *p <= '9') || in is_stream_path()
152 *p == '+' || *p == '-' || *p == '.'; in is_stream_path()
154 return ((p != filename) && (p[0] == ':') && (p[1] == '/') && (p[2] == '/')); in is_stream_path()
506 ZVAL_INTERNED_STR(&p->val, p->key); in accel_new_interned_string()
540 p->key = accel_new_interned_string(p->key); in accel_use_shm_interned_strings()
556 p->key = accel_new_interned_string(p->key); in accel_use_shm_interned_strings()
605 p->key = accel_new_interned_string(p->key); in accel_use_shm_interned_strings()
621 p->key = accel_new_interned_string(p->key); in accel_use_shm_interned_strings()
[all …]
/PHP-7.1/ext/openssl/tests/
H A Dbug72336.phpt7 $p = '00f8000ae45b2dacb47dd977d58b719d097bdf07cb2c17660ad898518c08' .
21 var_dump(openssl_pkey_new(array('dsa' => array('p' => $p, 'q' => $q, 'g' => $g))));
/PHP-7.1/ext/standard/tests/serialize/
H A Dbug72785.phpt9 $p = 'x:i:0;a:1:{i:0;O:1:"A":0:{}};m:a:0:{}';
10 $s = 'C:11:"ArrayObject":' . strlen($p) . ':{' . $p . '}';
/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dbase64.h33 void _free_real(void *p, char *file, int line);
36 #define free(p) _free_real(p, __FILE__,__LINE__) argument
/PHP-7.1/ext/mysqli/tests/
H A Dmysqli_query_stored_proc.phpt20 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p'))
26 if (mysqli_multi_query($link, 'CALL p()')) {
39 if (mysqli_multi_query($link, 'CALL p()')) {
52 if (mysqli_multi_query($link, 'CALL p()')) {
71 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p'))
77 if (mysqli_multi_query($link, 'CALL p()')) {
94 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p'))
99 if (!mysqli_query($link, 'CALL p(@version)'))
105 if (!mysqli_query($link, 'CALL p(@version)'))
122 if (!mysqli_query($link, 'DROP PROCEDURE IF EXISTS p'))
[all …]
/PHP-7.1/ext/phar/tests/
H A Dphar_offset_get_error.phpt17 $p = new Phar($fname);
18 $p[$iname] = "foobar\n";
22 $p[$ename] = "foobar\n";
33 $p['.phar/oops'] = 'hi';
38 $a = $p['.phar/stub.php'];
/PHP-7.1/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug71103.phpt40 $p = $d;
42 rmdir($p);
43 $p = dirname($p);
44 } while ($p != $base);
/PHP-7.1/ext/opcache/tests/
H A Dbug67215.phpt13 $file_p = __DIR__ . "/bug67215.p.php";
14 file_put_contents($file_c, "<?php require '$file_p'; class c extends p {} ?>");
15 file_put_contents($file_p, '<?php class p { protected $var = ""; } ?>');
23 $file_p = __DIR__ . "/bug67215.p.php";
/PHP-7.1/ext/phar/tests/cache_list/files/
H A Dwrite24.phar.inc8 $p = new Phar(__FILE__);
9 var_dump(isset($p["newname"]));
13 var_dump(isset($p["newname"]));
H A Dwrite10.phar.inc8 $p = new Phar(__FILE__);
9 var_dump($p->getStub());
12 $p->setStub($a);
/PHP-7.1/Zend/
H A Dzend_execute.h221 p--; in zend_vm_stack_free_extra_args_ex()
222 if (Z_REFCOUNTED_P(p)) { in zend_vm_stack_free_extra_args_ex()
223 if (!Z_DELREF_P(p)) { in zend_vm_stack_free_extra_args_ex()
225 ZVAL_NULL(p); in zend_vm_stack_free_extra_args_ex()
231 } while (p != end); in zend_vm_stack_free_extra_args_ex()
246 zval *p = end + num_args; in zend_vm_stack_free_args() local
249 p--; in zend_vm_stack_free_args()
251 if (!Z_DELREF_P(p)) { in zend_vm_stack_free_args()
253 ZVAL_NULL(p); in zend_vm_stack_free_args()
257 } while (p != end); in zend_vm_stack_free_args()
[all …]
/PHP-7.1/ext/filter/
H A Dlogical_filters.c197 char *p; in php_filter_int() local
224 if (*p == '0') { in php_filter_int()
225 p++; len--; in php_filter_int()
226 if (allow_hex && (*p == 'x' || *p == 'X')) { in php_filter_int()
227 p++; len--; in php_filter_int()
327 char *num, *p; in php_filter_float() local
359 *p++ = *str++; in php_filter_float()
366 *p++ = *str++; in php_filter_float()
373 *p++ = '.'; in php_filter_float()
380 *p++ = *str++; in php_filter_float()
[all …]
/PHP-7.1/ext/phar/tests/tar/
H A Dlinks3.phpt10 $p = new PharData(dirname(__FILE__) . '/files/biglink.tar');
14 echo $p['file.txt']->getContent();
15 echo $p['my/file']->getContent();
H A Dlinks5.phpt10 $p = new PharData(dirname(__FILE__) . '/files/subdirlink.tar');
14 echo $p['hi/test.txt']->getContent();
15 echo $p['hi/link.txt']->getContent();
H A Dlinks4.phpt10 $p = new PharData(dirname(__FILE__) . '/files/tinylink.tar');
14 echo $p['file.txt']->getContent();
15 echo $p['link.txt']->getContent();
/PHP-7.1/ext/standard/tests/streams/
H A Dbug64770.phpt15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
17 if (is_resource($p)) {
29 proc_terminate($p, 9);
42 $ret = proc_close($p);
/PHP-7.1/ext/gd/libgd/
H A Dgd.c634 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]); in gdImagePaletteCopy()
727 int p; in gdImageSetPixel() local
747 if (p != gdTransparent && p != 0) { in gdImageSetPixel()
792 …return gdTrueColorAlpha(im->red[p], im->green[p], im->blue[p], (im->transparent == p) ? gdAlphaTra… in gdImageGetTrueColorPixel()
794 return p; in gdImageGetTrueColorPixel()
822 int p; in gdImageBrushApply() local
853 int p; in gdImageBrushApply() local
878 int p; in gdImageTileApply() local
888 p = gdTrueColorAlpha(tile->red[p], tile->green[p], tile->blue[p], tile->alpha[p]); in gdImageTileApply()
2610 p++; in gdImagePolygon()
[all …]
/PHP-7.1/ext/phar/tests/cache_list/
H A Dcopyonwrite11.phar.phpt13 $p = new Phar(__FILE__);
14 var_dump($p->getStub());
16 $p->setDefaultStub();

Completed in 84 milliseconds

1...<<11121314151617181920>>...31