Home
last modified time | relevance | path

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

12345678910>>...30

/PHP-5.6/ext/mbstring/oniguruma/
H A Dregerror.c44 char *p; in onig_error_code_to_format() local
199 UChar *p; in to_ascii() local
203 p = s; in to_ascii()
228 p += enclen(enc, p); in to_ascii()
277 p = s;
283 p += len;
286 p += 3;
295 *p++ = *q++;
345 p = pat;
348 *s++ = *p++;
[all …]
H A Dregenc.c58 p += enclen(enc, p); in onigenc_get_right_adjust_char_head()
71 p += enclen(enc, p); in onigenc_get_right_adjust_char_head_with_prev()
143 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_strlen_null()
168 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_str_bytelen_null()
420 if (0x41 <= *p && *p <= 0x5a) { in onigenc_ascii_get_case_fold_codes_by_str()
426 else if (0x61 <= *p && *p <= 0x7a) { in onigenc_ascii_get_case_fold_codes_by_str()
479 if (0x41 <= *p && *p <= 0x5a) { in onigenc_get_case_fold_codes_by_str_with_map()
484 && (*(p+1) == 0x53 || *(p+1) == 0x73)) { in onigenc_get_case_fold_codes_by_str_with_map()
494 else if (0x61 <= *p && *p <= 0x7a) { in onigenc_get_case_fold_codes_by_str_with_map()
499 && (*(p+1) == 0x73 || *(p+1) == 0x53)) { in onigenc_get_case_fold_codes_by_str_with_map()
[all …]
/PHP-5.6/ext/pcre/pcrelib/
H A Dpcre_valid_utf8.c110 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 Dpcre_maketables.c80 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-5.6/ext/mbstring/oniguruma/enc/
H A Dutf32_be.c42 if (*(p+3) == 0x0a && *(p+2) == 0 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline()
49 *(p+3) == 0x85) in utf32be_is_mbc_newline()
50 && *(p+2) == 0 && *(p+1) == 0 && *p == 0x00) in utf32be_is_mbc_newline()
52 if (*(p+2) == 0x20 && (*(p+3) == 0x29 || *(p+3) == 0x28) in utf32be_is_mbc_newline()
53 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline()
64 return (OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]); in utf32be_mbc_to_code()
76 UChar* p = buf; in utf32be_code_to_mbc() local
91 if (ONIGENC_IS_ASCII_CODE(*(p+3)) && *(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_mbc_case_fold()
124 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) {
127 p += 3;
[all …]
H A Dutf32_le.c42 if (*p == 0x0a && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) in utf32le_is_mbc_newline()
47 *p == 0x0d || in utf32le_is_mbc_newline()
49 *p == 0x85) in utf32le_is_mbc_newline()
50 && *(p+1) == 0x00 && (p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline()
52 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28) in utf32le_is_mbc_newline()
53 && *(p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline()
64 return (OnigCodePoint )(((p[3] * 256 + p[2]) * 256 + p[1]) * 256 + p[0]); in utf32le_mbc_to_code()
76 UChar* p = buf; in utf32le_code_to_mbc() local
91 if (ONIGENC_IS_ASCII_CODE(*p) && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) { in utf32le_mbc_case_fold()
125 if (*(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) {
[all …]
H A Dutf16_be.c61 if (*(p+1) == 0x0a && *p == 0x00) in utf16be_is_mbc_newline()
68 *(p+1) == 0x85) && *p == 0x00) in utf16be_is_mbc_newline()
70 if (*p == 0x20 && (*(p+1) == 0x29 || *(p+1) == 0x28)) in utf16be_is_mbc_newline()
85 + ((((p[1] & 0x3f) << 2) + (p[2] - 0xdc)) << 8) in utf16be_mbc_to_code()
86 + p[3]; in utf16be_mbc_to_code()
90 code = p[0] * 256 + p[1]; in utf16be_mbc_to_code()
130 if (ONIGENC_IS_ASCII_CODE(*(p+1)) && *p == 0) { in utf16be_mbc_case_fold()
131 p++; in utf16be_mbc_case_fold()
161 if (*p == 0) {
164 p++;
[all …]
H A Dutf8.c71 if (p < end) { in is_mbc_newline()
79 if (*(p+1) == 0x85 && *p == 0xc2) /* U+0085 */ in is_mbc_newline()
82 if ((*(p+2) == 0xa8 || *(p+2) == 0xa9) in is_mbc_newline()
83 && *(p+1) == 0x80 && *p == 0xe2) /* U+2028, U+2029 */ in is_mbc_newline()
100 if (len > end - p) len = end - p; in mbc_to_code()
102 c = *p++; in mbc_to_code()
107 c = *p++; in mbc_to_code()
179 *p = 0xfe; in code_to_mbc()
183 *p = 0xff; in code_to_mbc()
276 p = s; in left_adjust_char_head()
[all …]
H A Dutf16_le.c66 if (p + 1 < end) { in utf16le_is_mbc_newline()
67 if (*p == 0x0a && *(p+1) == 0x00) in utf16le_is_mbc_newline()
72 *p == 0x0d || in utf16le_is_mbc_newline()
74 *p == 0x85) && *(p+1) == 0x00) in utf16le_is_mbc_newline()
76 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28)) in utf16le_is_mbc_newline()
87 UChar c0 = *p; in utf16le_mbc_to_code()
88 UChar c1 = *(p+1); in utf16le_mbc_to_code()
94 + p[2]; in utf16le_mbc_to_code()
105 UChar* p = buf; in utf16le_code_to_mbc() local
132 if (ONIGENC_IS_ASCII_CODE(*p) && *(p+1) == 0) { in utf16le_mbc_case_fold()
[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()
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 Deuc_jp.c71 c = *p++; in mbc_to_code()
109 UChar *p = buf; in code_to_mbc() local
119 return p - buf; in code_to_mbc()
127 const UChar* p = *pp; in mbc_case_fold() local
139 *lower++ = *p++; in mbc_case_fold()
152 const UChar *p; in left_adjust_char_head() local
156 p = s; in left_adjust_char_head()
158 while (!eucjp_islead(*p) && p > start) p--; in left_adjust_char_head()
160 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
161 p += len; in left_adjust_char_head()
[all …]
H A Dsjis.c102 c = *p++; in mbc_to_code()
108 c = *p++; in mbc_to_code()
117 UChar *p = buf; in code_to_mbc() local
126 return p - buf; in code_to_mbc()
145 *lower++ = *p++; in mbc_case_fold()
181 const UChar *p; in left_adjust_char_head() local
185 p = s; in left_adjust_char_head()
190 p++; in left_adjust_char_head()
196 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
197 p += len; in left_adjust_char_head()
[all …]
/PHP-5.6/ext/pcre/pcrelib/testdata/
H A Dtestinput7773p{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}…
775p{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}…
777p{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{…
779p{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} \
781p{Han}+\p{Lu} \p{Han}+\p{L&} \p{Han}+\p{L} \p{Han}+\p{Lu} \p{Han}+\p{Arabic} \p{Arabic}+\p{Arabic}…
783p{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}+…
785p{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}…
787p{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}…
789p{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 Dtestoutput71656p{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}…
1685p{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}…
1716p{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{…
1747p{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} \
1780p{Han}+\p{Lu} \p{Han}+\p{L&} \p{Han}+\p{L} \p{Han}+\p{Lu} \p{Han}+\p{Arabic} \p{Arabic}+\p{Arabic}…
1809p{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}+…
1840p{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}…
1869p{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}…
1898p{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-5.6/Zend/
H A Dzend_hash.c279 p = p->pNext; in _zend_hash_add_or_update()
342 p = p->pNext; in _zend_hash_quick_add_or_update()
417 p = p->pNext; in _zend_hash_index_update_or_next_insert()
475 for (p = ht->pListHead; p != NULL; p = p->pListNext) { in zend_hash_rehash()
495 for (p = ht->pListHead; p != NULL; p = p->pListNext) { in zend_hash_reindex()
529 p = p->pNext; in zend_hash_del_key_or_index()
856 p = p->pNext; in zend_hash_find()
880 p = p->pNext; in zend_hash_quick_find()
903 p = p->pNext; in zend_hash_exists()
926 p = p->pNext; in zend_hash_quick_exists()
[all …]
H A Dzend_string.c89 Bucket *p; in zend_new_interned_string_int() local
107 p = p->pNext; in zend_new_interned_string_int()
123 p->arKey = (char*)(p+1); in zend_new_interned_string_int()
129 p->h = h; in zend_new_interned_string_int()
130 p->pData = &p->pDataPtr; in zend_new_interned_string_int()
131 p->pDataPtr = p; in zend_new_interned_string_int()
136 p->pNext->pLast = p; in zend_new_interned_string_int()
145 p->pListLast->pListNext = p; in zend_new_interned_string_int()
206 p->pListLast->pListNext = p->pListNext; in zend_interned_strings_restore_int()
211 p->pListNext->pListLast = p->pListLast; in zend_interned_strings_restore_int()
[all …]
/PHP-5.6/ext/ereg/regex/
H A Dregcomp.c45 #define MORE() (p->next < p->end)
46 #define MORE2() (p->next+1 < p->end)
139 p->end = p->next + len;
519 (void) dupl(p, p->pbegin[i]+1, p->pend[i]);
597 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) {
602 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) {
653 ordinary(p, firstch(p, cs));
1236 for (p = cs->multis; *p != '\0'; p += strlen(p) + 1)
1364 assert(p->ssize >= p->slen + len);
1393 if (p->slen >= p->ssize)
[all …]
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_real_escape_string_sjis.phpt30 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??')))
33 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??')))
36 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??")))
39 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??")))
42 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??")))
45 if ("?p??\\0?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??" . chr(0) . "?p??")))
46 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp);
48 var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, '?p')"));
/PHP-5.6/ext/fileinfo/libmagic/
H A Dsoftmagic.c827 p->fld = ~p->fld \
914 p->s[sizeof(p->s) - 1] = '\0'; in mconvert()
939 p->h = (short)((p->hs[0]<<8)|(p->hs[1])); in mconvert()
946 ((p->hl[0]<<24)|(p->hl[1]<<16)|(p->hl[2]<<8)|(p->hl[3])); in mconvert()
961 p->h = (short)((p->hs[1]<<8)|(p->hs[0])); in mconvert()
968 ((p->hl[3]<<24)|(p->hl[2]<<16)|(p->hl[1]<<8)|(p->hl[0])); in mconvert()
986 ((p->hl[1]<<24)|(p->hl[0]<<16)|(p->hl[3]<<8)|(p->hl[2])); in mconvert()
993 p->l = ((uint32_t)p->hl[0]<<24)|((uint32_t)p->hl[1]<<16)| in mconvert()
998 p->l = ((uint32_t)p->hl[3]<<24)|((uint32_t)p->hl[2]<<16)| in mconvert()
1006 p->q = ((uint64_t)p->hq[0]<<56)|((uint64_t)p->hq[1]<<48)| in mconvert()
[all …]
/PHP-5.6/tests/lang/
H A Dengine_assignExecutionOrder_008.phpt33 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-5.6/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c348 p++; in php_mysqlnd_greet_read()
380 p++; in php_mysqlnd_greet_read()
388 p++; in php_mysqlnd_greet_read()
475 mnd_pefree(p, p->header.persistent); in php_mysqlnd_greet_free_mem()
633 mnd_pefree(p, p->header.persistent); in php_mysqlnd_auth_free_mem()
755 mnd_pefree(p, p->header.persistent); in php_mysqlnd_auth_response_free_mem()
796 mnd_pefree(p, p->header.persistent); in php_mysqlnd_change_auth_response_free_mem()
884 mnd_pefree(p, p->header.persistent); in php_mysqlnd_ok_free_mem()
1039 mnd_pefree(p, p->header.persistent); in php_mysqlnd_cmd_free_mem()
1161 mnd_pefree(p, p->header.persistent); in php_mysqlnd_rset_header_free_mem()
[all …]
/PHP-5.6/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);
/PHP-5.6/ext/standard/
H A Duuencode.c71 char *p, *s, *e, *ee; in php_uuencode() local
87 *p++ = PHP_UU_ENC(len); in php_uuencode()
91 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
99 *p++ = '\n'; in php_uuencode()
110 *p++ = PHP_UU_ENC_C2(s); in php_uuencode()
116 *p++ = '\n'; in php_uuencode()
119 *p++ = PHP_UU_ENC('\0'); in php_uuencode()
120 *p++ = '\n'; in php_uuencode()
121 *p = '\0'; in php_uuencode()
123 return (p - *dest); in php_uuencode()
[all …]
/PHP-5.6/ext/opcache/
H A Dzend_accelerator_blacklist.c106 p = regexp + 2; in zend_accel_blacklist_update_regexp()
122 p += 5; in zend_accel_blacklist_update_regexp()
128 p += 4; in zend_accel_blacklist_update_regexp()
137 p += 2; in zend_accel_blacklist_update_regexp()
146 p += 6; in zend_accel_blacklist_update_regexp()
153 p += 5; in zend_accel_blacklist_update_regexp()
186 *p++ = ')'; in zend_accel_blacklist_update_regexp()
187 *p++ = '\0'; in zend_accel_blacklist_update_regexp()
205 *p++ = '|'; in zend_accel_blacklist_update_regexp()
215 while (p<end) { in zend_accel_blacklist_shutdown()
[all …]
/PHP-5.6/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>"

Completed in 100 milliseconds

12345678910>>...30