/PHP-5.3/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() 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() 628 const UChar** pp, const UChar* end) in onigenc_ascii_is_mbc_ambiguous() 710 const UChar** pp, const UChar* end, UChar* lower) in onigenc_mbn_mbc_to_normalize() [all …]
|
H A D | regenc.h | 79 ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end)); 82 …igenc_ascii_mbc_to_normalize P_((OnigAmbigType flag, const UChar** p, const UChar* end, UChar* low… 83 ONIG_EXTERN int onigenc_ascii_is_mbc_ambiguous P_((OnigAmbigType flag, const UChar** p, const UChar… 85 ONIG_EXTERN OnigCodePoint onigenc_single_byte_mbc_to_code P_((const UChar* p, const UChar* end)); 89 ONIG_EXTERN UChar* onigenc_single_byte_left_adjust_char_head P_((const UChar* start, const UChar* s… 90 ONIG_EXTERN int onigenc_always_true_is_allowed_reverse_match P_((const UChar* s, const UChar* end)); 91 ONIG_EXTERN int onigenc_always_false_is_allowed_reverse_match P_((const UChar* s, const UChar* end)… 95 …_normalize P_((OnigEncoding enc, OnigAmbigType flag, const UChar** p, const UChar* end, UChar* low… 128 onigenc_with_ascii_strncmp P_((OnigEncoding enc, const UChar* p, const UChar* end, const UChar* sas… 129 ONIG_EXTERN UChar* [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 | 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() 186 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, in to_ascii() 190 UChar *p; in to_ascii() 236 UChar* s; in onig_error_code_to_str() 241 UChar *p, *q; 302 UChar* pat, UChar* pat_end, const UChar *fmt, ...) in onig_snprintf_with_pattern() 305 UChar buf[]; in onig_snprintf_with_pattern() 308 UChar* pat; 309 UChar* pat_end; [all …]
|
/PHP-5.3/ext/mbstring/oniguruma/enc/ |
H A D | utf32_be.c | 39 utf32be_is_mbc_newline(const UChar* p, const UChar* end) in utf32be_is_mbc_newline() 57 utf32be_mbc_to_code(const UChar* p, const UChar* end) in utf32be_mbc_to_code() 71 UChar* p = buf; in utf32be_code_to_mbc() 76 *p++ = (UChar ) (code & 0xff); in utf32be_code_to_mbc() 81 utf32be_mbc_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in utf32be_mbc_to_normalize() 84 const UChar* p = *pp; in utf32be_mbc_to_normalize() 118 utf32be_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in utf32be_is_mbc_ambiguous() 120 const UChar* p = *pp; in utf32be_is_mbc_ambiguous() 149 static UChar* 150 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() 57 utf32le_mbc_to_code(const UChar* p, const UChar* end) in utf32le_mbc_to_code() 71 UChar* p = buf; in utf32le_code_to_mbc() 73 *p++ = (UChar ) (code & 0xff); in utf32le_code_to_mbc() 81 utf32le_mbc_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in utf32le_mbc_to_normalize() 84 const UChar* p = *pp; in utf32le_mbc_to_normalize() 117 utf32le_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in utf32le_is_mbc_ambiguous() 119 const UChar* p = *pp; in utf32le_is_mbc_ambiguous() 147 static UChar* 148 utf32le_left_adjust_char_head(const UChar* start, const UChar* s) in utf32le_left_adjust_char_head() [all …]
|
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_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in euctw_mbc_to_normalize() 71 UChar* lower) in euctw_mbc_to_normalize() 78 euctw_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in euctw_is_mbc_ambiguous() 91 static UChar* 92 euctw_left_adjust_char_head(const UChar* start, const UChar* s) in euctw_left_adjust_char_head() 97 const UChar *p; in euctw_left_adjust_char_head() 100 if (s <= start) return (UChar* )s; in euctw_left_adjust_char_head() 111 euctw_is_allowed_reverse_match(const UChar* s, const UChar* end) in euctw_is_allowed_reverse_match() [all …]
|
H A D | euc_jp.c | 60 eucjp_mbc_to_code(const UChar* p, const UChar* end) in eucjp_mbc_to_code() 108 UChar *p = buf; in eucjp_code_to_mbc() 112 *p++ = (UChar )(code & 0xff); in eucjp_code_to_mbc() 123 const UChar** pp, const UChar* end, UChar* lower) in eucjp_mbc_to_normalize() 126 const UChar* p = *pp; in eucjp_mbc_to_normalize() 153 eucjp_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in eucjp_is_mbc_ambiguous() 173 static UChar* 174 eucjp_left_adjust_char_head(const UChar* start, const UChar* s) in eucjp_left_adjust_char_head() 179 const UChar *p; in eucjp_left_adjust_char_head() 193 eucjp_is_allowed_reverse_match(const UChar* s, const UChar* end) in eucjp_is_allowed_reverse_match() [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_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in big5_mbc_to_normalize() 71 UChar* lower) in big5_mbc_to_normalize() 78 big5_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in big5_is_mbc_ambiguous() 111 static UChar* 112 big5_left_adjust_char_head(const UChar* start, const UChar* s) in big5_left_adjust_char_head() 114 const UChar *p; in big5_left_adjust_char_head() 117 if (s <= start) return (UChar* )s; in big5_left_adjust_char_head() 135 big5_is_allowed_reverse_match(const UChar* s, const UChar* end) in big5_is_allowed_reverse_match() [all …]
|
H A D | utf16_le.c | 67 utf16le_is_mbc_newline(const UChar* p, const UChar* end) in utf16le_is_mbc_newline() 83 utf16le_mbc_to_code(const UChar* p, const UChar* end) in utf16le_mbc_to_code() 86 UChar c0 = *p; in utf16le_mbc_to_code() 87 UChar c1 = *(p+1); in utf16le_mbc_to_code() 103 UChar* p = buf; in utf16le_code_to_mbc() 125 utf16le_mbc_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in utf16le_mbc_to_normalize() 128 const UChar* p = *pp; in utf16le_mbc_to_normalize() 160 const UChar* p = *pp; in utf16le_is_mbc_ambiguous() 188 static UChar* 189 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() 144 static UChar* 145 gb18030_left_adjust_char_head(const UChar* start, const UChar* s) in gb18030_left_adjust_char_head() 147 const UChar *p; in gb18030_left_adjust_char_head() 157 return (UChar *)s; in gb18030_left_adjust_char_head() 174 return (UChar *)s; in gb18030_left_adjust_char_head() 185 return (UChar *)s; in gb18030_left_adjust_char_head() 195 return (UChar *)s; in gb18030_left_adjust_char_head() 221 return (UChar *)s; in gb18030_left_adjust_char_head() 341 return (UChar *)s; in gb18030_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_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in euckr_mbc_to_normalize() 71 UChar* lower) in euckr_mbc_to_normalize() 78 euckr_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in euckr_is_mbc_ambiguous() 91 static UChar* 92 euckr_left_adjust_char_head(const UChar* start, const UChar* s) in euckr_left_adjust_char_head() 97 const UChar *p; in euckr_left_adjust_char_head() 100 if (s <= start) return (UChar* )s; in euckr_left_adjust_char_head() 111 euckr_is_allowed_reverse_match(const UChar* s, const UChar* end) in euckr_is_allowed_reverse_match() [all …]
|
H A D | sjis.c | 96 sjis_mbc_to_code(const UChar* p, const UChar* end) in sjis_mbc_to_code() 117 UChar *p = buf; in sjis_code_to_mbc() 120 *p++ = (UChar )(code & 0xff); in sjis_code_to_mbc() 131 const UChar** pp, const UChar* end, UChar* lower) in sjis_mbc_to_normalize() 133 const UChar* p = *pp; in sjis_mbc_to_normalize() 161 sjis_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in sjis_is_mbc_ambiguous() 182 static UChar* 183 sjis_left_adjust_char_head(const UChar* start, const UChar* s) in sjis_left_adjust_char_head() 185 const UChar *p; in sjis_left_adjust_char_head() 206 sjis_is_allowed_reverse_match(const UChar* s, const UChar* end) in sjis_is_allowed_reverse_match() [all …]
|
H A D | utf16_be.c | 61 utf16be_is_mbc_newline(const UChar* p, const UChar* end) in utf16be_is_mbc_newline() 77 utf16be_mbc_to_code(const UChar* p, const UChar* end) in utf16be_mbc_to_code() 101 UChar* p = buf; in utf16be_code_to_mbc() 111 *p = (UChar )(code & 0xff); in utf16be_code_to_mbc() 122 utf16be_mbc_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, in utf16be_mbc_to_normalize() 125 const UChar* p = *pp; in utf16be_mbc_to_normalize() 158 utf16be_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in utf16be_is_mbc_ambiguous() 160 const UChar* p = *pp; in utf16be_is_mbc_ambiguous() 190 static UChar* 191 utf16be_left_adjust_char_head(const UChar* start, const UChar* s) in utf16be_left_adjust_char_head() [all …]
|
H A D | utf8.c | 69 utf8_is_mbc_newline(const UChar* p, const UChar* end) in utf8_is_mbc_newline() 92 utf8_mbc_to_code(const UChar* p, const UChar* end) in utf8_mbc_to_code() 174 UChar *p = buf; in utf8_code_to_mbc() 221 utf8_mbc_to_normalize(OnigAmbigType flag, const UChar** pp, const UChar* end, UChar* lower) in utf8_mbc_to_normalize() 223 const UChar* p = *pp; in utf8_mbc_to_normalize() 268 const UChar* p = *pp; in utf8_is_mbc_ambiguous() 287 else if (c >= (UChar )'\240' && c <= (UChar )'\276') { /* lower */ in utf8_is_mbc_ambiguous() 3691 static UChar* 3692 utf8_left_adjust_char_head(const UChar* start, const UChar* s) in utf8_left_adjust_char_head() 3694 const UChar *p; in utf8_left_adjust_char_head() [all …]
|
H A D | unicode.c | 3282 return onig_is_in_code_range((UChar* )CRAlpha, code); in onigenc_unicode_is_code_ctype() 3285 return onig_is_in_code_range((UChar* )CRBlank, code); in onigenc_unicode_is_code_ctype() 3288 return onig_is_in_code_range((UChar* )CRCntrl, code); in onigenc_unicode_is_code_ctype() 3291 return onig_is_in_code_range((UChar* )CRDigit, code); in onigenc_unicode_is_code_ctype() 3294 return onig_is_in_code_range((UChar* )CRGraph, code); in onigenc_unicode_is_code_ctype() 3297 return onig_is_in_code_range((UChar* )CRLower, code); in onigenc_unicode_is_code_ctype() 3300 return onig_is_in_code_range((UChar* )CRPrint, code); in onigenc_unicode_is_code_ctype() 3303 return onig_is_in_code_range((UChar* )CRPunct, code); in onigenc_unicode_is_code_ctype() 3306 return onig_is_in_code_range((UChar* )CRSpace, code); in onigenc_unicode_is_code_ctype() 3309 return onig_is_in_code_range((UChar* )CRUpper, code); in onigenc_unicode_is_code_ctype() [all …]
|
H A D | iso8859_13.c | 36 static const UChar EncISO_8859_13_ToLowerCaseTable[256] = { 108 const UChar** pp, const UChar* end, UChar* lower) in mbc_to_normalize() 110 const UChar* p = *pp; in mbc_to_normalize() 126 is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in is_mbc_ambiguous() 128 const UChar* p = *pp; in is_mbc_ambiguous()
|
H A D | iso8859_16.c | 36 static const UChar EncISO_8859_16_ToLowerCaseTable[256] = { 108 const UChar** pp, const UChar* end, UChar* lower) in mbc_to_normalize() 110 const UChar* p = *pp; in mbc_to_normalize() 126 is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in is_mbc_ambiguous() 128 const UChar* p = *pp; in is_mbc_ambiguous()
|
H A D | iso8859_2.c | 36 static const UChar EncISO_8859_2_ToLowerCaseTable[256] = { 108 const UChar** pp, const UChar* end, UChar* lower) in iso_8859_2_mbc_to_normalize() 110 const UChar* p = *pp; in iso_8859_2_mbc_to_normalize() 127 const UChar** pp, const UChar* end) in iso_8859_2_is_mbc_ambiguous() 129 const UChar* p = *pp; in iso_8859_2_is_mbc_ambiguous()
|
H A D | iso8859_3.c | 36 static const UChar EncISO_8859_3_ToLowerCaseTable[256] = { 108 const UChar** pp, const UChar* end, UChar* lower) in iso_8859_3_mbc_to_normalize() 110 const UChar* p = *pp; in iso_8859_3_mbc_to_normalize() 127 const UChar** pp, const UChar* end) in iso_8859_3_is_mbc_ambiguous() 129 const UChar* p = *pp; in iso_8859_3_is_mbc_ambiguous()
|
H A D | iso8859_7.c | 36 static const UChar EncISO_8859_7_ToLowerCaseTable[256] = { 108 const UChar** pp, const UChar* end, UChar* lower) in iso_8859_7_mbc_to_normalize() 110 const UChar* p = *pp; in iso_8859_7_mbc_to_normalize() 127 const UChar** pp, const UChar* end) in iso_8859_7_is_mbc_ambiguous() 129 const UChar* p = *pp; in iso_8859_7_is_mbc_ambiguous()
|
H A D | koi8_r.c | 36 static const UChar EncKOI8_R_ToLowerCaseTable[256] = { 108 const UChar** pp, const UChar* end, UChar* lower) in koi8_r_mbc_to_normalize() 110 const UChar* p = *pp; in koi8_r_mbc_to_normalize() 126 koi8_r_is_mbc_ambiguous(OnigAmbigType flag, const UChar** pp, const UChar* end) in koi8_r_is_mbc_ambiguous() 128 const UChar* p = *pp; in koi8_r_is_mbc_ambiguous()
|
/PHP-5.3/ext/intl/ |
H A D | intl_common.h | 27 # define UBYTES(len) ((len) * sizeof(UChar)) 31 # define eumalloc(size) (UChar*)safe_emalloc(size, sizeof(UChar), 0) 35 # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar)) 38 #define USIZE(data) sizeof((data))/sizeof(UChar) 39 #define UCHARS(len) ((len) / sizeof(UChar)) 41 #define INTL_Z_STRVAL_P(str) (UChar*) Z_STRVAL_P(str)
|
/PHP-5.3/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 …]
|