Home
last modified time | relevance | path

Searched refs:UChar (Results 1 – 25 of 90) sorted by relevance

1234

/PHP-7.1/ext/mbstring/oniguruma/
H A Dregenc.c53 extern UChar*
63 extern UChar*
65 const UChar* start, const UChar* s, const UChar** prev) in onigenc_get_right_adjust_char_head_with_prev()
79 extern UChar*
103 UChar* q = (UChar* )p; in onigenc_step()
114 UChar* q = (UChar* )p; in onigenc_strlen()
127 UChar* p = (UChar* )s; in onigenc_strlen_null()
151 UChar* start = (UChar* )s; in onigenc_str_bytelen_null()
152 UChar* p = (UChar* )s; in onigenc_str_bytelen_null()
575 const UChar*end ARG_UNUSED, UChar* lower) in onigenc_ascii_mbc_case_fold()
[all …]
H A Dregext.c34 conv_ext0be32(const UChar* s, const UChar* end, UChar* conv)
45 conv_ext0le32(const UChar* s, const UChar* end, UChar* conv)
56 conv_ext0be(const UChar* s, const UChar* end, UChar* conv)
65 conv_ext0le(const UChar* s, const UChar* end, UChar* conv)
74 conv_swap4bytes(const UChar* s, const UChar* end, UChar* conv)
86 conv_swap2bytes(const UChar* s, const UChar* end, UChar* conv)
96 conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* end,
97 UChar** conv, UChar** conv_end)
165 onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end, in onig_new_deluxe()
169 UChar *cpat, *cpat_end; in onig_new_deluxe()
[all …]
H A Dregenc.h100 UChar *name;
120 ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end));
124 …igenc_ascii_mbc_case_fold P_((OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* low…
126 ONIG_EXTERN OnigCodePoint onigenc_single_byte_mbc_to_code P_((const UChar* p, const UChar* end));
129 ONIG_EXTERN UChar* onigenc_single_byte_left_adjust_char_head P_((const UChar* start, const UChar* s…
130 ONIG_EXTERN int onigenc_always_true_is_allowed_reverse_match P_((const UChar* s, const UChar* end));
135 …se_fold P_((OnigEncoding enc, OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* low…
151 …se_fold P_((OnigEncoding enc, OnigCaseFoldType flag, const UChar** pp, const UChar* end, UChar* fo…
167 onigenc_with_ascii_strncmp P_((OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sas…
168 ONIG_EXTERN UChar*
[all …]
H A Dreggnu.c48 UChar *p; in re_adjust_startpos()
49 UChar *s = (UChar* )string + startpos; in re_adjust_startpos()
57 return p - (UChar* )string; in re_adjust_startpos()
67 return onig_match(reg, (UChar* )str, (UChar* )(str + size), in re_match()
68 (UChar* )(str + pos), regs, ONIG_OPTION_NONE); in re_match()
75 return onig_search(bufp, (UChar* )string, (UChar* )(string + size), in re_search()
76 (UChar* )(string + startpos), in re_search()
77 (UChar* )(string + startpos + range), in re_search()
87 r = onig_compile(reg, (UChar* )pattern, (UChar* )(pattern + size), &einfo); in re_compile_pattern()
109 r = onig_recompile(reg, (UChar* )pattern, (UChar* )(pattern + size), in re_recompile_pattern()
[all …]
H A Dregerror.c41 extern UChar*
182 return (UChar* )p; in onig_error_code_to_format()
195 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, in to_ascii()
199 UChar *p; in to_ascii()
252 UChar* s; in onig_error_code_to_str()
257 UChar *p, *q;
318 UChar* pat, UChar* pat_end, const UChar *fmt, ...) in onig_snprintf_with_pattern()
321 UChar buf[]; in onig_snprintf_with_pattern()
324 UChar* pat;
325 UChar* pat_end;
[all …]
/PHP-7.1/ext/mbstring/oniguruma/enc/
H A Deuc_tw.c52 euctw_mbc_enc_len(const UChar* p) in euctw_mbc_enc_len()
58 euctw_mbc_to_code(const UChar* p, const UChar* end) in euctw_mbc_to_code()
70 euctw_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end, in euctw_mbc_case_fold()
71 UChar* lower) in euctw_mbc_case_fold()
85 static UChar*
86 euctw_left_adjust_char_head(const UChar* start, const UChar* s) in euctw_left_adjust_char_head()
91 const UChar *p; in euctw_left_adjust_char_head()
94 if (s <= start) return (UChar* )s; in euctw_left_adjust_char_head()
99 if (p + len > s) return (UChar* )p; in euctw_left_adjust_char_head()
105 euctw_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED) in euctw_is_allowed_reverse_match()
[all …]
H A Dutf8.c69 is_mbc_newline(const UChar* p, const UChar* end) in is_mbc_newline()
94 mbc_to_code(const UChar* p, const UChar* end) in mbc_to_code()
150 UChar *p = buf; in code_to_mbc()
198 const UChar* end, UChar* fold) in mbc_case_fold()
200 const UChar* p = *pp; in mbc_case_fold()
226 is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
244 else if (c >= (UChar )0xa0 && c <= (UChar )0xbe) { /* lower */
270 static UChar*
271 left_adjust_char_head(const UChar* start, const UChar* s) in left_adjust_char_head()
273 const UChar *p; in left_adjust_char_head()
[all …]
H A Dbig5.c52 big5_mbc_enc_len(const UChar* p) in big5_mbc_enc_len()
58 big5_mbc_to_code(const UChar* p, const UChar* end) in big5_mbc_to_code()
70 big5_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end, in big5_mbc_case_fold()
71 UChar* lower) in big5_mbc_case_fold()
80 const UChar** pp, const UChar* end)
114 static UChar*
115 big5_left_adjust_char_head(const UChar* start, const UChar* s) in big5_left_adjust_char_head()
117 const UChar *p; in big5_left_adjust_char_head()
120 if (s <= start) return (UChar* )s; in big5_left_adjust_char_head()
138 big5_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED) in big5_is_allowed_reverse_match()
[all …]
H A Dutf32_be.c39 utf32be_is_mbc_newline(const UChar* p, const UChar* end) in utf32be_is_mbc_newline()
61 utf32be_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED) in utf32be_mbc_to_code()
76 UChar* p = buf; in utf32be_code_to_mbc()
81 *p++ = (UChar ) (code & 0xff); in utf32be_code_to_mbc()
87 const UChar** pp, const UChar* end, UChar* fold) in utf32be_mbc_case_fold()
89 const UChar* p = *pp; in utf32be_mbc_case_fold()
118 utf32be_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
120 const UChar* p = *pp;
149 static UChar*
150 utf32be_left_adjust_char_head(const UChar* start, const UChar* s) in utf32be_left_adjust_char_head()
[all …]
H A Dutf32_le.c39 utf32le_is_mbc_newline(const UChar* p, const UChar* end) in utf32le_is_mbc_newline()
61 utf32le_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED) in utf32le_mbc_to_code()
76 UChar* p = buf; in utf32le_code_to_mbc()
78 *p++ = (UChar ) (code & 0xff); in utf32le_code_to_mbc()
87 const UChar** pp, const UChar* end, UChar* fold) in utf32le_mbc_case_fold()
89 const UChar* p = *pp; in utf32le_mbc_case_fold()
119 utf32le_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
121 const UChar* p = *pp;
149 static UChar*
150 utf32le_left_adjust_char_head(const UChar* start, const UChar* s) in utf32le_left_adjust_char_head()
[all …]
H A Deuc_kr.c52 euckr_mbc_enc_len(const UChar* p) in euckr_mbc_enc_len()
58 euckr_mbc_to_code(const UChar* p, const UChar* end) in euckr_mbc_to_code()
70 euckr_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end, in euckr_mbc_case_fold()
71 UChar* lower) in euckr_mbc_case_fold()
80 const UChar** pp, const UChar* end)
94 static UChar*
95 euckr_left_adjust_char_head(const UChar* start, const UChar* s) in euckr_left_adjust_char_head()
100 const UChar *p; in euckr_left_adjust_char_head()
103 if (s <= start) return (UChar* )s; in euckr_left_adjust_char_head()
114 euckr_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED) in euckr_is_allowed_reverse_match()
[all …]
H A Dutf16_le.c64 utf16le_is_mbc_newline(const UChar* p, const UChar* end) in utf16le_is_mbc_newline()
84 utf16le_mbc_to_code(const UChar* p, const UChar* end) in utf16le_mbc_to_code()
87 UChar c0 = *p; in utf16le_mbc_to_code()
88 UChar c1 = *(p+1); in utf16le_mbc_to_code()
105 UChar* p = buf; in utf16le_code_to_mbc()
128 const UChar** pp, const UChar* end, UChar* fold) in utf16le_mbc_case_fold()
130 const UChar* p = *pp; in utf16le_mbc_case_fold()
157 const UChar* end)
187 static UChar*
188 utf16le_left_adjust_char_head(const UChar* start, const UChar* s) in utf16le_left_adjust_char_head()
[all …]
H A Dgb18030.c79 gb18030_mbc_to_code(const UChar* p, const UChar* end) in gb18030_mbc_to_code()
101 const UChar** pp, const UChar* end)
147 static UChar*
148 gb18030_left_adjust_char_head(const UChar* start, const UChar* s) in gb18030_left_adjust_char_head()
150 const UChar *p; in gb18030_left_adjust_char_head()
160 return (UChar *)s; in gb18030_left_adjust_char_head()
177 return (UChar *)s; in gb18030_left_adjust_char_head()
188 return (UChar *)s; in gb18030_left_adjust_char_head()
198 return (UChar *)s; in gb18030_left_adjust_char_head()
224 return (UChar *)s; in gb18030_left_adjust_char_head()
[all …]
H A Dutf16_be.c58 utf16be_is_mbc_newline(const UChar* p, const UChar* end) in utf16be_is_mbc_newline()
78 utf16be_mbc_to_code(const UChar* p, const UChar* end) in utf16be_mbc_to_code()
104 UChar* p = buf; in utf16be_code_to_mbc()
114 *p = (UChar )(code & 0xff); in utf16be_code_to_mbc()
126 const UChar** pp, const UChar* end, UChar* fold) in utf16be_mbc_case_fold()
128 const UChar* p = *pp; in utf16be_mbc_case_fold()
155 utf16be_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
157 const UChar* p = *pp;
187 static UChar*
188 utf16be_left_adjust_char_head(const UChar* start, const UChar* s) in utf16be_left_adjust_char_head()
[all …]
H A Deuc_jp.c54 mbc_enc_len(const UChar* p) in mbc_enc_len()
60 mbc_to_code(const UChar* p, const UChar* end) in mbc_to_code()
109 UChar *p = buf; in code_to_mbc()
124 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
127 const UChar* p = *pp; in mbc_case_fold()
146 static UChar*
147 left_adjust_char_head(const UChar* start, const UChar* s) in left_adjust_char_head()
152 const UChar *p; in left_adjust_char_head()
166 is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED) in is_allowed_reverse_match()
168 const UChar c = *s; in is_allowed_reverse_match()
[all …]
H A Dsjis.c96 mbc_to_code(const UChar* p, const UChar* end) in mbc_to_code()
117 UChar *p = buf; in code_to_mbc()
131 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
133 const UChar* p = *pp; in mbc_case_fold()
155 const UChar** pp, const UChar* end)
178 static UChar*
179 left_adjust_char_head(const UChar* start, const UChar* s) in left_adjust_char_head()
181 const UChar *p; in left_adjust_char_head()
202 is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED) in is_allowed_reverse_match()
204 const UChar c = *s; in is_allowed_reverse_match()
[all …]
H A Dunicode.c10491 { (UChar* )"NEWLINE", 0, 7 },
10492 { (UChar* )"Alpha", 1, 5 },
10493 { (UChar* )"Blank", 2, 5 },
10609 { (UChar* )NULL, -1, 0 }
10817 onigenc_unicode_property_name_to_ctype(OnigEncoding enc, UChar* name, UChar* end) in onigenc_unicode_property_name_to_ctype()
10821 UChar buf[PROPERTY_NAME_MAX_SIZE]; in onigenc_unicode_property_name_to_ctype()
10822 UChar *p; in onigenc_unicode_property_name_to_ctype()
10832 buf[len++] = (UChar )code; in onigenc_unicode_property_name_to_ctype()
10980 OnigCaseFoldType flag ARG_UNUSED, const UChar** pp, const UChar* end,
10981 UChar* fold)
[all …]
H A Diso8859_5.c36 static const UChar EncISO_8859_5_ToLowerCaseTable[256] = {
108 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
110 const UChar* p = *pp; in mbc_case_fold()
119 is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
122 const UChar* p = *pp;
H A Dkoi8_r.c36 static const UChar EncKOI8_R_ToLowerCaseTable[256] = {
108 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in koi8_r_mbc_case_fold()
110 const UChar* p = *pp; in koi8_r_mbc_case_fold()
119 koi8_r_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
122 const UChar* p = *pp;
H A Diso8859_7.c36 static const UChar EncISO_8859_7_ToLowerCaseTable[256] = {
108 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
110 const UChar* p = *pp; in mbc_case_fold()
120 const UChar** pp, const UChar* end)
123 const UChar* p = *pp;
H A Diso8859_10.c36 static const UChar EncISO_8859_10_ToLowerCaseTable[256] = {
108 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
110 const UChar* p = *pp; in mbc_case_fold()
126 is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
129 const UChar* p = *pp;
H A Diso8859_13.c36 static const UChar EncISO_8859_13_ToLowerCaseTable[256] = {
108 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
110 const UChar* p = *pp; in mbc_case_fold()
126 is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
129 const UChar* p = *pp;
H A Diso8859_14.c36 static const UChar EncISO_8859_14_ToLowerCaseTable[256] = {
108 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lower) in mbc_case_fold()
110 const UChar* p = *pp; in mbc_case_fold()
127 const UChar** pp, const UChar* end)
130 const UChar* p = *pp;
/PHP-7.1/ext/intl/
H A Dintl_common.h29 # define UBYTES(len) ((len) * sizeof(UChar))
33 # define eumalloc(size) (UChar*)safe_emalloc(size, sizeof(UChar), 0)
37 # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar))
40 #define USIZE(data) sizeof((data))/sizeof(UChar)
41 #define UCHARS(len) ((len) / sizeof(UChar))
43 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str)
/PHP-7.1/ext/intl/collator/
H A Dcollator_is_numeric.c23 static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */ in collator_u_strtod()
25 const UChar *u = nptr, *nstart; in collator_u_strtod()
26 UChar c = *u; in collator_u_strtod()
53 const UChar *e = u; in collator_u_strtod()
96 *endptr = (UChar *)u; in collator_u_strtod()
103 *endptr = (UChar *)nptr; in collator_u_strtod()
118 const UChar *nptr; in collator_u_strtol()
119 UChar **endptr;
122 register const UChar *s = nptr;
124 register UChar c;
[all …]

Completed in 62 milliseconds

1234