Lines Matching refs:UChar
66 gb18030_mbc_enc_len(const UChar* p) in gb18030_mbc_enc_len()
79 gb18030_mbc_to_code(const UChar* p, const UChar* end) in gb18030_mbc_to_code()
85 gb18030_code_to_mbc(OnigCodePoint code, UChar *buf) in gb18030_code_to_mbc()
91 gb18030_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end, in gb18030_mbc_case_fold()
92 UChar* lower) in gb18030_mbc_case_fold()
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()
213 return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
224 return (UChar *)s; in gb18030_left_adjust_char_head()
235 return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
248 return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
262 return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
272 return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
286 return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
298 return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
309 return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
321 return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
332 return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
344 return (UChar *)s; in gb18030_left_adjust_char_head()
354 return (UChar *)(s - 2); /* |CM C4 CM */ in gb18030_left_adjust_char_head()
368 return (UChar *)(s - 2); /* C4|CM C4 CM */ in gb18030_left_adjust_char_head()
378 return (UChar *)(s - 0); /*|CM C4 CM C4|CM */ in gb18030_left_adjust_char_head()
393 return (UChar *)(s - 0); /* |CM CM|C4|CM */ in gb18030_left_adjust_char_head()
404 return (UChar *)(s - 2); /* |CM CM|CM C4 CM */ in gb18030_left_adjust_char_head()
416 return (UChar *)(s - 2); /* |CM CM|C4|CM C4 CM */ in gb18030_left_adjust_char_head()
427 return (UChar *)(s - 0); /* |CM CM|CM C4 CM C4|CM */ in gb18030_left_adjust_char_head()
438 case S_START: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
439 case S_one_C2: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
440 case S_one_C4: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
441 case S_one_CM: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
443 case S_odd_CM_one_CX: return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
444 case S_even_CM_one_CX: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
446 case S_one_CMC4: return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
447 case S_odd_CMC4: return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
448 case S_one_C4_odd_CMC4: return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
449 case S_even_CMC4: return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
450 case S_one_C4_even_CMC4: return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
452 case S_odd_CM_odd_CMC4: return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
453 case S_even_CM_odd_CMC4: return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
455 case S_odd_CM_even_CMC4: return (UChar *)(s - 1); in gb18030_left_adjust_char_head()
456 case S_even_CM_even_CMC4: return (UChar *)(s - 3); in gb18030_left_adjust_char_head()
458 case S_odd_C4CM: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
459 case S_one_CM_odd_C4CM: return (UChar *)(s - 2); in gb18030_left_adjust_char_head()
460 case S_even_C4CM: return (UChar *)(s - 2); in gb18030_left_adjust_char_head()
461 case S_one_CM_even_C4CM: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
463 case S_even_CM_odd_C4CM: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
464 case S_odd_CM_odd_C4CM: return (UChar *)(s - 2); in gb18030_left_adjust_char_head()
465 case S_even_CM_even_C4CM: return (UChar *)(s - 2); in gb18030_left_adjust_char_head()
466 case S_odd_CM_even_C4CM: return (UChar *)(s - 0); in gb18030_left_adjust_char_head()
469 return (UChar* )s; /* never come here. (escape warning) */ in gb18030_left_adjust_char_head()
473 gb18030_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED) in gb18030_is_allowed_reverse_match()