| /tools/perf/ui/ |
| A D | helpline.c | 20 va_list ap __maybe_unused) in nop_helpline__show() 47 if (vasprintf(&s, fmt, ap) < 0) in ui_helpline__vpush() 48 vfprintf(stderr, fmt, ap); in ui_helpline__vpush() 57 va_list ap; in ui_helpline__fpush() local 59 va_start(ap, fmt); in ui_helpline__fpush() 60 ui_helpline__vpush(fmt, ap); in ui_helpline__fpush() 61 va_end(ap); in ui_helpline__fpush() 77 va_list ap; in ui_helpline__printf() local 80 va_start(ap, fmt); in ui_helpline__printf() 81 ui_helpline__vpush(fmt, ap); in ui_helpline__printf() [all …]
|
| A D | helpline.h | 11 int (*show)(const char *fmt, va_list ap); 20 void ui_helpline__vpush(const char *fmt, va_list ap); 24 int ui_helpline__vshow(const char *fmt, va_list ap);
|
| /tools/verification/rv/src/ |
| A D | utils.c | 22 va_list ap; in err_msg() local 24 va_start(ap, fmt); in err_msg() 25 vsnprintf(message, sizeof(message), fmt, ap); in err_msg() 26 va_end(ap); in err_msg() 37 va_list ap; in debug_msg() local 42 va_start(ap, fmt); in debug_msg() 43 vsnprintf(message, sizeof(message), fmt, ap); in debug_msg() 44 va_end(ap); in debug_msg()
|
| A D | rv.c | 136 va_list ap; in usage() local 154 va_start(ap, fmt); in usage() 155 vsnprintf(message, sizeof(message), fmt, ap); in usage() 156 va_end(ap); in usage()
|
| /tools/perf/tests/shell/lib/ |
| A D | perf_json_output_lint.py | 9 ap = argparse.ArgumentParser() variable 10 ap.add_argument('--no-args', action='store_true') 11 ap.add_argument('--interval', action='store_true') 13 ap.add_argument('--system-wide', action='store_true') 14 ap.add_argument('--event', action='store_true') 15 ap.add_argument('--per-core', action='store_true') 16 ap.add_argument('--per-thread', action='store_true') 17 ap.add_argument('--per-cache', action='store_true') 19 ap.add_argument('--per-die', action='store_true') 20 ap.add_argument('--per-node', action='store_true') [all …]
|
| /tools/testing/selftests/ublk/ |
| A D | utils.h | 44 va_list ap; in ublk_err() local 46 va_start(ap, fmt); in ublk_err() 47 vfprintf(stderr, fmt, ap); in ublk_err() 53 va_list ap; in ublk_log() local 55 va_start(ap, fmt); in ublk_log() 56 vfprintf(stdout, fmt, ap); in ublk_log() 63 va_list ap; in ublk_dbg() local 65 va_start(ap, fmt); in ublk_dbg() 66 vfprintf(stdout, fmt, ap); in ublk_dbg()
|
| /tools/testing/selftests/mount/ |
| A D | nosymfollow-test.c | 32 va_list ap; in die() local 34 va_start(ap, fmt); in die() 35 vfprintf(stderr, fmt, ap); in die() 36 va_end(ap); in die() 41 va_list ap) in vmaybe_write_file() argument 78 va_list ap; in maybe_write_file() local 80 va_start(ap, fmt); in maybe_write_file() 82 va_end(ap); in maybe_write_file() 87 va_list ap; in write_file() local 89 va_start(ap, fmt); in write_file() [all …]
|
| A D | unprivileged-remount-test.c | 50 va_list ap; in die() local 51 va_start(ap, fmt); in die() 52 vfprintf(stderr, fmt, ap); in die() 53 va_end(ap); in die() 97 va_list ap; in maybe_write_file() local 99 va_start(ap, fmt); in maybe_write_file() 100 vmaybe_write_file(true, filename, fmt, ap); in maybe_write_file() 101 va_end(ap); in maybe_write_file() 107 va_list ap; in write_file() local 109 va_start(ap, fmt); in write_file() [all …]
|
| /tools/perf/pmu-events/ |
| A D | models.py | 57 ap = argparse.ArgumentParser() 58 ap.add_argument('arch', help='Architecture name like x86') 59 ap.add_argument('cpuid', default='all', help='List of cpuids to convert to model names') 60 ap.add_argument( 65 args = ap.parse_args()
|
| /tools/testing/selftests/kvm/lib/ |
| A D | assert.c | 70 va_list ap; in test_assert() local 73 va_start(ap, fmt); in test_assert() 83 vfprintf(stderr, fmt, ap); in test_assert() 86 va_end(ap); in test_assert()
|
| A D | test_util.c | 126 va_list ap; in print_skip() local 129 va_start(ap, fmt); in print_skip() 130 vprintf(fmt, ap); in print_skip() 131 va_end(ap); in print_skip() 404 va_list ap; in strdup_printf() local 407 va_start(ap, fmt); in strdup_printf() 408 TEST_ASSERT(vasprintf(&str, fmt, ap) >= 0, "vasprintf() failed"); in strdup_printf() 409 va_end(ap); in strdup_printf()
|
| /tools/perf/python/ |
| A D | counting.py | 33 ap = argparse.ArgumentParser() variable 34 ap.add_argument('-e', '--event', help="Events to open", default="cpu-clock,task-clock") 35 args = ap.parse_args()
|
| /tools/perf/util/ |
| A D | strbuf.c | 94 static int strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv() argument 105 va_copy(ap_saved, ap); in strbuf_addv() 106 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap); in strbuf_addv() 130 va_list ap; in strbuf_addf() local 133 va_start(ap, fmt); in strbuf_addf() 134 ret = strbuf_addv(sb, fmt, ap); in strbuf_addf() 135 va_end(ap); in strbuf_addf()
|
| /tools/bpf/bpftool/ |
| A D | jit_disasm.c | 174 static int printf_json(void *out, const char *fmt, va_list ap) in printf_json() argument 179 err = vasprintf(&s, fmt, ap); in printf_json() 207 va_list ap; in fprintf_json() local 210 va_start(ap, fmt); in fprintf_json() 211 r = printf_json(out, fmt, ap); in fprintf_json() 212 va_end(ap); in fprintf_json() 221 va_list ap; in fprintf_json_styled() local 224 va_start(ap, fmt); in fprintf_json_styled() 225 r = printf_json(out, fmt, ap); in fprintf_json_styled() 226 va_end(ap); in fprintf_json_styled()
|
| A D | json_writer.c | 158 void jsonw_vprintf_enquote(json_writer_t *self, const char *fmt, va_list ap) in jsonw_vprintf_enquote() argument 162 vfprintf(self->out, fmt, ap); in jsonw_vprintf_enquote() 168 va_list ap; in jsonw_printf() local 170 va_start(ap, fmt); in jsonw_printf() 172 vfprintf(self->out, fmt, ap); in jsonw_printf() 173 va_end(ap); in jsonw_printf()
|
| /tools/testing/selftests/capabilities/ |
| A D | test_execve.c | 26 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() argument 33 buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); in vmaybe_write_file() 65 va_list ap; in maybe_write_file() local 67 va_start(ap, fmt); in maybe_write_file() 68 vmaybe_write_file(true, filename, fmt, ap); in maybe_write_file() 69 va_end(ap); in maybe_write_file() 74 va_list ap; in write_file() local 76 va_start(ap, fmt); in write_file() 77 vmaybe_write_file(false, filename, fmt, ap); in write_file() 78 va_end(ap); in write_file()
|
| /tools/testing/selftests/firmware/ |
| A D | fw_namespace.c | 24 va_list ap; in die() local 26 va_start(ap, fmt); in die() 27 vfprintf(stderr, fmt, ap); in die() 28 va_end(ap); in die()
|
| /tools/testing/selftests/safesetid/ |
| A D | safesetid-test.c | 45 va_list ap; in die() local 46 va_start(ap, fmt); in die() 47 vfprintf(stderr, fmt, ap); in die() 48 va_end(ap); in die() 52 static bool vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() argument 59 buf_len = vsnprintf(buf, sizeof(buf), fmt, ap); in vmaybe_write_file() 97 va_list ap; in write_file() local 100 va_start(ap, fmt); in write_file() 101 ret = vmaybe_write_file(false, filename, fmt, ap); in write_file() 102 va_end(ap); in write_file()
|
| /tools/lib/perf/tests/ |
| A D | test-cpumap.c | 9 const char *fmt, va_list ap) in libperf_print() argument 11 return vfprintf(stderr, fmt, ap); in libperf_print()
|
| A D | test-threadmap.c | 9 const char *fmt, va_list ap) in libperf_print() argument 11 return vfprintf(stderr, fmt, ap); in libperf_print()
|
| /tools/perf/ui/tui/ |
| A D | helpline.c | 30 static int tui_helpline__show(const char *format, va_list ap) in tui_helpline__show() argument 37 sizeof(ui_helpline__last_msg) - backlog, format, ap); in tui_helpline__show()
|
| /tools/perf/ui/gtk/ |
| A D | helpline.c | 28 static int gtk_helpline_show(const char *fmt, va_list ap) in gtk_helpline_show() argument 35 sizeof(ui_helpline__current) - backlog, fmt, ap); in gtk_helpline_show()
|
| /tools/testing/selftests/powerpc/syscalls/ |
| A D | rtas_filter.c | 114 va_list ap; in rtas_call() local 116 va_start(ap, nrets); in rtas_call() 131 args.args[i] = (__be32) va_arg(ap, unsigned long); in rtas_call() 134 rets[i] = (__be32 *) va_arg(ap, unsigned long); in rtas_call() 151 va_end(ap); in rtas_call()
|
| /tools/testing/selftests/mm/ |
| A D | pkey-helpers.h | 42 va_list ap; in sigsafe_printf() local 45 va_start(ap, format); in sigsafe_printf() 46 vprintf(format, ap); in sigsafe_printf() 47 va_end(ap); in sigsafe_printf()
|
| /tools/lib/perf/Documentation/examples/ |
| A D | counting.c | 13 const char *fmt, va_list ap) in libperf_print() argument 15 return vfprintf(stderr, fmt, ap); in libperf_print()
|