Home
last modified time | relevance | path

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

/third_party/weston/tools/zunitc/src/
Dzuc_base_logger.c61 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/
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/benchmark/tools/gbench/
Dreport.py43 def color_format(use_color, fmt_str, *args, **kwargs): argument
50 assert use_color is True or use_color is False
51 if not use_color:
174 def print_utest(partition, utest_alpha, first_col_width, use_color=True): argument
199 return [color_format(use_color,
216 use_color=True): argument
264 output_strs += [color_format(use_color,
284 use_color=use_color)
356 json1, json2, use_color=False)
390 json1, json2, use_color=False)
[all …]
/third_party/json/benchmarks/thirdparty/benchmark/tools/gbench/
Dreport.py32 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/
Dparser.hpp333 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/
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/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/boost/boost/test/utils/runtime/
Dparameter.hpp180 …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/
Dcheckasm.c376 static int use_color = -1; in color_printf() local
383 if (use_color < 0) { in color_printf()
388 use_color = 1; in color_printf()
390 use_color = 0; in color_printf()
392 if (use_color) in color_printf()
395 if (use_color < 0) { in color_printf()
397 use_color = term && strcmp(term, "dumb") && isatty(2); in color_printf()
399 if (use_color) in color_printf()
407 if (use_color) { in color_printf()
/third_party/glib/glib/
Dgmessages.c1162 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 …]
Dgmessages.h227 gboolean use_color);
/third_party/jsoncpp/.travis_scripts/
Drun-clang-format.py204 def print_diff(diff_lines, use_color): argument
205 if use_color:
349 print_diff(outs, use_color=colored_stdout)
/third_party/uboot/u-boot-2020.01/scripts/kconfig/lxdialog/
Dutil.c151 int use_color = 1; in set_theme() local
161 use_color = 0; in set_theme()
163 return use_color; in set_theme()
216 int use_color; in color_setup() local
218 use_color = set_theme(theme); in color_setup()
219 if (use_color && has_colors()) { in color_setup()
/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/boost/boost/test/impl/
Dunit_test_parameters.ipp680 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/
Dglobals.h43 int use_color; member
/third_party/googletest/googletest/src/
Dgtest.cc3035 const bool use_color = AlwaysFalse(); in ColoredPrintf() local
3039 const bool use_color = in_color_mode && (color != COLOR_DEFAULT); in ColoredPrintf() local
3043 if (!use_color) { in ColoredPrintf()
/third_party/boringssl/src/third_party/googletest/src/
Dgtest.cc3038 const bool use_color = AlwaysFalse(); in ColoredPrintf() local
3042 const bool use_color = in_color_mode && (color != COLOR_DEFAULT); in ColoredPrintf() local
3045 if (!use_color) { in ColoredPrintf()
/third_party/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc4410 const bool use_color = AlwaysFalse(); in ColoredPrintf() local
4414 const bool use_color = in_color_mode && (color != COLOR_DEFAULT); in ColoredPrintf() local
4418 if (!use_color) { in ColoredPrintf()