/third_party/weston/tools/zunitc/src/ |
D | zuc_base_logger.c | 61 bool use_color; member 72 styled_printf(bool use_color, enum style_level slevel, const char *fmt, ...); 130 styled_printf(bool use_color, enum style_level slevel, const char *fmt, ...) in styled_printf() argument 134 if (use_color) in styled_printf() 153 if (use_color) in styled_printf() 168 bdata->use_color = isatty(fileno(stdout)) in pre_run() 176 styled_printf(bdata->use_color, STYLE_WARN, in pre_run() 181 styled_printf(bdata->use_color, STYLE_WARN, in pre_run() 193 styled_printf(bdata->use_color, STYLE_GOOD, "[==========]"); in run_started() 207 styled_printf(bdata->use_color, STYLE_GOOD, "[==========]"); in run_ended() [all …]
|
/third_party/ffmpeg/libavutil/tests/ |
D | log.c | 41 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/json/benchmarks/thirdparty/benchmark/tools/gbench/ |
D | report.py | 32 def color_format(use_color, fmt_str, *args, **kwargs): argument 39 assert use_color is True or use_color is False 40 if not use_color: 87 def generate_difference_report(json1, json2, use_color=True): argument 122 output_strs += [color_format(use_color, fmt_str, 163 output_lines_with_header = generate_difference_report(json1, json2, use_color=False) 192 output_lines_with_header = generate_difference_report(json1, json2, use_color=False)
|
/third_party/boost/boost/test/utils/runtime/cla/ |
D | parser.hpp | 333 bool use_color = true) in usage() argument 346 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::ORIGINAL ); in usage() 351 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::GREEN ); in usage() 355 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::YELLOW ); in usage() 363 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::GREEN ); in usage() 368 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::GREEN ); in usage() 378 bool use_color = true) in help() argument 385 param->help( ostr, m_negation_prefix, use_color); in help() 389 usage(ostr, cstring(), use_color); in help() 393 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::ORIGINAL ); in help() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | log.c | 121 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/ |
D | report.py | 47 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/ |
D | cli.c | 32 static int use_color = 1; variable 122 use_color = !use_color; in parse_options() 162 initialize_curses(use_color, use_mouse); in main()
|
D | mainloop.c | 43 void initialize_curses(bool use_color, bool use_mouse) in initialize_curses() argument 52 init_colors(use_color); in initialize_curses()
|
D | colors.c | 48 void init_colors(int use_color) in init_colors() argument 50 if (!!has_colors() == !!use_color) { in init_colors()
|
D | mainloop.h | 6 void initialize_curses(bool use_color, bool use_mouse);
|
D | colors.h | 39 void init_colors(int use_color);
|
/third_party/toybox/toys/lsb/ |
D | dmesg.c | 39 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/boost/boost/test/utils/runtime/ |
D | parameter.hpp | 180 …virtual void usage( std::ostream& ostr, cstring negation_prefix_, bool use_color = true… in usage() argument 189 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::GREEN ); in usage() 206 cla_name_help( ostr, id.m_tag, negation_prefix_, use_color ); in usage() 208 cla_name_help( ostr, id.m_tag, "", use_color ); in usage() 210 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::YELLOW ); in usage() 234 …virtual void help( std::ostream& ostr, cstring negation_prefix_, bool use_color = true ) in help() argument 236 usage( ostr, negation_prefix_, use_color ); in help() 390 …lp( std::ostream& ostr, cstring cla_tag, cstring negation_prefix_, bool use_color = true ) const B… in cla_name_help() argument 396 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::YELLOW ); in cla_name_help()
|
/third_party/ffmpeg/tests/checkasm/ |
D | checkasm.c | 389 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/glib/glib/ |
D | gmessages.c | 1162 gboolean use_color); 1163 static const gchar *color_reset (gboolean use_color); 1198 gboolean use_color) in mklevel_prefix() argument 1204 strcpy (level_prefix, log_level_to_color (log_level, use_color)); in mklevel_prefix() 1241 strcat (level_prefix, color_reset (use_color)); in mklevel_prefix() 1493 gboolean use_color) in log_level_to_color() argument 1497 if (!use_color) in log_level_to_color() 1518 color_reset (gboolean use_color) in color_reset() argument 1522 if (!use_color) in color_reset() 2259 gboolean use_color) in g_log_writer_format_fields() argument [all …]
|
D | gmessages.h | 227 gboolean use_color);
|
/third_party/jsoncpp/.travis_scripts/ |
D | run-clang-format.py | 204 def print_diff(diff_lines, use_color): argument 205 if use_color: 349 print_diff(outs, use_color=colored_stdout)
|
/third_party/toybox/kconfig/lxdialog/ |
D | util.c | 159 int use_color = 1; in set_theme() local 169 use_color = 0; in set_theme() 171 return use_color; in set_theme()
|
/third_party/boost/boost/test/impl/ |
D | unit_test_parameters.ipp | 680 bool use_color = true; 682 use_color = runtime_config::get<bool>(runtime_config::btrt_color_output); 691 parser->usage( std::cerr, runtime::cstring(), use_color ); 698 use_color );
|
/third_party/toybox/generated/ |
D | globals.h | 43 int use_color; member
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest.cc | 3036 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/ |
D | gtest.cc | 3282 const bool use_color = AlwaysFalse(); in ColoredPrintf() local 3286 const bool use_color = in_color_mode && (color != GTestColor::kDefault); in ColoredPrintf() local 3289 if (!use_color) { in ColoredPrintf()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 4773 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()
|