Lines Matching refs:enc
186 static int to_ascii(OnigEncoding enc, UChar *s, UChar *end, in to_ascii() argument
193 if (ONIGENC_MBC_MINLEN(enc) > 1) { in to_ascii()
197 code = ONIGENC_MBC_TO_CODE(enc, p, end); in to_ascii()
212 p += enc_len(enc, p); in to_ascii()
258 len = to_ascii(einfo->enc, einfo->par, einfo->par_end,
301 onig_snprintf_with_pattern(UChar buf[], int bufsize, OnigEncoding enc, in onig_snprintf_with_pattern() argument
304 onig_snprintf_with_pattern(buf, bufsize, enc, pat, pat_end, fmt, va_alist) in onig_snprintf_with_pattern()
307 OnigEncoding enc;
331 if (*p == MC_ESC(enc)) {
333 len = enc_len(enc, p);
337 *s++ = (unsigned char )MC_ESC(enc);
340 else if (ONIGENC_IS_MBC_HEAD(enc, p)) {
341 len = enc_len(enc, p);
342 if (ONIGENC_MBC_MINLEN(enc) == 1) {
356 else if (!ONIGENC_IS_CODE_PRINT(enc, *p) &&
357 !ONIGENC_IS_CODE_SPACE(enc, *p)) {