Home
last modified time | relevance | path

Searched refs:utf_mode (Results 1 – 12 of 12) 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 Dline.c107 extern int utf_mode;
542 return (utf_mode && is_wide_char(prev_ch)) ? -2 : -1; in pwidth()
545 if (!utf_mode || is_ascii_char(ch)) in pwidth()
1128 if (!utf_mode) in pappend_b()
1174 r = (!utf_mode) ? 1 : mbc_buf_index; in pappend_b()
1324 overstrike = utf_mode ? -1 : 0; in do_append()
1325 if (utf_mode) in do_append()
1377 if (utf_mode) in do_append()
1394 if ((!utf_mode || is_ascii_char(ch)) && control_char(ch)) in do_append()
1397 } else if (utf_mode && ctldisp != OPT_ON && is_ubin_char(ch)) in do_append()
[all …]
H A Dcharset.c33 public int utf_mode = 0; variable
45 { "utf-8", &utf_mode, "8bcccbcc18b95.b126.bb" },
504 if (utf_mode) in binary_char()
531 if ((c < 128 || !utf_mode) && !control_char(c)) in prchar()
713 if (!utf_mode || ch < 0x80) in put_wchar()
767 if (!utf_mode) in step_charc()
H A Dpattern.c18 extern int utf_mode;
67 ((utf_mode) ? PCRE_UTF8 | PCRE_NO_UTF8_CHECK : 0) | in compile_pattern2()
84 ((utf_mode) ? PCRE2_UTF | PCRE2_NO_UTF_CHECK : 0) | in compile_pattern2()
H A Dprompt.c32 extern int utf_mode;
114 ps = utf_mode ? prutfchar(ch) : prchar(ch); in ap_estr()
H A Doutput.c32 extern int utf_mode;
643 constant char *ps = utf_mode ? prutfchar(ch) : prchar(ch);
H A Dcmdbuf.c24 extern int utf_mode;
159 if (!utf_mode) in cmd_putstr()
1283 if (!utf_mode) in cmd_uchar()
H A Dfilename.c49 extern int utf_mode;
523 if (utf_mode && !is_utf8_well_formed(p, (int) ptr_diff(edata,p))) in bin_file()
H A Doptfunc.c76 extern int utf_mode;
908 p.p_string = rscroll_char == 0 ? "-" : utf_mode ? prutfchar(rscroll_char) : prchar(rscroll_char); in opt_rscroll()
H A Dcommand.c76 extern int utf_mode;
1028 WideCharToMultiByte(utf_mode ? CP_UTF8 : GetConsoleOutputCP(), in prompt()
H A Dscreen.c171 extern int utf_mode;
3601 if (utf_mode == 2) in WIN32textout()
H A Dsearch.c37 extern int utf_mode;