Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/tests/
Dlog.c41 for (use_color=0; use_color<=256; use_color = 255*use_color+1) { in main()
42 av_log(NULL, AV_LOG_FATAL, "use_color: %d\n", use_color); in main()
/third_party/ffmpeg/libavutil/
Dlog.c121 static int use_color = -1; variable
166 use_color = 0; in check_color_terminal()
168 use_color = 1; in check_color_terminal()
171 use_color = (con != INVALID_HANDLE_VALUE); in check_color_terminal()
173 use_color = (term && isatty(2)); in check_color_terminal()
175 use_color = 0; in check_color_terminal()
180 use_color *= 256; in check_color_terminal()
191 } else if (tint && use_color == 256) { in ansi_fputs()
213 if (use_color < 0) in colored_fputs()
217 else local_use_color = use_color; in colored_fputs()
/third_party/benchmark/tools/gbench/
Dreport.py47 def color_format(use_color, fmt_str, *args, **kwargs): argument
54 assert use_color is True or use_color is False
55 if not use_color:
204 def print_utest(bc_name, utest, utest_alpha, first_col_width, use_color=True): argument
224 return [color_format(use_color,
326 use_color=True): argument
356 output_strs += [color_format(use_color,
379 use_color=use_color)
456 self.json_diff_report, use_color=False)
587 self.json_diff_report, use_color=False)
[all …]
/third_party/alsa-utils/alsamixer/
Dcli.c32 static int use_color = 1; variable
122 use_color = !use_color; in parse_options()
162 initialize_curses(use_color, use_mouse); in main()
Dmainloop.c43 void initialize_curses(bool use_color, bool use_mouse) in initialize_curses() argument
52 init_colors(use_color); in initialize_curses()
Dcolors.c48 void init_colors(int use_color) in init_colors() argument
50 if (!!has_colors() == !!use_color) { in init_colors()
Dmainloop.h6 void initialize_curses(bool use_color, bool use_mouse);
Dcolors.h39 void init_colors(int use_color);
/third_party/toybox/toys/lsb/
Ddmesg.c39 int use_color;
45 if (TT.use_color) printf("\033[%dm", c);
114 TT.use_color = isatty(1); in dmesg_main()
116 if (TT.use_color) sigatexit(dmesg_cleanup); in dmesg_main()
/third_party/ffmpeg/tests/checkasm/
Dcheckasm.c389 static int use_color = -1; in color_printf() local
396 if (use_color < 0) { in color_printf()
401 use_color = 1; in color_printf()
403 use_color = 0; in color_printf()
405 if (use_color) in color_printf()
408 if (use_color < 0) { in color_printf()
410 use_color = term && strcmp(term, "dumb") && isatty(2); in color_printf()
412 if (use_color) in color_printf()
420 if (use_color) { in color_printf()
/third_party/toybox/kconfig/lxdialog/
Dutil.c159 int use_color = 1; in set_theme() local
169 use_color = 0; in set_theme()
171 return use_color; in set_theme()
/third_party/toybox/generated/
Dglobals.h43 int use_color; member
/third_party/mesa3d/src/gtest/src/
Dgtest.cc3036 const bool use_color = AlwaysFalse(); in ColoredPrintf() local
3040 const bool use_color = in_color_mode && (color != COLOR_DEFAULT); in ColoredPrintf() local
3043 if (!use_color) { in ColoredPrintf()
/third_party/googletest/googletest/src/
Dgtest.cc3279 const bool use_color = in_color_mode && (color != GTestColor::kDefault); in ColoredPrintf() local
3281 if (!use_color) { in ColoredPrintf()
/third_party/node/deps/googletest/src/
Dgtest.cc3306 const bool use_color = in_color_mode && (color != GTestColor::kDefault); in ColoredPrintf() local
3308 if (!use_color) { in ColoredPrintf()
/third_party/cef/tools/distrib/gtest/
Dgtest-all.cc4773 const bool use_color = AlwaysFalse(); in ColoredPrintf() local
4777 const bool use_color = in_color_mode && (color != GTestColor::kDefault); in ColoredPrintf() local
4780 if (!use_color) { in ColoredPrintf()