Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-string-util.c155 assert_se(streq(cellescape(buf, 4, "1234"), is_locale_utf8() ? "…" : "...")); in TEST()
156 assert_se(streq(cellescape(buf, 4, "12345"), is_locale_utf8() ? "…" : "...")); in TEST()
163 assert_se(streq(cellescape(buf, 5, "12345"), is_locale_utf8() ? "1…" : "1...")); in TEST()
164 assert_se(streq(cellescape(buf, 5, "123456"), is_locale_utf8() ? "1…" : "1...")); in TEST()
169 assert_se(streq(cellescape(buf, 4, "\020"), is_locale_utf8() ? "…" : "...")); in TEST()
172 assert_se(streq(cellescape(buf, 5, "1234\020"), is_locale_utf8() ? "1…" : "1...")); in TEST()
173 assert_se(streq(cellescape(buf, 6, "1234\020"), is_locale_utf8() ? "12…" : "12...")); in TEST()
174 assert_se(streq(cellescape(buf, 7, "1234\020"), is_locale_utf8() ? "123…" : "123...")); in TEST()
175 assert_se(streq(cellescape(buf, 8, "1234\020"), is_locale_utf8() ? "1234…" : "1234...")); in TEST()
181 assert_se(streq(cellescape(buf, 4, "\t\n"), is_locale_utf8() ? "…" : "...")); in TEST()
[all …]
Dtest-locale-util.c88 log_info("is_locale_utf8: %s", yes_no(is_locale_utf8())); in TEST()
/systemd-251/src/basic/
Dglyph-util.c17 is_locale_utf8() && in emoji_enabled()
136 … return draw_table[code >= _SPECIAL_GLYPH_FIRST_EMOJI ? emoji_enabled() : is_locale_utf8()][code]; in special_glyph()
Dlocale-util.h40 bool is_locale_utf8(void);
Dstring-util.c278 if (unicode || is_locale_utf8()) { in write_ellipsis()
309 if (is_locale_utf8()) in ascii_ellipsize_mem()
315 if (!is_locale_utf8()) in ascii_ellipsize_mem()
327 need_space = is_locale_utf8() ? 1 : 3; in ascii_ellipsize_mem()
Dlocale-util.c276 bool is_locale_utf8(void) { in is_locale_utf8() function
Dprocess-util.c242 bool eight_bit = (flags & PROCESS_CMDLINE_USE_LOCALE) && !is_locale_utf8(); in get_process_cmdline()
/systemd-251/src/shared/
Dqrcode-util.c89 if (!is_locale_utf8() || !colors_enabled()) in print_qrcode()
Dpager.c166 if (!less_charset && is_locale_utf8()) in pager_open()
Dlogs-show.c65 if (is_locale_utf8()) in print_catalog()
/systemd-251/src/vconsole/
Dvconsole-setup.c436 utf8 = is_locale_utf8(); in main()