Home
last modified time | relevance | path

Searched refs:colors_enabled (Results 1 – 16 of 16) sorted by relevance

/systemd-251/src/basic/
Dterminal-util.h160 static inline bool colors_enabled(void) { in colors_enabled() function
168 return colors_enabled() ? ANSI_##NAME : ""; \
183 colors_enabled() ? ANSI_##NAME : ""; \
229 return colors_enabled() ? _ANSI_HIGHLIGHT_YELLOW : ""; in _ansi_highlight_yellow()
Dterminal-util.c1342 if (colors_enabled()) in underline_enabled()
/systemd-251/src/shared/
Dqrcode-util.c89 if (!is_locale_utf8() || !colors_enabled()) in print_qrcode()
Dpretty-print.c32 cached_urlify_enabled = colors_enabled(); in urlify_enabled()
Dformat-table.c2323 … (!colors_enabled() || (!table_data_color(d) && row != t->data)) && in table_print()
2343 if (colors_enabled()) { in table_print()
2353 if (colors_enabled()) { in table_print()
2368 if (colors_enabled() && (color || row == t->data)) in table_print()
Dask-password-api.c444 use_color = colors_enabled(); in ask_password_tty()
Djson.c1780 …flags & (JSON_FORMAT_COLOR_AUTO|JSON_FORMAT_COLOR)) == JSON_FORMAT_COLOR_AUTO) && colors_enabled()) in json_variant_dump()
/systemd-251/src/libsystemd/sd-journal/
Djournal-verify.c43 if (colors_enabled()) in draw_progress()
59 if (colors_enabled()) in draw_progress()
/systemd-251/src/firstboot/
Dfirstboot.c121 if (colors_enabled()) in print_welcome()
/systemd-251/src/login/
Dloginctl.c61 colors_enabled() * OUTPUT_COLOR; in get_output_flags()
/systemd-251/src/core/
Dmain.c2779 log_show_color(colors_enabled()); in main()
/systemd-251/src/journal/
Djournalctl.c2750 colors_enabled() * OUTPUT_COLOR | in main()
/systemd-251/src/systemctl/
Dsystemctl-show.c47 colors_enabled() * OUTPUT_COLOR | in get_output_flags()
/systemd-251/src/machine/
Dmachinectl.c94 colors_enabled() * OUTPUT_COLOR | in get_output_flags()
/systemd-251/src/analyze/
Danalyze-security.c1919 colors_enabled() ? strempty(badness_table[i].color) : "", in assess()
/systemd-251/src/network/
Dnetworkctl.c1486 colors_enabled() * OUTPUT_COLOR; in get_output_flags()