Lines Matching refs:p
52 euctw_mbc_enc_len(const UChar* p) in euctw_mbc_enc_len() argument
54 return EncLen_EUCTW[*p]; in euctw_mbc_enc_len()
58 euctw_mbc_to_code(const UChar* p, const UChar* end) in euctw_mbc_to_code() argument
60 return onigenc_mbn_mbc_to_code(ONIG_ENCODING_EUC_TW, p, end); in euctw_mbc_to_code()
91 const UChar *p; in euctw_left_adjust_char_head() local
95 p = s; in euctw_left_adjust_char_head()
97 while (!euctw_islead(*p) && p > start) p--; in euctw_left_adjust_char_head()
98 len = enclen(ONIG_ENCODING_EUC_TW, p); in euctw_left_adjust_char_head()
99 if (p + len > s) return (UChar* )p; in euctw_left_adjust_char_head()
100 p += len; in euctw_left_adjust_char_head()
101 return (UChar* )(p + ((s - p) & ~1)); in euctw_left_adjust_char_head()