Lines Matching refs:enc
201 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, in to_ascii() argument
208 if (ONIGENC_MBC_MINLEN(enc) > 1) { in to_ascii()
212 code = ONIGENC_MBC_TO_CODE(enc, p, end); in to_ascii()
234 p += enclen(enc, p); in to_ascii()
280 len = to_ascii(einfo->enc, einfo->par, einfo->par_end,
323 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, in onig_snprintf_with_pattern() argument
326 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist) in onig_snprintf_with_pattern()
329 OnigEncoding enc;
353 if (ONIGENC_IS_MBC_HEAD(enc, p)) {
354 len = enclen(enc, p);
355 if (ONIGENC_MBC_MINLEN(enc) == 1) {
371 len = enclen(enc, p);
378 else if (!ONIGENC_IS_CODE_PRINT(enc, *p) &&
379 !ONIGENC_IS_CODE_SPACE(enc, *p)) {