Searched refs:UChar (Results 1 - 25 of 82) sorted by relevance

1234

/PHP_TRUNK/ext/mbstring/oniguruma/enc/
H A Dbig5.c52 big5_mbc_enc_len(const UChar* p)
58 big5_mbc_to_code(const UChar* p, const UChar* end)
64 big5_code_to_mbc(OnigCodePoint code, UChar *buf)
70 big5_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end,
71 UChar* lower)
80 const UChar** pp, const UChar* end)
114 static UChar*
[all...]
H A Deuc_jp.c32 #define eucjp_islead(c) ((UChar )((c) - 0xa1) > 0xfe - 0xa1)
54 mbc_enc_len(const UChar* p)
60 mbc_to_code(const UChar* p, const UChar* end)
107 code_to_mbc(OnigCodePoint code, UChar *buf)
109 UChar *p = buf;
111 if ((code & 0xff0000) != 0) *p++ = (UChar )(((code >> 16) & 0xff));
112 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff));
113 *p++ = (UChar )(code & 0xff);
124 const UChar** p
[all...]
H A Deuc_kr.c52 euckr_mbc_enc_len(const UChar* p)
58 euckr_mbc_to_code(const UChar* p, const UChar* end)
64 euckr_code_to_mbc(OnigCodePoint code, UChar *buf)
70 euckr_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end,
71 UChar* lower)
80 const UChar** pp, const UChar* end)
94 static UChar*
[all...]
H A Deuc_tw.c52 euctw_mbc_enc_len(const UChar* p)
58 euctw_mbc_to_code(const UChar* p, const UChar* end)
64 euctw_code_to_mbc(OnigCodePoint code, UChar *buf)
70 euctw_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end,
71 UChar* lower)
83 #define euctw_islead(c) ((UChar )((c) - 0xa1) > 0xfe - 0xa1)
85 static UChar*
86 euctw_left_adjust_char_head(const UChar* star
[all...]
H A Dgb18030.c66 gb18030_mbc_enc_len(const UChar* p)
79 gb18030_mbc_to_code(const UChar* p, const UChar* end)
85 gb18030_code_to_mbc(OnigCodePoint code, UChar *buf)
91 gb18030_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end,
92 UChar* lower)
101 const UChar** pp, const UChar* end)
147 static UChar*
[all...]
H A Dsjis.c74 mbc_enc_len(const UChar* p)
96 mbc_to_code(const UChar* p, const UChar* end)
115 code_to_mbc(OnigCodePoint code, UChar *buf)
117 UChar *p = buf;
119 if ((code & 0xff00) != 0) *p++ = (UChar )(((code >> 8) & 0xff));
120 *p++ = (UChar )(code & 0xff);
131 const UChar** pp, const UChar* end ARG_UNUSED, UChar* lowe
[all...]
H A Dutf16_be.c52 utf16be_mbc_enc_len(const UChar* p)
58 utf16be_is_mbc_newline(const UChar* p, const UChar* end)
78 utf16be_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED)
100 utf16be_code_to_mbc(OnigCodePoint code, UChar *buf)
102 UChar* p = buf;
112 *p = (UChar )(code & 0xff);
116 *p++ = (UChar )((code & 0xff00) >> 8);
117 *p++ = (UChar )(cod
[all...]
H A Dutf16_le.c58 utf16le_mbc_enc_len(const UChar* p)
64 utf16le_is_mbc_newline(const UChar* p, const UChar* end)
84 utf16le_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED)
87 UChar c0 = *p;
88 UChar c1 = *(p+1);
102 utf16le_code_to_mbc(OnigCodePoint code, UChar *buf)
104 UChar* p = buf;
114 *p++ = (UChar )(cod
[all...]
H A Dutf32_be.c33 utf32be_mbc_enc_len(const UChar* p ARG_UNUSED)
39 utf32be_is_mbc_newline(const UChar* p, const UChar* end)
61 utf32be_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED)
73 utf32be_code_to_mbc(OnigCodePoint code, UChar *buf)
75 UChar* p = buf;
77 *p++ = (UChar )((code & 0xff000000) >>24);
78 *p++ = (UChar )((code & 0xff0000) >>16);
79 *p++ = (UChar )((cod
[all...]
H A Dutf32_le.c33 utf32le_mbc_enc_len(const UChar* p ARG_UNUSED)
39 utf32le_is_mbc_newline(const UChar* p, const UChar* end)
61 utf32le_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED)
73 utf32le_code_to_mbc(OnigCodePoint code, UChar *buf)
75 UChar* p = buf;
77 *p++ = (UChar ) (code & 0xff);
78 *p++ = (UChar )((code & 0xff00) >> 8);
79 *p++ = (UChar )((cod
[all...]
H A Dutf8.c41 #define utf8_islead(c) ((UChar )((c) & 0xc0) != 0x80)
63 mbc_enc_len(const UChar* p)
69 is_mbc_newline(const UChar* p, const UChar* end)
94 mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED)
138 code_to_mbc(OnigCodePoint code, UChar *buf)
140 #define UTF8_TRAILS(code, shift) (UChar )((((code) >> (shift)) & 0x3f) | 0x80)
141 #define UTF8_TRAIL0(code) (UChar )(((code) & 0x3f) | 0x80)
144 *buf = (UChar )cod
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregenc.c53 extern UChar*
54 onigenc_get_right_adjust_char_head(OnigEncoding enc, const UChar* start, const UChar* s)
56 UChar* p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s);
63 extern UChar*
65 const UChar* start, const UChar* s, const UChar** prev)
67 UChar* p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s);
70 if (prev) *prev = (const UChar* )
[all...]
H A Dregenc.h100 UChar *name;
120 ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end));
124 ONIG_EXTERN int onigenc_ascii_mbc_case_fold P_((OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* lower));
125 ONIG_EXTERN int onigenc_single_byte_mbc_enc_len P_((const UChar* p));
126 ONIG_EXTERN OnigCodePoint onigenc_single_byte_mbc_to_code P_((const UChar* p, const UChar* end));
128 ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *bu
[all...]
H A Dregerror.c41 extern UChar*
46 if (code >= 0) return (UChar* )0;
182 return (UChar* )p;
195 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end,
196 UChar buf[], int buf_size, int *is_over)
199 UChar *p;
225 buf[len++] = (UChar )code;
249 onig_error_code_to_str(UChar* s, int code, ...)
252 UChar*
[all...]
H A Dregexec.c853 UChar* endp;\
863 endp = (UChar* )k->u.mem.end;\
894 UChar* endp;\
904 endp = (UChar* )k->u.mem.end;\
977 UChar* s1, UChar** ps2, int mblen)
979 UChar buf1[ONIGENC_MBC_CASE_FOLD_MAXLEN];
980 UChar buf2[ONIGENC_MBC_CASE_FOLD_MAXLEN];
981 UChar *p1, *p2, *end1, *s2, *end2;
1038 OnigStackType* stk_top, UChar* st
[all...]
H A Dregext.c33 conv_ext0be32(const UChar* s, const UChar* end, UChar* conv)
44 conv_ext0le32(const UChar* s, const UChar* end, UChar* conv)
55 conv_ext0be(const UChar* s, const UChar* end, UChar* conv)
64 conv_ext0le(const UChar*
[all...]
H A Dreggnu.c48 UChar *p;
49 UChar *s = (UChar* )string + startpos;
52 p = onigenc_get_right_adjust_char_head(reg->enc, (UChar* )string, s);
55 p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s);
57 return p - (UChar* )string;
67 return onig_match(reg, (UChar* )str, (UChar* )(str + size),
68 (UChar* )(str + pos), regs, ONIG_OPTION_NONE);
75 return onig_search(bufp, (UChar* )strin
[all...]
H A Dregparse.h162 UChar* s;
163 UChar* end;
166 UChar buf[NODE_STR_BUF_SIZE];
217 UChar* name;
218 UChar* name_end;
287 UChar* pattern;
288 UChar* pattern_end;
289 UChar* error;
290 UChar* error_end;
324 extern int onig_strncmp P_((const UChar* s
[all...]
H A Dregposix.c41 UChar* tmps = (UChar* )(s); \
43 len = tmps - (UChar* )(s); \
46 len = onigenc_str_bytelen_null(enc, (UChar* )s); \
154 r = onig_new(PONIG_C(reg), (UChar* )pattern, (UChar* )(pattern + len),
170 UChar* end;
193 end = (UChar* )(str + len);
194 r = onig_search(ONIG_C(reg), (UChar* )str, end, (UChar* )st
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_is_numeric.c34 static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */
36 const UChar *u = nptr, *nstart;
37 UChar c = *u;
64 const UChar *e = u;
107 *endptr = (UChar *)u;
114 *endptr = (UChar *)nptr;
129 const UChar *nptr;
130 UChar **endptr;
133 register const UChar *
[all...]
H A Dcollator_is_numeric.h24 zend_uchar collator_is_numeric( UChar *str, int length, zend_long *lval, double *dval, int allow_errors );
/PHP_TRUNK/ext/intl/
H A Dintl_common.h27 # 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)
H A Dintl_convert.h24 UChar** target, int* target_len,
30 const UChar* src, int src_len,
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_data.h43 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
H A Dmsgformat_helpers.h22 UChar **formatted, int *formatted_len TSRMLS_DC);
24 UChar *source, int source_len, UErrorCode *status);

Completed in 25 milliseconds

1234