Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 946) sorted by relevance

12345678910>>...38

/php-src/ext/dom/tests/modern/css_selectors/
H A Dcombinators.phpt14 <p>First p</p>
15 <p>Second p</p>
18 <p>Third p</p>
22 <p>Fourth p</p>
26 <p class="bar">Fifth p</p>
67 <p xmlns="http://www.w3.org/1999/xhtml">First p</p>
68 <p xmlns="http://www.w3.org/1999/xhtml">Second p</p>
69 <p xmlns="http://www.w3.org/1999/xhtml">Third p</p>
73 <p xmlns="http://www.w3.org/1999/xhtml">First p</p>
76 <p xmlns="http://www.w3.org/1999/xhtml">Third p</p>
[all …]
H A Dpseudo_classes_is_where.phpt13 <p>1</p>
16 <p>2</p>
19 <p>3</p>
24 test_helper($dom, ':is(article, main) p');
25 test_helper($dom, ':where(article, main) p');
29 --- Selector: :is(article, main) p ---
30 <p>1</p>
31 <p>2</p>
32 --- Selector: :where(article, main) p ---
33 <p>1</p>
[all …]
H A Dpseudo_classes_only_of_type.phpt13 <p>Alone</p>
16 <p>With 2</p>
17 <p>With 2</p>
20 <p>With 2</p>
22 <p>With 2</p>
27 test_helper($dom, '.only-of-type1 p:only-of-type');
28 test_helper($dom, '.only-of-type2 p:only-of-type');
33 --- Selector: .only-of-type1 p:only-of-type ---
34 <p>Alone</p>
35 --- Selector: .only-of-type2 p:only-of-type ---
[all …]
H A Dpseudo_classes_only_child.phpt13 <p>Lonely</p>
16 <p>With 2</p>
17 <p>With 2</p>
22 test_helper($dom, '.only-child1 p:only-child');
23 test_helper($dom, '.only-child2 p:only-child');
27 --- Selector: .only-child1 p:only-child ---
28 <p>Lonely</p>
29 --- Selector: .only-child2 p:only-child ---
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_valid_utf.c96 PCRE2_SPTR p; in PRIV() local
134 for (p = string; length > 0; p++) in PRIV()
138 c = *p; in PRIV()
145 *erroroffset = (PCRE2_SIZE)(p - string); in PRIV()
172 if (((d = *(++p)) & 0xc0) != 0x80) in PRIV()
329 for (p = string; length > 0; p++) in PRIV()
331 c = *p; in PRIV()
346 p++; in PRIV()
348 if ((*p & 0xfc00) != 0xdc00) in PRIV()
374 for (p = string; length > 0; length--, p++) in PRIV()
[all …]
H A Dpcre2_maketables.c88 uint8_t *p; local
91 p = yield;
95 for (i = 0; i < 256; i++) *p++ = tolower(i);
102 *p++ = (c < 256)? c : i;
118 memset(p, 0, cbit_length);
121 if (isdigit(i)) p[cbit_digit + i/8] |= 1u << (i&7);
122 if (isupper(i)) p[cbit_upper + i/8] |= 1u << (i&7);
123 if (islower(i)) p[cbit_lower + i/8] |= 1u << (i&7);
124 if (isalnum(i)) p[cbit_word + i/8] |= 1u << (i&7);
133 p += cbit_length;
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dconv.c120 for (p = *start; p < end; p++) { in lexbor_conv_data_to_double()
137 if (p < end && *p == '.') { in lexbor_conv_data_to_double()
139 for (p++; p < end; p++) { in lexbor_conv_data_to_double()
159 if (e < end && (*p == 'e' || *p == 'E')) { in lexbor_conv_data_to_double()
178 for (p = e + 1; p < end; p++) { in lexbor_conv_data_to_double()
213 for (; p < end; p++) { in lexbor_conv_data_to_ulong()
214 if (*p < '0' || *p > '9') { in lexbor_conv_data_to_ulong()
258 for (; p < end; p++) { in lexbor_conv_data_to_long()
259 if (*p < '0' || *p > '9') { in lexbor_conv_data_to_long()
285 for (; p < end; p++) { in lexbor_conv_data_to_uint()
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_real_escape_string_sjis.phpt18 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??')))
21 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??')))
24 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??")))
27 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??")))
30 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??")))
33 if ("?p??\\0?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??" . chr(0) . "?p??")))
34 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp);
36 var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, '?p')"));
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromString_LIBXML_COMPACT.phpt14 <p> x </p>
15 <p>foo</p>
16 <p>foox</p>
17 <p>fooxx</p>
18 <p>fooxxx</p>
19 <p>fooxxxx</p>
20 <p>fooxxxxx</p>
21 <p>this does not fit</p>
27 foreach ($xpath->query("//*[name()='p']") as $p) {
28 echo $p->textContent, "\n";
H A DHTMLDocument_fromString_fromFile_LIBXML_HTML_NOIMPLIED.phpt24 test("<p>foo</p>");
26 test("<body><p>foo</p></body>");
27 test("<title>x</title><p>foo</p>");
31 test("<head><title>x</title></head><body><p>foo</p></body>");
54 Testing: <p>foo</p>
55 <p>foo</p>
58 Testing: <body><p>foo</p></body>
59 <body><p>foo</p></body>
61 Testing: <title>x</title><p>foo</p>
62 <title>x</title><p>foo</p>
[all …]
H A DElement_outerHTML.phpt8 $dom = Dom\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR);
9 $p = $dom->body->firstChild;
10 $p->outerHTML = '<div></div>&nbsp;<p>'; // intentionally unclosed
18 $dom->body->outerHTML = '<template><p>foo</p></template>';
19 var_dump($dom->body->querySelector('p')); // Should be NULL because the template contents do not pa…
26 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><div></div> <p></p></body></html>
27 <html><head></head><body><div></div>&nbsp;<p></p></body></html>
29 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>invalid�utf-8������ <p></p></body></h…
30 <html><head></head><body>invalid�utf-8������&nbsp;<p></p></body></html>
33 <html xmlns="http://www.w3.org/1999/xhtml"><head></head><head><template><p>foo</p></template></head…
[all …]
/php-src/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt33 echo $a[$i->p=f()][++$i->p];
39 echo $a[$i->p->q=f()][++$i->p->q];
44 echo $a[$i->p[0]=f()][++$i->p[0]];
47 echo "\n" . '$i->p[0]->p=f(): ';
50 echo $a[$i->p[0]->p=f()][++$i->p[0]->p];
54 static $p;
58 echo $a[C::$p=f()][++C::$p];
62 echo $a[C::$p[0]=f()][++C::$p[0]];
66 echo $a[C::$p->q=f()][++C::$p->q];
74 $i->p=f(): good
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_patch.c77 p++; in _asm_x86_inslen()
102 p += 2; in _asm_x86_inslen()
107 p++; in _asm_x86_inslen()
118 x = *++p; in _asm_x86_inslen()
157 *(unaligned_int32_t*)(p+2) = ((uint8_t*)to_addr - (p + 6)); in ir_patch_code()
159 } else if (*p == 0xe9 && p + *(unaligned_int32_t*)(p+1) == (uint8_t*)from_addr - 5) { in ir_patch_code()
160 *(unaligned_int32_t*)(p+1) = ((uint8_t*)to_addr - (p + 5)); in ir_patch_code()
163 p += _asm_x86_inslen(p); in ir_patch_code()
181 p = end + size; in ir_patch_code()
186 p -= 4; in ir_patch_code()
[all …]
/php-src/ext/simplexml/tests/
H A D034.phpt9 <p>Blah 1</p>
10 <p>Blah 2</p>
11 <p>Blah 3</p>
16 $p = $foo->bar->p;
17 echo count($p);
18 $p = (array)$foo->bar->p;
19 echo count($p);
H A D035.phpt9 <p>Blah 1</p>
10 <p>Blah 2</p>
11 <p>Blah 3</p>
16 $p = $foo->bar->p;
17 echo $p."\n";
18 echo $p->__toString()."\n";
19 echo $p."\n";
/php-src/ext/standard/
H A Duuencode.c67 unsigned char *p; in php_uuencode() local
88 *p++ = PHP_UU_ENC(len); in php_uuencode()
92 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
100 *p++ = '\n'; in php_uuencode()
111 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
117 *p++ = '\n'; in php_uuencode()
120 *p++ = PHP_UU_ENC('\0'); in php_uuencode()
121 *p++ = '\n'; in php_uuencode()
122 *p = '\0'; in php_uuencode()
132 char *p; in php_uudecode() local
[all …]
/php-src/ext/dom/tests/
H A Dbug70001.phpt7 $element = new DOMText('<p>foo & bar</p>');
9 $element = (new DOMDocument())->createTextNode('<p>foo & bar</p>');
11 $element->textContent = ('<p>foo & bar</p>');
15 string(16) "<p>foo & bar</p>"
16 string(16) "<p>foo & bar</p>"
17 string(16) "<p>foo & bar</p>"
H A DDOMElement_insertAdjacentText.phpt9 $dom->loadXML('<?xml version="1.0"?><container><p>foo</p></container>');
21 $p = $container->firstElementChild;
33 $p->insertAdjacentText("afterend", 'D');
62 <container>A<p>foo</p></container>
64 <container>A<p>Bfoo</p></container>
66 <container>A<p>BfooC</p></container>
68 <container>A<p>BfooC</p>D</container>
71 <container>A<p>foo</p></container>
73 <container>A<p>Bfoo</p></container>
75 <container>A<p>BfooC</p></container>
[all …]
/php-src/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c154 p < q; p += (m = mbtab[*p])); in mbfl_strcut()
166 for (q = p + length; p < q; p += (m = mbtab[*p])); in mbfl_strcut()
238 _bk.p = p; in mbfl_strcut()
255 p = _bk.p; in mbfl_strcut()
268 bk.p = p; in mbfl_strcut()
282 p = _bk.p; in mbfl_strcut()
297 p = bk.p; in mbfl_strcut()
317 p = bk.p; in mbfl_strcut()
334 _bk.p = p; in mbfl_strcut()
345 p = bk.p; in mbfl_strcut()
[all …]
/php-src/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c218 ++p; in php_mysqlnd_read_error_from_line()
364 p++; in php_mysqlnd_greet_read()
394 p+=4; in php_mysqlnd_greet_read()
402 p++; in php_mysqlnd_greet_read()
411 p++; in php_mysqlnd_greet_read()
435 p--; in php_mysqlnd_greet_read()
557 p = zend_mempcpy(p, packet->user, len); in php_mysqlnd_auth_write()
694 p++; in php_mysqlnd_auth_response_read()
854 p++; in php_mysqlnd_ok_read()
947 p++; in php_mysqlnd_eof_read()
[all …]
/php-src/ext/opcache/
H A Dzend_accelerator_blacklist.c92 p = regexp + 2; in zend_accel_blacklist_update_regexp()
108 p += 5; in zend_accel_blacklist_update_regexp()
114 p += 4; in zend_accel_blacklist_update_regexp()
123 p += 2; in zend_accel_blacklist_update_regexp()
132 p += 6; in zend_accel_blacklist_update_regexp()
139 p += 5; in zend_accel_blacklist_update_regexp()
172 *p++ = ')'; in zend_accel_blacklist_update_regexp()
202 *p++ = '|'; in zend_accel_blacklist_update_regexp()
215 while (p<end) { in zend_accel_blacklist_shutdown()
216 free(p->path); in zend_accel_blacklist_shutdown()
[all …]
/php-src/ext/dom/lexbor/lexbor/css/syntax/
H A Dsyntax.c158 while (p < end) { in lxb_css_syntax_ident_serialize()
159 ch = *p; in lxb_css_syntax_ident_serialize()
168 if (p < end && lexbor_str_res_map_hex[*p] != 0xff) { in lxb_css_syntax_ident_serialize()
176 p++; in lxb_css_syntax_ident_serialize()
179 if (data < p) { in lxb_css_syntax_ident_serialize()
200 p = data; in lxb_css_syntax_string_serialize()
206 while (p < end) { in lxb_css_syntax_string_serialize()
207 ch = *p; in lxb_css_syntax_string_serialize()
250 p++; in lxb_css_syntax_string_serialize()
253 if (data < p) { in lxb_css_syntax_string_serialize()
[all …]
/php-src/ext/dom/tests/modern/html/serializer/
H A DElement_outerHTML.phpt8 $dom = Dom\HTMLDocument::createFromString('<p>foo</p>', LIBXML_NOERROR);
10 $p = $dom->body->firstChild;
11 var_dump($p->outerHTML);
20 $template->innerHTML = '<p>foo</p>';
25 string(10) "<p>foo</p>"
26 string(49) "<html><head></head><body><p>foo</p></body></html>"
28 string(31) "<template><p>foo</p></template>"
/php-src/ext/filter/
H A Dfilter_private.h108 #define PHP_FILTER_TRIM_DEFAULT(p, len) PHP_FILTER_TRIM_DEFAULT_EX(p, len, 1); argument
110 #define PHP_FILTER_TRIM_DEFAULT_EX(p, len, return_if_empty) { \ argument
111 while ((len > 0) && (*p == ' ' || *p == '\t' || *p == '\r' || *p == '\v' || *p == '\n')) { \
112 p++; \
119 …while (p[len-1] == ' ' || p[len-1] == '\t' || p[len-1] == '\r' || p[len-1] == '\v' || p[len-1] == …
/php-src/ext/dom/tests/modern/common/
H A DElement_insertAdjacentElement.phpt8 $dom = Dom\XMLDocument::createFromString('<?xml version="1.0"?><container><p>foo</p></container>');
10 $p = $container->firstElementChild;
12 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeBegin, $dom->createElement('A'))->ta…
15 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::AfterBegin, $dom->createElement('B'))->tag…
18 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeEnd, $dom->createElement('C'))->tagN…
21 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::AfterEnd, $dom->createElement('D'))->tagNa…
28 <container><A/><p>foo</p></container>
31 <container><A/><p><B/>foo</p></container>
34 <container><A/><p><B/>foo<C/></p></container>
37 <container><A/><p><B/>foo<C/></p><D/></container>

Completed in 39 milliseconds

12345678910>>...38