Home
last modified time | relevance | path

Searched refs:utf_mode (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/less/
H A Dcvt.c17 extern int utf_mode;
25 if (utf_mode) in cvt_length()
77 } while (dst > odst && utf_mode && in cvt_text()
H A Dcharset.c33 public int utf_mode = 0; variable
45 { "utf-8", &utf_mode, "8bcccbcc18b95.b126.bb" },
490 if (utf_mode) in set_charset()
517 if ((c < 128 || !utf_mode) && !control_char(c)) in binary_char()
697 if (!utf_mode || ch < 0x80) in get_wchar()
750 if (!utf_mode) in put_wchar()
H A Dline.c99 extern int utf_mode;
469 return (utf_mode && is_wide_char(prev_ch)) ? -2 : -1; in pwidth()
472 if (!utf_mode || is_ascii_char(ch)) in pwidth()
935 if (mbc_buf_len > 0) /* utf_mode must be on. */ in pappend()
955 if (!utf_mode) in pappend()
1001 r = (!utf_mode) ? 1 : mbc_buf_index; in store_ansi()
1110 overstrike = utf_mode ? -1 : 0; in do_append()
1111 if (utf_mode) in do_append()
1169 if ((!utf_mode || is_ascii_char(ch)) && control_char(ch))
1172 } else if (utf_mode
[all...]
H A Dpattern.c18 extern int utf_mode;
67 ((utf_mode) ? PCRE_UTF8 | PCRE_NO_UTF8_CHECK : 0) | in compile_pattern2()
H A Doutput.c33 extern int utf_mode;
458 extern int utf_mode; in clear_bot_if_needed()
459 if (utf_mode)
617 constant char *ps = utf_mode ? prutfchar(ch) : prchar(ch); in error()
H A Dttyin.c
H A Dcmdbuf.c24 extern int utf_mode;
156 if (!utf_mode) in cmd_putstr()
1213 if (!utf_mode) in cmd_char()
H A Dfilename.c49 extern int utf_mode;
489 if (utf_mode && !is_utf8_well_formed(p, (int) ptr_diff(edata,p)))
H A Dcommand.c66 extern int utf_mode;
945 WideCharToMultiByte(utf_mode ? CP_UTF8 : GetConsoleOutputCP(),
H A Dscreen.c147 extern int utf_mode;
3191 if (utf_mode == 2)
H A Dsearch.c35 extern int utf_mode;