Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 236) sorted by relevance

12345678910

/tools/objtool/include/objtool/
A Dwarn.h53 #define __WARN(severity, format, ...) \ argument
54 ___WARN(severity, "", format, ##__VA_ARGS__)
74 #define WARN(format, ...) __WARN(WARN_STR, format, ##__VA_ARGS__) argument
75 #define WARN_FUNC(sec, offset, format, ...) __WARN_FUNC(WARN_STR, sec, offset, format, ##__VA_ARGS_… argument
77 #define WARN_INSN(insn, format, ...) \ argument
87 #define BT_INSN(insn, format, ...) \ argument
99 #define ERROR(format, ...) __WARN(ERROR_STR, format, ##__VA_ARGS__) argument
100 #define ERROR_ELF(format, ...) __WARN_ELF(ERROR_STR, format, ##__VA_ARGS__) argument
101 #define ERROR_GLIBC(format, ...) __WARN_GLIBC(ERROR_STR, format, ##__VA_ARGS__) argument
102 #define ERROR_FUNC(sec, offset, format, ...) __WARN_FUNC(ERROR_STR, sec, offset, format, ##__VA_ARG… argument
[all …]
/tools/perf/ui/
A Dutil.c9 static int perf_stdio__error(const char *format, va_list args) in perf_stdio__error() argument
12 vfprintf(stderr, format, args); in perf_stdio__error()
16 static int perf_stdio__warning(const char *format, va_list args) in perf_stdio__warning() argument
22 vfprintf(stderr, format, args); in perf_stdio__warning()
35 int ui__error(const char *format, ...) in ui__error() argument
40 va_start(args, format); in ui__error()
41 ret = perf_eops->error(format, args); in ui__error()
47 int ui__warning(const char *format, ...) in ui__warning() argument
54 va_start(args, format); in ui__warning()
55 ret = perf_eops->warning(format, args); in ui__warning()
/tools/power/cpupower/po/
A Dzh_CN.po73 #, c-format
82 #, c-format
91 #, c-format
96 #, c-format
101 #, c-format
106 #, c-format
111 #, c-format
116 #, c-format
121 #, c-format
130 #, c-format
[all …]
A Dka.po75 #, c-format
84 #, c-format
93 #, c-format
98 #, c-format
103 #, c-format
109 #, c-format
114 #, c-format
121 #, c-format
128 #, c-format
137 #, c-format
[all …]
A Dfr.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
A Dcs.po76 #, c-format
83 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
120 #, c-format
127 #, c-format
[all …]
A Dit.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
A Dpt.po71 #, c-format
78 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
122 #, c-format
[all …]
A Dde.po73 #, c-format
82 #, c-format
91 #, c-format
96 #, c-format
101 #, c-format
106 #, c-format
111 #, c-format
117 #, c-format
123 #, c-format
132 #, c-format
[all …]
/tools/power/x86/intel_pstate_tracer/
A Dintel_pstate_tracer.py103 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
124 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
143 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
158 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
201 g_plot('title_list = "{}"'.format(title_list))
215 g_plot('title_list = "{}"'.format(title_list))
229 g_plot('title_list = "{}"'.format(title_list))
243 g_plot('title_list = "{}"'.format(title_list))
257 g_plot('title_list = "{}"'.format(title_list))
271 g_plot('title_list = "{}"'.format(title_list))
[all …]
/tools/testing/selftests/tc-testing/
A DTdcPlugin.py6 print(' -- {}.__init__'.format(self.sub_class))
13 print(' -- {}.pre_suite'.format(self.sub_class))
19 print(' -- {}.post_suite'.format(self.sub_class))
24 print(' -- {}.pre_case'.format(self.sub_class))
31 print(' -- {}.post_case'.format(self.sub_class))
36 print(' -- {}.pre_execute'.format(self.sub_class))
41 print(' -- {}.post_execute'.format(self.sub_class))
46 print(' -- {}.adjust_command {}'.format(self.sub_class, stage))
74 print(' -- {}.check_args'.format(self.sub_class))
A DTdcResults.py35 self.errormsg = '{}\n{}'.format(self.errormsg, errormsg)
45 self.failmsg = '{}\n{}'.format(self.failmsg, failmsg)
92 ftap += '1..{}\n'.format(self.count_tests())
97 ftap += 'ok {} {} - {}'.format(str(index), t.test_id, t.test_name)
99 ftap += ' # skipped - {}\n'.format(t.errormsg)
104 ftap += '\n\t\t{}'.format(step)
105 ftap += '\n\t{}'.format(t.failmsg)
116 xunit += 'name=\"{}\">\n'.format(escape(t.test_name))
122 xunit += '\t{}\n'.format(escape(step))
123 xunit += 'FAILURE: {}\n'.format(escape(t.failmsg))
[all …]
A Dtdc.py106 fname = '{}.py'.format(r)
109 pgpath = '{}/{}'.format(d, fname)
213 print('command "{}"'.format(command))
242 print('{}'.format(prefix))
433 print("exit: {!r}".format(exit_code))
490 format(ex_type, ex))
960 print('{}'.format(pde.missing_pg))
969 if args.format == 'none':
973 if args.format == 'xunit':
976 elif args.format == 'tap':
[all …]
/tools/include/nolibc/
A Dstdio.h515 if (*format == '%') { in vsscanf()
518 format++; in vsscanf()
520 if (*format == 'l') { in vsscanf()
523 format++; in vsscanf()
526 format++; in vsscanf()
530 if (*format == '%') { in vsscanf()
535 format++; in vsscanf()
545 } else if (*format == 'u' || *format == 'x' || *format == 'X') { in vsscanf()
561 format++; in vsscanf()
570 format++; in vsscanf()
[all …]
/tools/virtio/virtio-trace/
A Dtrace-agent.h68 #define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__) argument
69 #define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__) argument
71 #define pr_debug(format, ...) fprintf(stderr, format, ## __VA_ARGS__) argument
73 #define pr_debug(format, ...) do {} while (0) argument
/tools/lib/perf/
A Dcore.c3 #define __printf(a, b) __attribute__((format(printf, a, b)))
13 static int __base_pr(enum libperf_print_level level __maybe_unused, const char *format, in __base_pr() argument
16 return vfprintf(stderr, format, args); in __base_pr()
22 void libperf_print(enum libperf_print_level level, const char *format, ...) in libperf_print() argument
29 va_start(args, format); in libperf_print()
30 __libperf_pr(level, format, args); in libperf_print()
/tools/virtio/linux/
A Dkernel.h51 #define __printf(a,b) __attribute__((format(printf,a,b)))
128 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
130 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
132 #define pr_debug(format, ...) do {} while (0) argument
134 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
135 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
136 #define dev_warn_once(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) argument
/tools/testing/selftests/tc-testing/plugin-lib/
A DnsPlugin.py48 f = open('/run/netns/{}'.format(ns))
58 print('{}.pre_case'.format(self.sub_class))
67 print('{}.post_case'.format(self.sub_class))
76 print('{}.post_suite'.format(self.sub_class))
82 print('_exec_cmd: command "{}"'.format(cmd))
92 print('{}.adjust_command'.format(self.sub_class))
115 print('adjust_command: return command [{}]'.format(command))
125 print('{}._nl_ns_create'.format(self.sub_class))
167 cmds.append(self._replace_keywords('netns add {}'.format(ns)))
228 print('_exec_cmd: command "{}"'.format(command))
[all …]
A DvalgrindPlugin.py33 print('{}.pre_suite'.format(self.sub_class))
35 self._add_to_tap('1..{}\n'.format(self.testcount))
41 print('{}.post_suite'.format(self.sub_class))
44 res = TestResult('{}-mem'.format(self.testidlist[xx]), 'Test skipped')
72 print('{}.adjust_command'.format(self.sub_class))
83 format(stage, command, cmdlist))
87 cmdlist.insert(0, '--log-file=vgnd-{}.log'.format(self.args.testid))
99 print('adjust_command: return command [{}]'.format(command))
106 res = TestResult('{}-mem'.format(self.args.testid),
107 '{} memory leak check'.format(self.args.test_name))
[all …]
/tools/testing/selftests/alsa/
A Dpcm-test.conf3 format S16_LE
12 format S16_LE
21 format S16_LE
30 format S16_LE
39 format S16_LE
48 format S16_LE
57 format S16_LE
/tools/perf/ui/gtk/
A Dutil.c31 static int perf_gtk__error(const char *format, va_list args) in perf_gtk__error() argument
37 vasprintf(&msg, format, args) < 0) { in perf_gtk__error()
39 vfprintf(stderr, format, args); in perf_gtk__error()
57 static int perf_gtk__warning_info_bar(const char *format, va_list args) in perf_gtk__warning_info_bar() argument
62 vasprintf(&msg, format, args) < 0) { in perf_gtk__warning_info_bar()
64 vfprintf(stderr, format, args); in perf_gtk__warning_info_bar()
78 static int perf_gtk__warning_statusbar(const char *format, va_list args) in perf_gtk__warning_statusbar() argument
83 vasprintf(&msg, format, args) < 0) { in perf_gtk__warning_statusbar()
85 vfprintf(stderr, format, args); in perf_gtk__warning_statusbar()
/tools/perf/scripts/python/
A Dtask-analyzer.py331 fmt += " {{:^{}}}".format(
337 fmt += " {{:^{}}}".format(
358 fmt += "{}{{:>{}}}".format(
361 fmt += "{}{{:>{}}}".format(
364 fmt += "{}{{:>{}}}".format(
376 fmt += "{}{{:>{}}}".format(
384 fmt += "{}{{:>{}}}".format(
388 fmt += "{}{{:>{}}}".format(
392 fmt += "{}{{:>{}}}".format(
571 return "{}-{}".format(pid, cpu)
[all …]
/tools/perf/util/
A Dpmu.y2 %parse-param {void *format}
27 static void perf_pmu_error(void *format, void *scanner, const char *msg);
57 format:
58 format format_term
65 perf_pmu_format__set_value(format, PERF_PMU_FORMAT_VALUE_CONFIG, $3);
70 perf_pmu_format__set_value(format, $2, $4);
97 static void perf_pmu_error(void *format __maybe_unused,
/tools/thermal/lib/
A Dlog.c34 extern void logit(int level, const char *format, ...) in logit() argument
38 va_start(args, format); in logit()
41 vsyslog(level, format, args); in logit()
44 vfprintf(stderr, format, args); in logit()
47 vfprintf(stdout, format, args); in logit()
/tools/power/x86/amd_pstate_tracer/
A Damd_pstate_trace.py67 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
75 …g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, dateti…
84 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
99 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
119 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_name, datetime.now()))
122 …plot_str = "plot for [i in title_list] i.'.csv' using {:d}:{:d} pt 7 ps 1 title i".format(C_ELAPSE…
123 g_plot('title_list = "{}"'.format(title_list))
133 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
137 g_plot('title_list = "{}"'.format(title_list))
148 g_plot('set title "{} : cpu load : {:%F %H:%M}"'.format(test_name, datetime.now()))
[all …]

Completed in 32 milliseconds

12345678910