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()
97 const UChar *p; in euctw_left_adjust_char_head() local
101 p = s; in euctw_left_adjust_char_head()
103 while (!euctw_islead(*p) && p > start) p--; in euctw_left_adjust_char_head()
104 len = enc_len(ONIG_ENCODING_EUC_TW, p); in euctw_left_adjust_char_head()
105 if (p + len > s) return (UChar* )p; in euctw_left_adjust_char_head()
106 p += len; in euctw_left_adjust_char_head()
107 return (UChar* )(p + ((s - p) & ~1)); in euctw_left_adjust_char_head()