Lines Matching refs:len
98 int c, i, len; in mbc_to_code() local
101 len = enclen(ONIG_ENCODING_EUC_JP, p); in mbc_to_code()
103 if (len == 1) return n; in mbc_to_code()
105 for (i = 1; i < len; i++) { in mbc_to_code()
143 int len; in mbc_case_fold() local
154 len = enclen(ONIG_ENCODING_EUC_JP, p); in mbc_case_fold()
155 for (i = 0; i < len; i++) { in mbc_case_fold()
158 (*pp) += len; in mbc_case_fold()
159 return len; /* return byte length of converted char to lower */ in mbc_case_fold()
170 int len; in left_adjust_char_head() local
176 len = enclen(ONIG_ENCODING_EUC_JP, p); in left_adjust_char_head()
177 if (p + len > s) return (UChar* )p; in left_adjust_char_head()
178 p += len; in left_adjust_char_head()
214 int len = (int )(end - p); in property_name_to_ctype() local
217 if (len < sizeof(q) - 1) { in property_name_to_ctype()
218 xmemcpy(q, p, (size_t )len); in property_name_to_ctype()
219 q[len] = '\0'; in property_name_to_ctype()
220 pc = onigenc_euc_jp_lookup_property_name(q, len); in property_name_to_ctype()