Home
last modified time | relevance | path

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

/src/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.c106 extern int utf_mode;
532 return (utf_mode && is_wide_char(prev_ch)) ? -2 : -1; in pwidth()
535 if (!utf_mode || is_ascii_char(ch)) in pwidth()
1118 if (!utf_mode) in pappend_b()
1164 r = (!utf_mode) ? 1 : mbc_buf_index; in pappend_b()
1283 overstrike = utf_mode ? -1 : 0; in do_append()
1284 if (utf_mode) in do_append()
1336 if (utf_mode) in do_append()
1353 if ((!utf_mode || is_ascii_char(ch)) && control_char(ch)) in do_append()
1356 } 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()
711 if (!utf_mode || ch < 0x80) in put_wchar()
764 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 Doutput.c32 extern int utf_mode;
471 if (utf_mode) in putchr()
628 constant char *ps = utf_mode ? prutfchar(ch) : prchar(ch);
H A Dprompt.c32 extern int utf_mode;
112 ps = utf_mode ? prutfchar(ch) : prchar(ch); in ap_estr()
H A Dcmdbuf.c24 extern int utf_mode;
159 if (!utf_mode) in cmd_putstr()
1281 if (!utf_mode) in cmd_uchar()
H A Dfilename.c49 extern int utf_mode;
490 if (utf_mode && !is_utf8_well_formed(p, (int) ptr_diff(edata,p))) in bin_file()
H A Dcommand.c72 extern int utf_mode;
996 WideCharToMultiByte(utf_mode ? CP_UTF8 : GetConsoleOutputCP(), in prompt()
H A Dscreen.c156 extern int utf_mode;
3484 if (utf_mode == 2) in WIN32textout()
H A Dsearch.c35 extern int utf_mode;