Lines Matching refs:len
131 int c, i, len; in mbc_to_code() local
134 len = enclen(ONIG_ENCODING_SJIS, p); in mbc_to_code()
137 if (len == 1) return n; in mbc_to_code()
139 for (i = 1; i < len; i++) { in mbc_to_code()
175 int len = enclen(ONIG_ENCODING_SJIS, p); in mbc_case_fold() local
177 for (i = 0; i < len; i++) { in mbc_case_fold()
180 (*pp) += len; in mbc_case_fold()
181 return len; /* return byte length of converted char to lower */ in mbc_case_fold()
215 int len; in left_adjust_char_head() local
228 len = enclen(ONIG_ENCODING_SJIS, p); in left_adjust_char_head()
229 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
230 p += len; in left_adjust_char_head()
265 int len = end - p; in property_name_to_ctype() local
268 if (len < sizeof(q) - 1) { in property_name_to_ctype()
269 xmemcpy(q, p, (size_t )len); in property_name_to_ctype()
270 q[len] = '\0'; in property_name_to_ctype()
271 pc = euc_jp_lookup_property_name(q, len); in property_name_to_ctype()