Home
last modified time | relevance | path

Searched refs:use_colors (Results 1 – 25 of 198) sorted by relevance

12345678

/dports/deskutils/pal/pal-0.4.3/src/
H A Dcolorize.c56 use_colors = 1; in color_term()
60 use_colors = 0; in color_term()
68 if(use_colors != -2) in set_colorize()
69 use_colors = in; in set_colorize()
92 if(use_colors == -1) in colorize_xterm_title()
97 if(use_colors == 0 || use_colors == -2) in colorize_xterm_title()
107 if(use_colors == -1) in colorize_fg()
111 if(use_colors == 0 || use_colors == -2) in colorize_fg()
132 if(use_colors == 0 || use_colors == -2) in colorize_bright()
150 if(use_colors == 0 || use_colors == -2) in colorize_error()
[all …]
/dports/sysutils/tmux-mem-cpu-load/tmux-mem-cpu-load-3.5.1/common/
H A Dmain.cc39 bool use_colors = false, in cpu_string() argument
67 if( use_colors ) in cpu_string()
95 if( use_colors ) in cpu_string()
144 bool use_colors = false; in main() local
179 use_colors = true; in main()
182 use_colors = true; in main()
186 use_colors = true; in main()
249 …std::cout << mem_string( memory_status, mem_mode, use_colors, use_powerline_left, use_powerline_ri… in main()
250 …<< cpu_string( cpu_mode, cpu_usage_delay, graph_lines, use_colors, use_powerline_left, use_powerli… in main()
251 << load_string( use_colors, use_powerline_left, use_powerline_right, averages_count ); in main()
H A Dload.cc37 std::string load_string( bool use_colors, in load_string() argument
66 if( use_colors ) in load_string()
98 if( use_colors ) in load_string()
/dports/net/freediameter/freeDiameter-1.5.0/libfdproto/
H A Dlog.c45 static int use_colors = 0; /* 0: not init, 1: yes, 2: no */ variable
105 if (!use_colors) { in fd_internal_logger()
107 use_colors = 1; in fd_internal_logger()
109 use_colors = 2; in fd_internal_logger()
113 case FD_LOG_ANNOYING: printf("%s A ", (use_colors == 1) ? "\e[0;37m" : ""); break; in fd_internal_logger()
114 case FD_LOG_DEBUG: printf("%s DBG ", (use_colors == 1) ? "\e[0;37m" : ""); break; in fd_internal_logger()
115 case FD_LOG_INFO: printf("%sINFO ", (use_colors == 1) ? "\e[1;37m" : ""); break; in fd_internal_logger()
116 case FD_LOG_NOTICE: printf("%sNOTI ", (use_colors == 1) ? "\e[1;37m" : ""); break; in fd_internal_logger()
117 case FD_LOG_ERROR: printf("%sERROR ", (use_colors == 1) ? "\e[0;31m" : ""); break; in fd_internal_logger()
119 default: printf("%s ??? ", (use_colors == 1) ? "\e[0;31m" : ""); in fd_internal_logger()
[all …]
/dports/lang/zig-devel/zig-0.9.0/src/stage1/
H A Derrmsg.cpp20 bool use_colors = color == ErrColorOn || (color == ErrColorAuto && supports_color); in print_err_msg_type() local
43 if (use_colors) os_stderr_set_color(TermColorBold); in print_err_msg_type()
55 if (use_colors) os_stderr_set_color(TermColorRed); in print_err_msg_type()
59 if (use_colors) os_stderr_set_color(TermColorCyan); in print_err_msg_type()
67 if (use_colors) os_stderr_set_color(TermColorBold); in print_err_msg_type()
69 if (use_colors) os_stderr_set_color(TermColorReset); in print_err_msg_type()
79 if (use_colors) os_stderr_set_color(TermColorGreen); in print_err_msg_type()
81 if (use_colors) os_stderr_set_color(TermColorReset); in print_err_msg_type()
/dports/lang/zig/zig-0.9.0/src/stage1/
H A Derrmsg.cpp20 bool use_colors = color == ErrColorOn || (color == ErrColorAuto && supports_color); in print_err_msg_type() local
43 if (use_colors) os_stderr_set_color(TermColorBold); in print_err_msg_type()
55 if (use_colors) os_stderr_set_color(TermColorRed); in print_err_msg_type()
59 if (use_colors) os_stderr_set_color(TermColorCyan); in print_err_msg_type()
67 if (use_colors) os_stderr_set_color(TermColorBold); in print_err_msg_type()
69 if (use_colors) os_stderr_set_color(TermColorReset); in print_err_msg_type()
79 if (use_colors) os_stderr_set_color(TermColorGreen); in print_err_msg_type()
81 if (use_colors) os_stderr_set_color(TermColorReset); in print_err_msg_type()
/dports/www/py-uvicorn/uvicorn-0.15.0/uvicorn/
H A Dlogging.py37 use_colors: Optional[bool] = None,
39 if use_colors in (True, False):
40 self.use_colors = use_colors
42 self.use_colors = sys.stdout.isatty()
59 if self.use_colors:
88 if self.use_colors:
108 if self.use_colors:
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/diagnostic/
H A Dprinter_linux.cc49 : file(f), use_colors(colors && supports_colors(f)) {} in PrinterLinux()
83 if (use_colors) { in write_color()
90 bool const use_colors; member in tint::diag::__anone8c978350111::PrinterLinux
95 std::unique_ptr<Printer> Printer::create(FILE* out, bool use_colors) { in create() argument
96 return std::make_unique<PrinterLinux>(out, use_colors); in create()
H A Dprinter_windows.cc57 PrinterWindows(FILE* f, bool use_colors) in PrinterWindows() argument
58 : file(f), console(console_info(use_colors ? f : nullptr)) {} in PrinterWindows()
108 std::unique_ptr<Printer> Printer::create(FILE* out, bool use_colors) { in create() argument
109 return std::make_unique<PrinterWindows>(out, use_colors); in create()
/dports/math/cadical/cadical-1.0.3-cb89cbf/src/
H A Dterminal.cpp9 use_colors = connected = isatty (fd); in Terminal()
12 void Terminal::force_colors () { use_colors = connected = true;} in force_colors()
13 void Terminal::force_no_colors () { use_colors = false; } in force_no_colors()
26 connected = use_colors = false; in disable()
H A Dterminal.hpp10 bool use_colors; // Use colors. member in CaDiCaL::Terminal
19 if (!use_colors) return; in color()
44 bool colors () { return use_colors; } in colors()
61 #define MODIFY(CODE) (use_colors ? "\033[" CODE "m" : "")
/dports/devel/ncurses/ncurses-6.3/test/
H A Dechochar.c88 bool use_colors; in main() local
107 use_colors = has_colors(); in main()
108 if (use_colors) { in main()
113 use_colors = (my_pairs != 0); in main()
130 if (use_colors > 0) { in main()
H A Dnewdemo.c93 use_colors(WINDOW *win, int pair, chtype attrs) in use_colors() function
258 use_colors(win, 1, A_NORMAL); in main()
277 wbkgd(win, use_colors(win, 4, A_BOLD)); in main()
281 use_colors(win, 2, A_NORMAL); in main()
285 use_colors(win, 4, A_BOLD); in main()
295 use_colors(win, 5, A_BLINK); in main()
344 use_colors(win, 5, A_NORMAL); in main()
359 use_colors(win, 5, A_NORMAL); in main()
H A Dsavescreen.c168 dump_screen(char **files, int color, int which, int last, bool use_colors) in dump_screen() argument
185 if (use_colors) { in dump_screen()
281 bool use_colors = FALSE; in main() local
349 use_colors = TRUE; in main()
573 bool dirty = use_colors || (fill_by != 0); in main()
579 dump_screen(files, color, which, last, use_colors); in main()
589 if (dump_screen(files, color, which, last, use_colors)) { in main()
621 if (use_colors) { in main()
635 if (use_colors) { in main()
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/io_mesh_ply/
H A Dexport_ply.py75 def save_mesh(filepath, mesh, use_ascii, use_normals, use_uv_coords, use_colors): argument
89 if use_colors and mesh.vertex_colors:
92 use_colors = False
117 if use_colors:
135 if use_colors:
183 if use_colors:
212 use_colors=True, argument
263 use_colors,
/dports/graphics/graphene/graphene-1.10.6/subprojects/mutest/src/
H A Dmutest-main.c32 .use_colors = false,
73 return global_state.use_colors; in mutest_use_colors()
142 global_state.use_colors = false; in update_term_caps()
154 global_state.use_colors = true; in update_term_caps()
168 global_state.use_colors = true; in update_term_caps()
177 global_state.use_colors = true; in update_term_caps()
/dports/textproc/py-ocrmypdf/ocrmypdf-12.7.2/src/ocrmypdf/
H A Dapi.py118 use_colors = progress_bar_friendly
120 use_colors = False
121 if use_colors:
123 use_colors = coloredlogs.enable_ansi_support()
124 if use_colors:
125 use_colors = coloredlogs.terminal_supports_colors()
126 if use_colors:
/dports/textproc/pdfgrep/pdfgrep-2.1.1/src/
H A Doutput.cc34 static void start_color(bool use_colors, const char *colorcode) in start_color() argument
36 if (use_colors && is_valid_color(colorcode)) in start_color()
40 static void end_color(bool use_colors, const char *colorcode) in end_color() argument
42 if (use_colors && is_valid_color(colorcode)) in end_color()
46 #define with_color(use_colors, color, code) \ argument
48 start_color(use_colors, color); \
52 end_color(use_colors, color); \
/dports/devel/glib20/glib-2.70.4/gio/
H A Dgdbus-tool.c1312 gboolean use_colors) in dump_annotation() argument
1328 gboolean use_colors) in dump_arg() argument
1362 gboolean use_colors) in dump_method() argument
1387 use_colors); in dump_method()
1398 use_colors); in dump_method()
1406 gboolean use_colors) in dump_signal() argument
1429 use_colors); in dump_signal()
1586 use_colors, in dump_interface()
1600 gboolean use_colors);
1607 gboolean use_colors, in dump_node() argument
[all …]
/dports/net/trafshow/trafshow-5.2.3/
H A Dscreen.c40 int use_colors = 0; variable
58 use_colors = has_colors();
61 use_colors = 1;
63 if (use_colors) {
/dports/devel/py-coloredlogs/coloredlogs-15.0/coloredlogs/
H A D__init__.py432 use_colors = kw.get('isatty', None)
436 if use_colors or (use_colors is None):
438 if use_colors is None and 'NO_COLOR' in os.environ:
440 use_colors = False
442 if (use_colors or use_colors is None) and on_windows():
447 use_colors = enable_ansi_support()
451 if use_colors is None:
452 use_colors = terminal_supports_colors(stream)
520 if use_colors:
533 formatter_type = ColoredFormatter if use_colors else BasicFormatter
/dports/print/hplip/hplip-3.20.6/
H A Dlevels.py43 def logBarGraph(agent_level, agent_type, size=DEFAULT_BAR_GRAPH_SIZE, use_colors=True, bar_char='/'… argument
52 if use_colors:
67 if use_colors:
74 if use_colors:
83 if use_colors:
/dports/lang/clover/mesa-21.3.6/bin/
H A Dcommit_in_branch.py22 use_colors = sys.stdout.isatty()
24 use_colors = args.color == 'always'
27 if use_colors:
35 if use_colors:
/dports/graphics/libosmesa-gallium/mesa-21.3.6/bin/
H A Dcommit_in_branch.py22 use_colors = sys.stdout.isatty()
24 use_colors = args.color == 'always'
27 if use_colors:
35 if use_colors:
/dports/graphics/mesa-gallium-va/mesa-21.3.6/bin/
H A Dcommit_in_branch.py22 use_colors = sys.stdout.isatty()
24 use_colors = args.color == 'always'
27 if use_colors:
35 if use_colors:

12345678