/PHP-7.0/ext/mbstring/oniguruma/ |
H A D | regenc.c | 53 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 D | regext.c | 33 conv_ext0be32(const UChar* s, const UChar* end, UChar* conv) in conv_ext0be32() 44 conv_ext0le32(const UChar* s, const UChar* end, UChar* conv) in conv_ext0le32() 55 conv_ext0be(const UChar* s, const UChar* end, UChar* conv) in conv_ext0be() 64 conv_ext0le(const UChar* s, const UChar* end, UChar* conv) in conv_ext0le() 73 conv_swap4bytes(const UChar* s, const UChar* end, UChar* conv) in conv_swap4bytes() 85 conv_swap2bytes(const UChar* s, const UChar* end, UChar* conv) in conv_swap2bytes() 95 conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* end, in conv_encoding() 96 UChar** conv, UChar** conv_end) in conv_encoding() 163 onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end, in onig_new_deluxe() 167 UChar *cpat, *cpat_end; in onig_new_deluxe() [all …]
|
H A D | regenc.h | 100 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 D | reggnu.c | 48 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 D | regerror.c | 41 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.0/ext/mbstring/oniguruma/enc/ |
H A D | euc_tw.c | 52 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 D | utf8.c | 69 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 D | big5.c | 52 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 D | utf32_be.c | 39 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() 75 UChar* p = buf; in utf32be_code_to_mbc() 80 *p++ = (UChar ) (code & 0xff); in utf32be_code_to_mbc() 86 const UChar** pp, const UChar* end, UChar* fold) in utf32be_mbc_case_fold() 88 const UChar* p = *pp; in utf32be_mbc_case_fold() 117 utf32be_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end) 119 const UChar* p = *pp; 148 static UChar* 149 utf32be_left_adjust_char_head(const UChar* start, const UChar* s) in utf32be_left_adjust_char_head() [all …]
|
H A D | utf32_le.c | 39 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() 75 UChar* p = buf; in utf32le_code_to_mbc() 77 *p++ = (UChar ) (code & 0xff); in utf32le_code_to_mbc() 86 const UChar** pp, const UChar* end, UChar* fold) in utf32le_mbc_case_fold() 88 const UChar* p = *pp; in utf32le_mbc_case_fold() 118 utf32le_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end) 120 const UChar* p = *pp; 148 static UChar* 149 utf32le_left_adjust_char_head(const UChar* start, const UChar* s) in utf32le_left_adjust_char_head() [all …]
|
H A D | euc_kr.c | 52 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 D | utf16_le.c | 64 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 ARG_UNUSED) in utf16le_mbc_to_code() 87 UChar c0 = *p; in utf16le_mbc_to_code() 88 UChar c1 = *(p+1); in utf16le_mbc_to_code() 104 UChar* p = buf; in utf16le_code_to_mbc() 127 const UChar** pp, const UChar* end, UChar* fold) in utf16le_mbc_case_fold() 129 const UChar* p = *pp; in utf16le_mbc_case_fold() 156 const UChar* end) 186 static UChar* 187 utf16le_left_adjust_char_head(const UChar* start, const UChar* s) in utf16le_left_adjust_char_head() [all …]
|
H A D | gb18030.c | 79 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 D | utf16_be.c | 58 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 ARG_UNUSED) in utf16be_mbc_to_code() 102 UChar* p = buf; in utf16be_code_to_mbc() 112 *p = (UChar )(code & 0xff); in utf16be_code_to_mbc() 124 const UChar** pp, const UChar* end, UChar* fold) in utf16be_mbc_case_fold() 126 const UChar* p = *pp; in utf16be_mbc_case_fold() 153 utf16be_is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end) 155 const UChar* p = *pp; 185 static UChar* 186 utf16be_left_adjust_char_head(const UChar* start, const UChar* s) in utf16be_left_adjust_char_head() [all …]
|
H A D | euc_jp.c | 54 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 D | sjis.c | 96 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 D | unicode.c | 10491 { (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 D | iso8859_5.c | 36 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 D | koi8_r.c | 36 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 D | iso8859_7.c | 36 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 D | iso8859_14.c | 36 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;
|
H A D | iso8859_15.c | 36 static const UChar EncISO_8859_15_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;
|
H A D | iso8859_16.c | 36 static const UChar EncISO_8859_16_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;
|
/PHP-7.0/ext/intl/ |
H A D | intl_common.h | 29 # 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.0/ext/intl/collator/ |
H A D | collator_is_numeric.c | 34 static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */ in collator_u_strtod() 36 const UChar *u = nptr, *nstart; in collator_u_strtod() 37 UChar c = *u; in collator_u_strtod() 64 const UChar *e = u; in collator_u_strtod() 107 *endptr = (UChar *)u; in collator_u_strtod() 114 *endptr = (UChar *)nptr; in collator_u_strtod() 129 const UChar *nptr; in collator_u_strtol() 130 UChar **endptr; 133 register const UChar *s = nptr; 135 register UChar c; [all …]
|