/php-src/ext/pcre/tests/ |
H A D | pcre_anchored.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 6 die("skip no support for \p support PCRE library");
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionObject_export_basic3.phpt | 6 private $p = 1; 14 $Obj->p = 'value';
|
/php-src/ext/standard/tests/strings/ |
H A D | explode_variation4.phpt | 8 $pizza = "piece1 piece2 piece3 piece4 piece5 piece6 p"; 9 $pieces = explode(" p", $pizza);
|
/php-src/ext/dom/tests/bug79701/ |
H A D | toggle.phpt | 7 $dom = Dom\HTMLDocument::createFromString('<p id="test">foo</p>', LIBXML_NOERROR | LIBXML_HTML_NOIM…
|
/php-src/ext/hash/ |
H A D | hash_md.c | 321 const unsigned char *p = buf, *e = buf + len; in PHP_MD2Update() local 326 memcpy(context->buffer + context->in_buffer, p, len); in PHP_MD2Update() 331 memcpy(context->buffer + context->in_buffer, p, 16 - context->in_buffer); in PHP_MD2Update() 333 p += 16 - context->in_buffer; in PHP_MD2Update() 338 while ((p + 16) <= e) { in PHP_MD2Update() 339 MD2_Transform(context, p); in PHP_MD2Update() 340 p += 16; in PHP_MD2Update() 344 if (p < e) { in PHP_MD2Update() 345 memcpy(context->buffer, p, e - p); in PHP_MD2Update() 346 context->in_buffer = (char) (e - p); in PHP_MD2Update()
|
/php-src/ext/date/tests/ |
H A D | bug52113.phpt | 10 $p = new DatePeriod($start, $diff, 2); 16 $p = new DatePeriod($start, $diff_un, 2); 17 var_dump($diff_un, $p); 31 $p = new DatePeriod($start, $diff_un, 2); 32 var_dump($unser, $p);
|
H A D | DatePeriod_serialize-004.phpt | 9 $p = new DatePeriod($s, $i, 7, DatePeriod::EXCLUDE_START_DATE); 11 var_dump($p); 14 foreach ( $p as $d ) 20 $s = serialize($p); 28 var_dump($p->__serialize()); 31 foreach ( $p as $d )
|
H A D | bug65371.phpt | 8 function p($str) 17 p('あ');
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 96 #define SKIPOFFSET(p) p++ argument 1423 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in read_repeat_counts() 1468 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in read_repeat_counts() 1479 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in read_repeat_counts() 1487 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in read_repeat_counts() 1503 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in read_repeat_counts() 1611 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in PRIV() 1802 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in PRIV() 1809 while (p < ptrend && (*p == CHAR_SPACE || *p == CHAR_HT)) p++; in PRIV() 3473 for (p = parsed_pattern - 1; p >= verbstartptr; p--) p[1] = p[0]; in parse_regex() [all …]
|
/php-src/ext/phar/tests/ |
H A D | alias_acrobatics.phpt | 13 $p = new Phar($fname); 15 $p->setAlias('foo'); 16 $p['unused'] = 'hi';
|
H A D | bug74991.phpt | 12 $p = new Phar('sample.phar'); 14 $p['some/file'] = "<?php const MAXPATHLEN = 4096, OVERFLOW = 1, PATH = 'path'; set_include_path(str… 15 $p->setStub("<?php Phar::mapPhar('sample.phar'); __HALT_COMPILER();");
|
/php-src/Zend/tests/ |
H A D | exception_013.phpt | 6 static private $p = 0; 16 var_dump(C::$p); 32 Exception: Cannot access private property C::$p in %sexception_013.php on line 13
|
H A D | bug54367.phpt | 20 echo $a['p']('foo'); 23 string(1) "p"
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_nice_basic.phpt | 12 exec('ps -p 1 -o "pid,nice"', $output, $exit_code); 14 die("skip ps -p is not available"); 21 $res = shell_exec('ps -p ' . $id .' -o "pid,nice"');
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_root.phpt | 16 $fragment->appendXML('<div><p></p></div>');
|
/php-src/Zend/Optimizer/ |
H A D | zend_ssa.c | 866 zend_ssa_phi *p; in zend_ssa_rename() local 867 for (p = ssa_blocks[succ].phis; p; p = p->next) { in zend_ssa_rename() 879 p->sources[j] = var[p->var]; in zend_ssa_rename() 892 p->sources[j] = var[p->var]; in zend_ssa_rename() 899 for (p = ssa_blocks[succ].phis; p && (p->pi >= 0); p = p->next) { in zend_ssa_rename() 1147 while (p && p != phi) { in zend_ssa_compute_use_def_chains() 1148 p = zend_ssa_next_use_phi(ssa, phi->sources[0], p); in zend_ssa_compute_use_def_chains() 1150 if (!p) { in zend_ssa_compute_use_def_chains() 1173 while (p && p != phi) { in zend_ssa_compute_use_def_chains() 1174 p = zend_ssa_next_use_phi(ssa, phi->sources[j], p); in zend_ssa_compute_use_def_chains() [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 122 zend_uchar * p = (zend_uchar *) buffer; in MYSQLND_METHOD() local 144 zend_uchar * uncompressed_payload = p; /* should include the header */ in MYSQLND_METHOD() 169 STORE_HEADER_SIZE(safe_storage, p); in MYSQLND_METHOD() 170 int3store(p, to_be_sent); in MYSQLND_METHOD() 171 int1store(p + 3, pfc->data->packet_no); in MYSQLND_METHOD() 173 RESTORE_HEADER_SIZE(p, safe_storage); in MYSQLND_METHOD() 178 p += to_be_sent; in MYSQLND_METHOD() 320 zend_uchar * p = buffer; in MYSQLND_METHOD() local 330 p += to_read_from_buffer; in MYSQLND_METHOD() 367 DBG_RETURN(pfc->data->m.receive(pfc, vio, p, to_read, conn_stats, error_info)); in MYSQLND_METHOD() [all …]
|
/php-src/main/ |
H A D | php_open_temporary_file.c | 104 char *p; in php_do_open_temporary_file() local 149 p = zend_mempcpy(random_prefix, pfx, strlen(pfx)); in php_do_open_temporary_file() 150 while (p + 1 < random_prefix + len) { in php_do_open_temporary_file() 151 *p = base32alphabet[random % strlen(base32alphabet)]; in php_do_open_temporary_file() 152 p++; in php_do_open_temporary_file() 155 *p = '\0'; in php_do_open_temporary_file()
|
H A D | php_streams.h | 625 const char *p; in php_is_stream_path() local 627 for (p = filename; in php_is_stream_path() 628 (*p >= 'a' && *p <= 'z') || in php_is_stream_path() 629 (*p >= 'A' && *p <= 'Z') || in php_is_stream_path() 630 (*p >= '0' && *p <= '9') || in php_is_stream_path() 631 *p == '+' || *p == '-' || *p == '.'; in php_is_stream_path() 632 p++); in php_is_stream_path() 633 return ((p != filename) && (p[0] == ':') && (p[1] == '/') && (p[2] == '/')); in php_is_stream_path()
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | token.c | 113 lxb_char_t *p, c; in lxb_html_token_make_text_drop_null() local 124 p = str->data; in lxb_html_token_make_text_drop_null() 130 *p++ = c; in lxb_html_token_make_text_drop_null() 144 lxb_char_t *p, c; in lxb_html_token_make_text_replace_null() local 157 p = str->data; in lxb_html_token_make_text_replace_null() 163 memcpy(p, lexbor_str_res_ansi_replacement_character, rep_len); in lxb_html_token_make_text_replace_null() 164 p += rep_len; in lxb_html_token_make_text_replace_null() 169 *p++ = c; in lxb_html_token_make_text_replace_null()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dasm_arm.h | 154 D->status = DASM_S_##st|(p-D->actionlist-1); return; } } while (0) 176 dasm_ActList p = D->actionlist + start; in dasm_put() local 193 unsigned int ins = *p++; in dasm_put() 204 case DASM_ESC: p++; ofs += 4; break; in dasm_put() 307 dasm_ActList p = D->actionlist + b[pos++]; in dasm_link() local 309 unsigned int ins = *p++; in dasm_link() 313 case DASM_ESC: p++; break; in dasm_link() 334 do { if (!(x)) return DASM_S_##st|(p-D->actionlist-1); } while (0) 354 dasm_ActList p = D->actionlist + *b++; in dasm_encode() local 356 unsigned int ins = *p++; in dasm_encode() [all …]
|
/php-src/Zend/ |
H A D | zend_string.c | 141 Bucket *p; in zend_interned_string_ht_lookup_ex() local 146 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup_ex() 147 if ((p->h == h) && zend_string_equals_cstr(p->key, str, size)) { in zend_interned_string_ht_lookup_ex() 148 return p->key; in zend_interned_string_ht_lookup_ex() 150 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup_ex() 161 Bucket *p; in zend_interned_string_ht_lookup() local 166 p = HT_HASH_TO_BUCKET(interned_strings, idx); in zend_interned_string_ht_lookup() 167 if ((p->h == h) && zend_string_equal_content(p->key, str)) { in zend_interned_string_ht_lookup() 168 return p->key; in zend_interned_string_ht_lookup() 170 idx = Z_NEXT(p->val); in zend_interned_string_ht_lookup()
|
/php-src/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLDocument_clone.phpt | 8 $dom = Dom\HTMLDocument::createFromString("<p>foo</p>");
|
/php-src/ext/phar/tests/tar/ |
H A D | alias_acrobatics.phpt | 13 $p = new Phar($fname); 15 $p->setAlias('foo'); 16 $p['unused'] = 'hi';
|
/php-src/ext/phar/tests/zip/ |
H A D | alias_acrobatics.phpt | 13 $p = new Phar($fname); 15 $p->setAlias('foo'); 16 $p['unused'] = 'hi';
|