/PHP-7.2/ext/mbstring/oniguruma/src/ |
H A D | regerror.c | 44 char *p; in onig_error_code_to_format() local 205 UChar *p; in to_ascii() local 209 p = s; in to_ascii() 234 p += enclen(enc, p); in to_ascii() 283 p = s; 289 p += len; 292 p += 3; 301 *p++ = *q++; 351 p = pat; 370 *s++ = *p++; [all …]
|
H A D | euc_tw.c | 66 p++; in is_valid_mbc_string() 68 if (*p < 0xa1 || *p > 0xb0) return FALSE; in is_valid_mbc_string() 69 p++; in is_valid_mbc_string() 71 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string() 73 p++; in is_valid_mbc_string() 75 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string() 77 p++; in is_valid_mbc_string() 85 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string() 136 while (!euctw_islead(*p) && p > start) p--; in euctw_left_adjust_char_head() 138 if (p + len > s) return (UChar* )p; in euctw_left_adjust_char_head() [all …]
|
H A D | utf32_be.c | 47 if (p + 3 < end) { in utf32be_is_mbc_newline() 48 if (*(p+3) == 0x0a && *(p+2) == 0 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline() 56 && *(p+2) == 0 && *(p+1) == 0 && *p == 0x00) in utf32be_is_mbc_newline() 59 if (*(p+2) == 0x20 && (*(p+3) == 0x29 || *(p+3) == 0x28) in utf32be_is_mbc_newline() 60 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline() 71 return (OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]); in utf32be_mbc_to_code() 83 UChar* p = buf; in utf32be_code_to_mbc() local 98 if (ONIGENC_IS_ASCII_CODE(*(p+3)) && *(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_mbc_case_fold() 131 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) { 134 p += 3; [all …]
|
H A D | utf32_le.c | 47 if (p + 3 < end) { in utf32le_is_mbc_newline() 48 if (*p == 0x0a && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) in utf32le_is_mbc_newline() 55 *p == 0x85) in utf32le_is_mbc_newline() 56 && *(p+1) == 0x00 && (p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline() 59 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28) in utf32le_is_mbc_newline() 60 && *(p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline() 71 return (OnigCodePoint )(((p[3] * 256 + p[2]) * 256 + p[1]) * 256 + p[0]); in utf32le_mbc_to_code() 83 UChar* p = buf; in utf32le_code_to_mbc() local 98 if (ONIGENC_IS_ASCII_CODE(*p) && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) { in utf32le_mbc_case_fold() 132 if (*(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) { [all …]
|
H A D | utf8.c | 81 if (p == end) in is_valid_mbc_string() 96 if (p < end) { in is_mbc_newline() 104 if (*(p+1) == 0x85 && *p == 0xc2) /* U+0085 */ in is_mbc_newline() 107 if ((*(p+2) == 0xa8 || *(p+2) == 0xa9) in is_mbc_newline() 125 if (len > end - p) len = end - p; in mbc_to_code() 127 c = *p++; in mbc_to_code() 132 c = *p++; in mbc_to_code() 204 *p = 0xfe; in code_to_mbc() 208 *p = 0xff; in code_to_mbc() 301 p = s; in left_adjust_char_head() [all …]
|
H A D | euc_jp.c | 64 p++; in is_valid_mbc_string() 68 p++; in is_valid_mbc_string() 70 if (*p < 0xa1 || *p == 0xff) return FALSE; in is_valid_mbc_string() 71 p++; in is_valid_mbc_string() 76 if (*p < 0xa1 || *p > 0xdf) return FALSE; in is_valid_mbc_string() 82 if (*p < 0xa1 || *p == 0xff) return FALSE; in is_valid_mbc_string() 85 if (*p < 0xa1 || *p == 0xff) return FALSE; in is_valid_mbc_string() 192 p = s; in left_adjust_char_head() 194 while (!eucjp_islead(*p) && p > start) p--; in left_adjust_char_head() 196 if (p + len > s) return (UChar* )p; in left_adjust_char_head() [all …]
|
H A D | utf16_be.c | 67 if (*(p+1) == 0x0a && *p == 0x00) in utf16be_is_mbc_newline() 74 *(p+1) == 0x85) && *p == 0x00) in utf16be_is_mbc_newline() 77 if (*p == 0x20 && (*(p+1) == 0x29 || *(p+1) == 0x28)) in utf16be_is_mbc_newline() 92 + ((((p[1] & 0x3f) << 2) + (p[2] - 0xdc)) << 8) in utf16be_mbc_to_code() 93 + p[3]; in utf16be_mbc_to_code() 97 code = p[0] * 256 + p[1]; in utf16be_mbc_to_code() 137 if (ONIGENC_IS_ASCII_CODE(*(p+1)) && *p == 0) { in utf16be_mbc_case_fold() 138 p++; in utf16be_mbc_case_fold() 168 if (*p == 0) { 171 p++; [all …]
|
H A D | utf16_le.c | 68 while (p < end1) { in is_valid_mbc_string() 69 p += utf16le_mbc_enc_len(p); in is_valid_mbc_string() 72 if (p != end) in is_valid_mbc_string() 82 if (*p == 0x0a && *(p+1) == 0x00) in utf16le_is_mbc_newline() 89 *p == 0x85) && *(p+1) == 0x00) in utf16le_is_mbc_newline() 92 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28)) in utf16le_is_mbc_newline() 103 UChar c0 = *p; in utf16le_mbc_to_code() 110 + p[2]; in utf16le_mbc_to_code() 121 UChar* p = buf; in utf16le_code_to_mbc() local 148 if (ONIGENC_IS_ASCII_CODE(*p) && *(p+1) == 0) { in utf16le_mbc_case_fold() [all …]
|
H A D | sjis.c | 84 p++; in is_valid_mbc_string() 87 if (*p == 0xa0 || *p == 0x80) in is_valid_mbc_string() 89 p++; in is_valid_mbc_string() 91 if (*p < 0x40 || *p > 0xfc || *p == 0x7f) in is_valid_mbc_string() 93 p++; in is_valid_mbc_string() 96 p++; in is_valid_mbc_string() 101 if (*p < 0x40 || *p > 0xfc || *p == 0x7f) in is_valid_mbc_string() 218 p = s; in left_adjust_char_head() 223 p++; in left_adjust_char_head() 229 if (p + len > s) return (UChar* )p; in left_adjust_char_head() [all …]
|
H A D | big5.c | 60 while (p < end) { in is_valid_mbc_string() 62 p++; in is_valid_mbc_string() 68 p++; in is_valid_mbc_string() 71 if (*p > 0x7e && *p < 0xa1) return FALSE; in is_valid_mbc_string() 73 p++; in is_valid_mbc_string() 142 const UChar *p; in big5_left_adjust_char_head() local 146 p = s; in big5_left_adjust_char_head() 151 p++; in big5_left_adjust_char_head() 157 if (p + len > s) return (UChar* )p; in big5_left_adjust_char_head() 158 p += len; in big5_left_adjust_char_head() [all …]
|
H A D | iso8859_1.c | 118 if (0x41 <= *p && *p <= 0x5a) { in get_case_fold_codes_by_str() 122 if (*p == 0x53 && end > p + 1 in get_case_fold_codes_by_str() 123 && (*(p+1) == 0x53 || *(p+1) == 0x73)) { /* SS */ in get_case_fold_codes_by_str() 132 else if (0x61 <= *p && *p <= 0x7a) { in get_case_fold_codes_by_str() 136 if (*p == 0x73 && end > p + 1 in get_case_fold_codes_by_str() 137 && (*(p+1) == 0x73 || *(p+1) == 0x53)) { /* ss */ in get_case_fold_codes_by_str() 146 else if (0xc0 <= *p && *p <= 0xcf) { in get_case_fold_codes_by_str() 152 else if (0xd0 <= *p && *p <= 0xdf) { in get_case_fold_codes_by_str() 183 else if (0xe0 <= *p && *p <= 0xef) { in get_case_fold_codes_by_str() 189 else if (0xf0 <= *p && *p <= 0xfe) { in get_case_fold_codes_by_str() [all …]
|
H A D | regenc.c | 69 p += enclen(enc, p); in onigenc_get_right_adjust_char_head() 82 p += enclen(enc, p); in onigenc_get_right_adjust_char_head_with_prev() 168 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_strlen_null() 193 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_str_bytelen_null() 445 if (0x41 <= *p && *p <= 0x5a) { in onigenc_ascii_get_case_fold_codes_by_str() 451 else if (0x61 <= *p && *p <= 0x7a) { in onigenc_ascii_get_case_fold_codes_by_str() 504 if (0x41 <= *p && *p <= 0x5a) { in onigenc_get_case_fold_codes_by_str_with_map() 509 && (*(p+1) == 0x53 || *(p+1) == 0x73)) { in onigenc_get_case_fold_codes_by_str_with_map() 519 else if (0x61 <= *p && *p <= 0x7a) { in onigenc_get_case_fold_codes_by_str_with_map() 678 p += enclen(enc, p); in onigenc_length_check_is_valid_mbc_string() [all …]
|
H A D | euc_kr.c | 60 while (p < end) { in is_valid_mbc_string() 62 p++; in is_valid_mbc_string() 68 p++; in is_valid_mbc_string() 70 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string() 72 p++; in is_valid_mbc_string() 124 const UChar *p; in euckr_left_adjust_char_head() local 128 p = s; in euckr_left_adjust_char_head() 130 while (!euckr_islead(*p) && p > start) p--; in euckr_left_adjust_char_head() 132 if (p + len > s) return (UChar* )p; in euckr_left_adjust_char_head() 133 p += len; in euckr_left_adjust_char_head() [all …]
|
/PHP-7.2/ext/pcre/pcrelib/ |
H A D | pcre_valid_utf8.c | 110 register PCRE_PUCHAR p; in PRIV() local 114 for (p = string; *p != 0; p++); in PRIV() 115 length = (int)(p - string); in PRIV() 118 for (p = string; length-- > 0; p++) in PRIV() 122 c = *p; in PRIV() 127 *erroroffset = (int)(p - string); in PRIV() 133 *erroroffset = (int)(p - string); in PRIV() 147 if (((d = *(++p)) & 0xc0) != 0x80) in PRIV() 149 *erroroffset = (int)(p - string) - 1; in PRIV() 164 *erroroffset = (int)(p - string) - 1; in PRIV() [all …]
|
H A D | pcre_maketables.c | 80 unsigned char *yield, *p; in pcre_maketables() local 90 p = yield; in pcre_maketables() 94 for (i = 0; i < 256; i++) *p++ = tolower(i); in pcre_maketables() 113 memset(p, 0, cbit_length); in pcre_maketables() 116 if (isdigit(i)) p[cbit_digit + i/8] |= 1 << (i&7); in pcre_maketables() 117 if (isupper(i)) p[cbit_upper + i/8] |= 1 << (i&7); in pcre_maketables() 118 if (islower(i)) p[cbit_lower + i/8] |= 1 << (i&7); in pcre_maketables() 119 if (isalnum(i)) p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 120 if (i == '_') p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 128 p += cbit_length; in pcre_maketables() [all …]
|
/PHP-7.2/ext/pcre/pcrelib/testdata/ |
H A D | testinput7 | 773 …p{Any}+\p{Any} \p{Any}+\P{Any} \p{Any}+\p{L&} \p{Any}+\p{L} \p{Any}+\p{Lu} \p{Any}+\p{Han} \p{Any}… 775 …p{L&}+\p{Any} \p{L&}+\p{L&} \P{L&}+\p{L&} \p{L&}+\p{L} \p{L&}+\p{Lu} \p{L&}+\p{Han} \p{L&}+\p{Xan}… 777 …p{N}+\p{Any} \p{N}+\p{L&} \p{N}+\p{L} \p{N}+\P{L} \p{N}+\P{N} \p{N}+\p{Lu} \p{N}+\p{Han} \p{N}+\p{… 779 …p{Lu}+\p{Any} \p{Lu}+\p{L&} \p{Lu}+\p{L} \p{Lu}+\p{Lu} \P{Lu}+\p{Lu} \p{Lu}+\p{Nd} \p{Lu}+\P{Nd} \… 781 …p{Han}+\p{Lu} \p{Han}+\p{L&} \p{Han}+\p{L} \p{Han}+\p{Lu} \p{Han}+\p{Arabic} \p{Arabic}+\p{Arabic}… 783 …p{Xan}+\p{Any} \p{Xan}+\p{L&} \P{Xan}+\p{L&} \p{Xan}+\p{L} \p{Xan}+\p{Lu} \p{Xan}+\p{Han} \p{Xan}+… 785 …p{Xsp}+\p{Any} \p{Xsp}+\p{L&} \p{Xsp}+\p{L} \p{Xsp}+\p{Lu} \p{Xsp}+\p{Han} \p{Xsp}+\p{Xan} \p{Xsp}… 787 …p{Xwd}+\p{Any} \p{Xwd}+\p{L&} \p{Xwd}+\p{L} \p{Xwd}+\p{Lu} \p{Xwd}+\p{Han} \p{Xwd}+\p{Xan} \p{Xwd}… 789 …p{Xuc}+\p{Any} \p{Xuc}+\p{L&} \p{Xuc}+\p{L} \p{Xuc}+\p{Lu} \p{Xuc}+\p{Han} \p{Xuc}+\p{Xan} \p{Xuc}… 795 /\p{L}+\p{Xan} \p{N}+\p{Xan} \p{C}+\p{Xan} \P{L}+\p{Xan} \p{N}+\p{Xan} \P{C}+\p{Xan} \p{L}+\P{Xan}/… [all …]
|
H A D | testoutput7 | 1656 …p{Any}+\p{Any} \p{Any}+\P{Any} \p{Any}+\p{L&} \p{Any}+\p{L} \p{Any}+\p{Lu} \p{Any}+\p{Han} \p{Any}… 1685 …p{L&}+\p{Any} \p{L&}+\p{L&} \P{L&}+\p{L&} \p{L&}+\p{L} \p{L&}+\p{Lu} \p{L&}+\p{Han} \p{L&}+\p{Xan}… 1716 …p{N}+\p{Any} \p{N}+\p{L&} \p{N}+\p{L} \p{N}+\P{L} \p{N}+\P{N} \p{N}+\p{Lu} \p{N}+\p{Han} \p{N}+\p{… 1747 …p{Lu}+\p{Any} \p{Lu}+\p{L&} \p{Lu}+\p{L} \p{Lu}+\p{Lu} \P{Lu}+\p{Lu} \p{Lu}+\p{Nd} \p{Lu}+\P{Nd} \… 1780 …p{Han}+\p{Lu} \p{Han}+\p{L&} \p{Han}+\p{L} \p{Han}+\p{Lu} \p{Han}+\p{Arabic} \p{Arabic}+\p{Arabic}… 1809 …p{Xan}+\p{Any} \p{Xan}+\p{L&} \P{Xan}+\p{L&} \p{Xan}+\p{L} \p{Xan}+\p{Lu} \p{Xan}+\p{Han} \p{Xan}+… 1840 …p{Xsp}+\p{Any} \p{Xsp}+\p{L&} \p{Xsp}+\p{L} \p{Xsp}+\p{Lu} \p{Xsp}+\p{Han} \p{Xsp}+\p{Xan} \p{Xsp}… 1869 …p{Xwd}+\p{Any} \p{Xwd}+\p{L&} \p{Xwd}+\p{L} \p{Xwd}+\p{Lu} \p{Xwd}+\p{Han} \p{Xwd}+\p{Xan} \p{Xwd}… 1898 …p{Xuc}+\p{Any} \p{Xuc}+\p{L&} \p{Xuc}+\p{L} \p{Xuc}+\p{Lu} \p{Xuc}+\p{Han} \p{Xuc}+\p{Xan} \p{Xuc}… 1959 /\p{L}+\p{Xan} \p{N}+\p{Xan} \p{C}+\p{Xan} \P{L}+\p{Xan} \p{N}+\p{Xan} \P{C}+\p{Xan} \p{L}+\P{Xan}/… [all …]
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_sjis.phpt | 26 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??'))) 29 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??'))) 32 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??"))) 35 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??"))) 38 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??"))) 41 if ("?p??\\0?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??" . chr(0) . "?p??"))) 42 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp); 44 var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, '?p')"));
|
/PHP-7.2/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 33 echo $a[$i->p=f()][++$i->p]; 37 echo $a[$i->p->q=f()][++$i->p->q]; 41 echo $a[$i->p[0]=f()][++$i->p[0]]; 44 echo "\n" . '$i->p[0]->p=f(): '; 45 echo $a[$i->p[0]->p=f()][++$i->p[0]->p]; 49 static $p; 53 echo $a[C::$p=f()][++C::$p]; 57 echo $a[C::$p[0]=f()][++C::$p[0]]; 61 echo $a[C::$p->q=f()][++C::$p->q]; 69 $i->p=f(): [all …]
|
/PHP-7.2/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 90 p = regexp + 2; in zend_accel_blacklist_update_regexp() 106 p += 5; in zend_accel_blacklist_update_regexp() 112 p += 4; in zend_accel_blacklist_update_regexp() 121 p += 2; in zend_accel_blacklist_update_regexp() 130 p += 6; in zend_accel_blacklist_update_regexp() 137 p += 5; in zend_accel_blacklist_update_regexp() 170 *p++ = ')'; in zend_accel_blacklist_update_regexp() 171 *p++ = '\0'; in zend_accel_blacklist_update_regexp() 191 *p++ = '|'; in zend_accel_blacklist_update_regexp() 201 while (p<end) { in zend_accel_blacklist_shutdown() [all …]
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | 034.phpt | 9 <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 D | 035.phpt | 9 <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-7.2/ext/standard/ |
H A D | uuencode.c | 71 char *p, *s, *e, *ee; in php_uuencode() local 78 p = ZSTR_VAL(dest); in php_uuencode() 91 *p++ = PHP_UU_ENC(len); in php_uuencode() 103 *p++ = '\n'; in php_uuencode() 114 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 120 *p++ = '\n'; in php_uuencode() 123 *p++ = PHP_UU_ENC('\0'); in php_uuencode() 124 *p++ = '\n'; in php_uuencode() 125 *p = '\0'; in php_uuencode() 135 char *s, *e, *p, *ee; in php_uudecode() local [all …]
|
/PHP-7.2/ext/dom/tests/ |
H A D | bug70001.phpt | 7 $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>"
|
/PHP-7.2/Zend/ |
H A D | zend_hash.c | 533 if (p->h == h && !p->key) { in zend_hash_index_find_bucket() 559 if (p) { in _zend_hash_add_or_update_i() 778 if (p) { in _zend_hash_index_add_or_update_i() 895 p++; in zend_hash_rehash() 952 p++; in zend_hash_rehash() 1210 if ((p->h == h) && (p->key == NULL)) { in zend_hash_index_del() 1475 p--; in zend_hash_graceful_reverse_destroy() 1960 return p ? &p->val : NULL; in zend_hash_find() 1972 return p ? &p->val : NULL; in zend_hash_str_find() 2014 return p ? &p->val : NULL; in zend_hash_index_find() [all …]
|