Home
last modified time | relevance | path

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

12345678910>>...31

/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dregerror.c38 char *p; in onig_error_code_to_format() local
194 return (UChar* )p; in onig_error_code_to_format()
211 UChar *p; in to_ascii() local
219 p = s; in to_ascii()
244 p += enclen(enc, p); in to_ascii()
282 UChar *p, *q; in onig_error_code_to_str() local
302 p = s; in onig_error_code_to_str()
308 p += len; in onig_error_code_to_str()
311 p += 3; in onig_error_code_to_str()
323 *p = '\0'; in onig_error_code_to_str()
[all …]
H A Deuc_tw.c76 p++; in is_valid_mbc_string()
82 if (*p < 0xa1 || *p > 0xb0) return FALSE; in is_valid_mbc_string()
85 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string()
89 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string()
97 p++; in is_valid_mbc_string()
99 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string()
101 p++; in is_valid_mbc_string()
148 p = s; in euctw_left_adjust_char_head()
150 while (!euctw_islead(*p) && p > start) p--; in euctw_left_adjust_char_head()
152 if (p + len > s) return (UChar* )p; in euctw_left_adjust_char_head()
[all …]
H A Dutf32_be.c47 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()
53 *(p+3) == 0x0d || in utf32be_is_mbc_newline()
55 *(p+3) == 0x85) 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()
70 return (OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]); in utf32be_mbc_to_code()
82 UChar* p = buf; in utf32be_code_to_mbc() local
95 const UChar* p = *pp; in utf32be_mbc_case_fold() local
[all …]
H A Dutf32_le.c47 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()
53 *p == 0x0d || 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()
70 return (OnigCodePoint )(((p[3] * 256 + p[2]) * 256 + p[1]) * 256 + p[0]); in utf32le_mbc_to_code()
82 UChar* p = buf; in utf32le_code_to_mbc() local
95 const UChar* p = *pp; in utf32le_mbc_case_fold() local
[all …]
H A Deuc_jp.c64 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()
173 p = s; in left_adjust_char_head()
175 while (!eucjp_islead(*p) && p > start) p--; in left_adjust_char_head()
177 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
[all …]
H A Dsjis.c84 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()
99 p++; in is_valid_mbc_string()
101 if (*p < 0x40 || *p > 0xfc || *p == 0x7f) in is_valid_mbc_string()
185 p = s; in left_adjust_char_head()
196 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
[all …]
H A Dutf8.c81 while (p < end) { in is_valid_mbc_string()
88 if (p == end) in is_valid_mbc_string()
107 if (len > (int )(end - p)) len = (int )(end - p); in mbc_to_code()
109 c = *p++; in mbc_to_code()
114 c = *p++; in mbc_to_code()
159 UChar *p = buf; in code_to_mbc() local
190 *p = 0xfe; in code_to_mbc()
194 *p = 0xff; in code_to_mbc()
247 const UChar *p; in left_adjust_char_head() local
250 p = s; in left_adjust_char_head()
[all …]
H A Dbig5.c70 while (p < end) { in is_valid_mbc_string()
72 p++; in is_valid_mbc_string()
78 p++; in is_valid_mbc_string()
81 if (*p > 0x7e && *p < 0xa1) return FALSE; in is_valid_mbc_string()
83 p++; in is_valid_mbc_string()
143 const UChar *p; in big5_left_adjust_char_head() local
147 p = s; in big5_left_adjust_char_head()
152 p++; in big5_left_adjust_char_head()
158 if (p + len > s) return (UChar* )p; in big5_left_adjust_char_head()
159 p += len; in big5_left_adjust_char_head()
[all …]
H A Diso8859_1.c118 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()
153 if (*p == 0xdf) { in get_case_fold_codes_by_str()
183 else if (0xe0 <= *p && *p <= 0xef) { in get_case_fold_codes_by_str()
[all …]
H A Dutf16_le.c120 while (p < end1) { in is_valid_mbc_string()
123 if (p + 3 < end && ! UTF16_IS_SURROGATE_SECOND(*(p + 3))) in is_valid_mbc_string()
130 p += len; in is_valid_mbc_string()
133 if (p != end) in is_valid_mbc_string()
143 if (*p == 0x0a && *(p+1) == 0x00) in utf16le_is_mbc_newline()
150 *p == 0x85) && *(p+1) == 0x00) in utf16le_is_mbc_newline()
153 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28)) in utf16le_is_mbc_newline()
164 UChar c0 = *p; in utf16le_mbc_to_code()
170 + p[2]; in utf16le_mbc_to_code()
181 UChar* p = buf; in utf16le_code_to_mbc() local
[all …]
H A Dutf16_be.c130 if (p + 1 < end) { in utf16be_is_mbc_newline()
131 if (*(p+1) == 0x0a && *p == 0x00) in utf16be_is_mbc_newline()
138 *(p+1) == 0x85) && *p == 0x00) in utf16be_is_mbc_newline()
141 if (*p == 0x20 && (*(p+1) == 0x29 || *(p+1) == 0x28)) in utf16be_is_mbc_newline()
154 code = ((((p[0] - 0xd8) << 2) + ((p[1] & 0xc0) >> 6) + 1) << 16) in utf16be_mbc_to_code()
155 + ((((p[1] & 0x3f) << 2) + (p[2] - 0xdc)) << 8) in utf16be_mbc_to_code()
156 + p[3]; in utf16be_mbc_to_code()
159 code = p[0] * 256 + p[1]; in utf16be_mbc_to_code()
181 UChar* p = buf; in utf16be_code_to_mbc() local
207 if (ONIGENC_IS_ASCII_CODE(*(p+1)) && *p == 0) { in utf16be_mbc_case_fold()
[all …]
H A Deuc_kr.c70 while (p < end) { in is_valid_mbc_string()
72 p++; in is_valid_mbc_string()
78 p++; in is_valid_mbc_string()
80 if (*p < 0xa1 || *p == 0xff) in is_valid_mbc_string()
82 p++; in is_valid_mbc_string()
125 const UChar *p; in euckr_left_adjust_char_head() local
129 p = s; in euckr_left_adjust_char_head()
131 while (!euckr_islead(*p) && p > start) p--; in euckr_left_adjust_char_head()
133 if (p + len > s) return (UChar* )p; in euckr_left_adjust_char_head()
134 p += len; in euckr_left_adjust_char_head()
[all …]
H A Dregenc.c169 p += enclen(enc, p); in onigenc_get_right_adjust_char_head()
171 return p; in onigenc_get_right_adjust_char_head()
182 p += enclen(enc, p); in onigenc_get_right_adjust_char_head_with_prev()
255 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_strlen_null()
280 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_str_bytelen_null()
532 if (0x41 <= *p && *p <= 0x5a) { in onigenc_ascii_get_case_fold_codes_by_str()
538 else if (0x61 <= *p && *p <= 0x7a) { in onigenc_ascii_get_case_fold_codes_by_str()
591 if (0x41 <= *p && *p <= 0x5a) { in onigenc_get_case_fold_codes_by_str_with_map()
606 else if (0x61 <= *p && *p <= 0x7a) { in onigenc_get_case_fold_codes_by_str_with_map()
753 p += enclen(enc, p); in onigenc_length_check_is_valid_mbc_string()
[all …]
/PHP-7.3/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()
329 for (p = string; length > 0; p++) in PRIV()
331 c = *p; in PRIV()
343 *erroroffset = p - string; in PRIV()
346 p++; in PRIV()
357 *erroroffset = p - string; in PRIV()
374 for (p = string; length > 0; length--, p++) in PRIV()
376 c = *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);
114 memset(p, 0, cbit_length);
117 if (isdigit(i)) p[cbit_digit + i/8] |= 1 << (i&7);
118 if (isupper(i)) p[cbit_upper + i/8] |= 1 << (i&7);
119 if (islower(i)) p[cbit_lower + i/8] |= 1 << (i&7);
120 if (isalnum(i)) p[cbit_word + i/8] |= 1 << (i&7);
121 if (i == '_') p[cbit_word + i/8] |= 1 << (i&7);
129 p += cbit_length;
[all …]
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_real_escape_string_sjis.phpt26 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.3/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt32 echo $a[$i->p=f()][++$i->p];
36 echo $a[$i->p->q=f()][++$i->p->q];
40 echo $a[$i->p[0]=f()][++$i->p[0]];
43 echo "\n" . '$i->p[0]->p=f(): ';
44 echo $a[$i->p[0]->p=f()][++$i->p[0]->p];
48 static $p;
52 echo $a[C::$p=f()][++C::$p];
56 echo $a[C::$p[0]=f()][++C::$p[0]];
60 echo $a[C::$p->q=f()][++C::$p->q];
68 $i->p=f():
[all …]
/PHP-7.3/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-7.3/ext/standard/
H A Duuencode.c69 char *p, *s, *e, *ee; in php_uuencode() local
76 p = ZSTR_VAL(dest); in php_uuencode()
89 *p++ = PHP_UU_ENC(len); in php_uuencode()
101 *p++ = '\n'; in php_uuencode()
112 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
118 *p++ = '\n'; in php_uuencode()
121 *p++ = PHP_UU_ENC('\0'); in php_uuencode()
122 *p++ = '\n'; in php_uuencode()
123 *p = '\0'; in php_uuencode()
133 char *s, *e, *p, *ee; in php_uudecode() local
[all …]
/PHP-7.3/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>"
/PHP-7.3/Zend/
H A Dzend_hash.c338 p--; in zend_hash_discard()
636 if (p->h == h && !p->key) { in zend_hash_index_find_bucket()
1071 p++; in zend_hash_rehash()
1129 p++; in zend_hash_rehash()
1392 if ((p->h == h) && (p->key == NULL)) { in zend_hash_index_del()
1657 p--; in zend_hash_graceful_reverse_destroy()
2097 return p ? &p->val : NULL; in zend_hash_find()
2107 return p ? &p->val : NULL; in _zend_hash_find_known_hash()
2119 return p ? &p->val : NULL; in zend_hash_str_find()
2161 return p ? &p->val : NULL; in zend_hash_index_find()
[all …]
/PHP-7.3/ext/session/tests/
H A Dbug74892.phpt13 <p><a href="index.php">Click This Anchor Tag!</a></p>
14 <p><a href="index.php#place">External link with anchor</a></p>
15 <p><a href="http://php.net#foo">External link with anchor 2</a></p>
16 <p><a href="#place">Internal link</a></p>
19 <p><a href="index.php?PHPSESSID=sessionidhere">Click This Anchor Tag!</a></p>
20 <p><a href="index.php?PHPSESSID=sessionidhere#place">External link with anchor</a></p>
21 <p><a href="http://php.net?PHPSESSID=sessionidhere#foo">External link with anchor 2</a></p>
22 <p><a href="#place">Internal link</a></p>
/PHP-7.3/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()
200 *p++ = '|'; in zend_accel_blacklist_update_regexp()
210 while (p<end) { in zend_accel_blacklist_shutdown()
211 free(p->path); in zend_accel_blacklist_shutdown()
[all …]
/PHP-7.3/ext/filter/
H A Dfilter_private.h107 #define PHP_FILTER_TRIM_DEFAULT(p, len) PHP_FILTER_TRIM_DEFAULT_EX(p, len, 1); argument
109 #define PHP_FILTER_TRIM_DEFAULT_EX(p, len, return_if_empty) { \ argument
110 while ((len > 0) && (*p == ' ' || *p == '\t' || *p == '\r' || *p == '\v' || *p == '\n')) { \
111 p++; \
118 …while (p[len-1] == ' ' || p[len-1] == '\t' || p[len-1] == '\r' || p[len-1] == '\v' || p[len-1] == …

Completed in 57 milliseconds

12345678910>>...31