Lines Matching refs:len
98 int c, i, len; in mbc_to_code() local
101 len = enclen(ONIG_ENCODING_SJIS, p); in mbc_to_code()
104 if (len == 1) return n; in mbc_to_code()
106 for (i = 1; i < len; i++) { in mbc_to_code()
142 int len = enclen(ONIG_ENCODING_SJIS, p); in mbc_case_fold() local
144 for (i = 0; i < len; i++) { in mbc_case_fold()
147 (*pp) += len; in mbc_case_fold()
148 return len; /* return byte length of converted char to lower */ in mbc_case_fold()
182 int len; in left_adjust_char_head() local
195 len = enclen(ONIG_ENCODING_SJIS, p); in left_adjust_char_head()
196 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
197 p += len; in left_adjust_char_head()