Searched refs:is_locale_utf8 (Results 1 – 11 of 11) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 155 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 …]
|
D | test-locale-util.c | 88 log_info("is_locale_utf8: %s", yes_no(is_locale_utf8())); in TEST()
|
/systemd-251/src/basic/ |
D | glyph-util.c | 17 is_locale_utf8() && in emoji_enabled() 136 … return draw_table[code >= _SPECIAL_GLYPH_FIRST_EMOJI ? emoji_enabled() : is_locale_utf8()][code]; in special_glyph()
|
D | locale-util.h | 40 bool is_locale_utf8(void);
|
D | string-util.c | 278 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()
|
D | locale-util.c | 276 bool is_locale_utf8(void) { in is_locale_utf8() function
|
D | process-util.c | 242 bool eight_bit = (flags & PROCESS_CMDLINE_USE_LOCALE) && !is_locale_utf8(); in get_process_cmdline()
|
/systemd-251/src/shared/ |
D | qrcode-util.c | 89 if (!is_locale_utf8() || !colors_enabled()) in print_qrcode()
|
D | pager.c | 166 if (!less_charset && is_locale_utf8()) in pager_open()
|
D | logs-show.c | 65 if (is_locale_utf8()) in print_catalog()
|
/systemd-251/src/vconsole/ |
D | vconsole-setup.c | 436 utf8 = is_locale_utf8(); in main()
|