Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/less/
H A Dcvt.c17 extern int utf_mode;
24 if (utf_mode) in cvt_length()
76 } 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" },
368 if (s && utf_mode) in setfmt()
517 if (utf_mode) in binary_char()
542 if ((c < 128 || !utf_mode) && !control_char(c)) in prchar()
718 if (!utf_mode || ch < 0x80) in put_wchar()
769 if (!utf_mode) in step_char()
H A Dline.c100 extern int utf_mode;
470 return (utf_mode && is_wide_char(prev_ch)) ? -2 : -1; in pwidth()
473 if (!utf_mode || is_ascii_char(ch)) in pwidth()
921 if (!utf_mode) in pappend()
967 r = (!utf_mode) ? 1 : mbc_buf_index; in pappend()
1069 overstrike = utf_mode ? -1 : 0; in do_append()
1070 if (utf_mode) in do_append()
1128 if ((!utf_mode || is_ascii_char(ch)) && control_char((char)ch)) in do_append()
1131 } else if (utf_mode && ctldisp != OPT_ON && is_ubin_char(ch)) in do_append()
H A Dpattern.c18 extern int utf_mode;
67 ((utf_mode) ? PCRE_UTF8 | PCRE_NO_UTF8_CHECK : 0) | in compile_pattern2()
H A Dttyin.c35 extern int utf_mode;
H A Doutput.c410 extern int utf_mode; in putchr()
411 if (utf_mode) in putchr()
H A Dcmdbuf.c24 extern int utf_mode;
156 if (!utf_mode) in cmd_putstr()
1196 if (!utf_mode) in cmd_char()
H A Dfilename.c50 extern int utf_mode;
464 if (utf_mode && !is_utf8_well_formed(p, edata-p)) in bin_file()
H A Dcommand.c72 extern int utf_mode;
898 WideCharToMultiByte(utf_mode ? CP_UTF8 : GetConsoleOutputCP(), in prompt()
H A Dscreen.c159 extern int utf_mode;
2998 if (utf_mode == 2) in WIN32textout()
H A Dsearch.c36 extern int utf_mode;