Home
last modified time | relevance | path

Searched refs:p (Results 76 – 100 of 899) sorted by relevance

12345678910>>...36

/php-src/ext/opcache/
H A Dshared_alloc_mmap.c183 void *p; in create_segments() local
207 if (p != MAP_FAILED) { in create_segments()
213 if (p != MAP_FAILED) { in create_segments()
237 if (p != MAP_FAILED) { in create_segments()
239 p = (void*)(ZEND_MM_ALIGNED_SIZE_EX((ptrdiff_t)p, huge_page_size)); in create_segments()
241 if (p != MAP_FAILED) { in create_segments()
245 if (p != MAP_FAILED) { in create_segments()
252 if (p != MAP_FAILED) { in create_segments()
258 if (p != MAP_FAILED) { in create_segments()
264 if (p == MAP_FAILED) { in create_segments()
[all …]
/php-src/ext/phar/tests/
H A Dphar_setsignaturealgo2.phpt16 $p = new Phar($fname);
17 $p['file1.txt'] = 'hi';
18 var_dump($p->getSignature());
19 $p->setSignatureAlgorithm(Phar::MD5);
20 var_dump($p->getSignature());
21 $p->setSignatureAlgorithm(Phar::SHA1);
22 var_dump($p->getSignature());
24 $p->setSignatureAlgorithm(Phar::SHA256);
25 var_dump($p->getSignature());
31 var_dump($p->getSignature());
[all …]
/php-src/ext/tidy/tests/
H A Dbug77040.phpt8 $tidy->parseString("<p>text</p><p><![CDATA[cdata]]></p>");
9 $p = $tidy->body()->child[0];
10 var_dump($p->type === TIDY_NODETYPE_START);
11 var_dump($p->isHtml());
12 $text = $p->child[0];
/php-src/tests/classes/
H A Dproperty_override_protected_privateStatic.phpt7 protected $p = "A::p";
10 echo $this->p . "\n";
16 private static $p = "B::p (static)";
19 echo self::$p . "\n";
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_protected_protectedStatic.phpt7 protected $p = "A::p";
10 echo $this->p . "\n";
16 protected static $p = "B::p (static)";
19 echo self::$p . "\n";
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_protected_publicStatic.phpt7 protected $p = "A::p";
10 echo $this->p . "\n";
16 public static $p = "B::p (static)";
19 echo self::$p . "\n";
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_public_privateStatic.phpt7 public $p = "A::p";
10 echo $this->p . "\n";
16 private static $p = "B::p (static)";
19 echo self::$p . "\n";
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_public_protectedStatic.phpt7 public $p = "A::p";
10 echo $this->p . "\n";
16 protected static $p = "B::p (static)";
19 echo self::$p . "\n";
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
H A Dproperty_override_public_publicStatic.phpt7 public $p = "A::p";
10 echo $this->p . "\n";
16 public static $p = "B::p (static)";
19 echo self::$p . "\n";
32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
/php-src/ext/standard/
H A Dcrc32_x86.c82 x1 = _mm_loadu_si128((__m128i *)(p + 0x00)); in crc32_pclmul_batch()
86 p += CRC32_FOLDING_BLOCK_SIZE; in crc32_pclmul_batch()
92 x1 = _mm_loadu_si128((__m128i *)(p + 0x00)); in crc32_pclmul_batch()
94 x2 = _mm_loadu_si128((__m128i *)(p + 0x10)); in crc32_pclmul_batch()
98 p += CRC32_FOLDING_BLOCK_SIZE * 3; in crc32_pclmul_batch()
130 p += CRC32_FOLDING_BLOCK_SIZE * 4; in crc32_pclmul_batch()
160 p += CRC32_FOLDING_BLOCK_SIZE; in crc32_pclmul_batch()
199 p += CRC32_FOLDING_BLOCK_SIZE; in crc32_pclmul_reflected_batch()
207 p += CRC32_FOLDING_BLOCK_SIZE * 3; in crc32_pclmul_reflected_batch()
235 p += CRC32_FOLDING_BLOCK_SIZE * 4; in crc32_pclmul_reflected_batch()
[all …]
H A Dphp_crypt_r.c103 ZEND_TLS char passwd[MD5_HASH_MAX_LEN], *p; in php_md5_crypt_r() local
191 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
193 l = (final[ 0]<<16) | (final[ 6]<<8) | final[12]; to64(p,l,4); p += 4; in php_md5_crypt_r()
194 l = (final[ 1]<<16) | (final[ 7]<<8) | final[13]; to64(p,l,4); p += 4; in php_md5_crypt_r()
195 l = (final[ 2]<<16) | (final[ 8]<<8) | final[14]; to64(p,l,4); p += 4; in php_md5_crypt_r()
196 l = (final[ 3]<<16) | (final[ 9]<<8) | final[15]; to64(p,l,4); p += 4; in php_md5_crypt_r()
197 l = (final[ 4]<<16) | (final[10]<<8) | final[ 5]; to64(p,l,4); p += 4; in php_md5_crypt_r()
198 l = final[11] ; to64(p,l,2); p += 2; in php_md5_crypt_r()
199 *p = '\0'; in php_md5_crypt_r()
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_2.phpt16 $p = "";
22 $p .= "$s";
23 $p .= DIRECTORY_SEPARATOR;
27 $p = realpath(__DIR__) . DIRECTORY_SEPARATOR . $p;
29 echo strlen($p), "\n", $p, "\n";
31 var_dump(mkdir($p, 0777, true));
32 var_dump(file_exists($p));
35 $p2 = realpath($p);
38 var_dump(substr($p, 0, strlen($p) - 1) == $p2);
40 $p7 = $p . "hello.txt";
[all …]
/php-src/ext/phar/tests/zip/
H A Dphar_setsignaturealgo2.phpt21 $p = new Phar($fname);
22 $p['file1.txt'] = 'hi';
23 var_dump($p->getSignature());
27 $p = new Phar($fname2);
28 var_dump($p->getSignature());
33 $p = new Phar($fname3);
34 var_dump($p->getSignature());
39 $p = new Phar($fname4);
40 var_dump($p->getSignature());
47 $p = new Phar($fname5);
[all …]
/php-src/ext/pdo_firebird/tests/
H A Dbug_77863.phpt31 $query->bindValue('p', 0, PDO::PARAM_BOOL);
35 $query->bindValue('p', 1, PDO::PARAM_BOOL);
39 $query->bindValue('p', false, PDO::PARAM_BOOL);
43 $query->bindValue('p', true, PDO::PARAM_BOOL);
55 $query->bindValue('p', null, PDO::PARAM_BOOL);
64 $query->bindValue('p', true, PDO::PARAM_STR);
68 $query->bindValue('p', 0, PDO::PARAM_STR);
72 $query->bindValue('p', 1, PDO::PARAM_STR);
84 $query->bindValue('p', null, PDO::PARAM_STR);
97 $query->bindValue('p', 0, PDO::PARAM_INT);
[all …]
/php-src/ext/dom/tests/
H A Dbug80268.phpt12 $doc->loadHTML("<p>foo\0bar</p>");
14 var_dump(strpos($html, '<p>foo</p>') !== false);
16 file_put_contents(__DIR__ . '/80268.html', "<p>foo\0bar</p>");
20 var_dump(strpos($html, '<p>foo</p>') !== false);
H A DDOMElement_append_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
73 $dom2->loadXML('<p>other</p>');
85 string(39) "<p><b>hello<b><i>world</i></b></b></p>
88 string(39) "<p><b>hello<i>world</i></b><b></b></p>
91 string(42) "<p><b>hello<i>world</i>foo</b><b></b></p>
94 string(39) "<p><b><i>world<b>hello</b></i></b></p>
98 string(39) "<p><b>hello</b><b><i>world</i></b></p>
102 string(27) "<p><b><i>world</i></b></p>
106 string(39) "<p><b>hello</b><b><i>world</i></b></p>
110 string(13) "<p>other</p>
[all …]
H A DDOMDocument_saveHTML_variant2.phpt13 <p>Hi.<br/>there</p>
18 $e = $d->getElementsByTagName("p");
24 <p>Hi.<br/>there</p>
25 <p>Hi.<br>there</p>
H A DDOMNode_isEqualNode.phpt26 <ps><p>text</p><p>text</p><p>other text</p></ps>
27p align="center" xmlns:foo="some:bar">text</p><p xmlns:foo="some:bar">text</p><p align="center">te…
33 <p>A</p>
35 <p>B</p>
38 <p>A</p>
159 <p>A</p>
164 <p>A</p>
170 <p>A</p>
187 <p>A</p>
199 <p>A</p>
[all …]
H A DDOMElement_prepend_hierarchy_test.phpt9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>');
80 $dom2->loadXML('<p>other</p>');
92 string(39) "<p><b><b><i>world</i></b>hello</b></p>
95 string(39) "<p><b><i>world</i>hello</b><b></b></p>
98 string(42) "<p><b><i>world</i>foohello</b><b></b></p>
101 string(39) "<p><b><i><b>hello</b>world</i></b></p>
108 string(39) "<p><b>hello</b><b><i>world</i></b></p>
112 string(27) "<p><b><i>world</i></b></p>
116 string(39) "<p><b>hello</b><b><i>world</i></b></p>
120 string(13) "<p>other</p>
[all …]
/php-src/ext/phar/
H A Dgdbhelp12 set $p = $ht.pListHead
14 while $p != 0
21 set $temp = *(phar_archive_data*)$p->pDataPtr
32 set $p = $p->pListNext
56 set $p = $ht.pListHead
59 while $p != 0
77 set $p = $p->pListNext
89 set $p = $ht.pListHead
91 while $p != 0
92 set $t = (*(phar_archive_data*)$p->pDataPtr)
[all …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dstrtod.c65 p = start; in lexbor_strtod_read_uint64()
66 e = p + length; in lexbor_strtod_read_uint64()
69 d = *p++ - '0'; in lexbor_strtod_read_uint64()
271 p = start; in lexbor_strtod_internal()
272 e = p + length; in lexbor_strtod_internal()
274 while (p < e) { in lexbor_strtod_internal()
280 p++; in lexbor_strtod_internal()
283 left = e - p; in lexbor_strtod_internal()
288 p = b + left - 1; in lexbor_strtod_internal()
290 while (p > b) { in lexbor_strtod_internal()
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dder.c155 if (*p >= l) in gettag()
163 if (*p >= l) in gettag()
168 if (*p >= l) in gettag()
190 if (*p >= l) { in getlength()
218 if (len > UINT32_MAX - *p || *p + len > l) { in getlength()
410 const uint8_t *p = v, *ep = p + l; in printdata() local
421 uint32_t tag = gettag(p, &x, ep - p + x); in printdata()
424 uint32_t len = getlength(p, &x, ep - p + x); in printdata()
430 q = p + x; in printdata()
446 void *p; in main() local
[all …]
/php-src/ext/ffi/tests/
H A D032.phpt9 $p = FFI::cdef()->new("
19 var_dump(FFI::sizeof($p));
21 $p->s->c = $i;
22 $p->s->d = $i;
23 echo "$i => 3-bit int {$p->s->c}, 3-bit uint {$p->s->d}\n";
25 $p->s->a = 0;
26 $p->s->c = 0;
27 $p->s->d = 0;
28 $p->s->b = 0x7fffffff;
31 printf("%02x", $p->i[--$i]);
/php-src/ext/pcre/tests/
H A Dbug79363.phpt2 Bug #79363 (\p{L} doesn't work alongside \p{Arabic} in a character class)
6 var_dump(preg_replace('/[\p{L}\p{Arabic}]/', '0', $str));
7 var_dump(preg_replace('/[^\p{L}\p{Arabic}]/', '0', $str));
/php-src/main/
H A Dfopen_wrappers.c502 for (p = filename; isalnum((int)*p) || *p == '+' || *p == '-' || *p == '.'; p++);
503 if ((*p == ':') && (p - filename > 1) && (p[1] == '/') && (p[2] == '/')) {
534 for (p = ptr; isalnum((int)*p) || *p == '+' || *p == '-' || *p == '.'; p++);
535 if ((*p == ':') && (p - ptr > 1) && (p[1] == '/') && (p[2] == '/')) {
537 if (p[-1] != '.' || p[-2] != '.' || p - 2 != ptr) {
603 for (p = trypath; isalnum((int)*p) || *p == '+' || *p == '-' || *p == '.'; p++);
604 if ((*p == ':') && (p - trypath > 1) && (p[1] == '/') && (p[2] == '/')) {
727 if (*p == ':' && *(p + 1) == '/' && *(p + 2) == '/') {
729 url_start = p = p + 3;
738 for (; *p; p++) {
[all …]

Completed in 42 milliseconds

12345678910>>...36