/php-src/ext/opcache/ |
H A D | shared_alloc_mmap.c | 183 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 D | phar_setsignaturealgo2.phpt | 16 $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 D | bug77040.phpt | 8 $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 D | property_override_protected_privateStatic.phpt | 7 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 D | property_override_protected_protectedStatic.phpt | 7 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 D | property_override_protected_publicStatic.phpt | 7 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 D | property_override_public_privateStatic.phpt | 7 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 D | property_override_public_protectedStatic.phpt | 7 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 D | property_override_public_publicStatic.phpt | 7 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 D | crc32_x86.c | 82 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 D | php_crypt_r.c | 103 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 D | test_long_path_2.phpt | 16 $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 D | phar_setsignaturealgo2.phpt | 21 $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 D | bug_77863.phpt | 31 $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 D | bug80268.phpt | 12 $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 D | DOMElement_append_hierarchy_test.phpt | 9 $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 D | DOMDocument_saveHTML_variant2.phpt | 13 <p>Hi.<br/>there</p> 18 $e = $d->getElementsByTagName("p"); 24 <p>Hi.<br/>there</p> 25 <p>Hi.<br>there</p>
|
H A D | DOMNode_isEqualNode.phpt | 26 <ps><p>text</p><p>text</p><p>other text</p></ps> 27 …p 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 D | DOMElement_prepend_hierarchy_test.phpt | 9 $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 D | gdbhelp | 12 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 D | strtod.c | 65 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 D | der.c | 155 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 D | 032.phpt | 9 $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 D | bug79363.phpt | 2 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 D | fopen_wrappers.c | 502 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 …]
|