/qemu/scripts/coccinelle/ |
H A D | err-bad-newline.cocci | 8 error_vreport(fmt, ap)@p 10 warn_vreport(fmt, ap)@p 12 info_vreport(fmt, ap)@p 14 error_report(fmt, ...)@p 16 warn_report(fmt, ...)@p 18 info_report(fmt, ...)@p 20 error_report_once(fmt, ...)@p 22 warn_report_once(fmt, ...)@p 24 error_setg(errp, fmt, ...)@p 45 fmt << r.fmt; [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 178 | 85 local fmt="$1" 108 echo "== Empty $fmt input image ($ofmt) ==" 110 make_test_img_with_fmt "$fmt" 0 113 convert_and_show_size "$fmt" 118 make_test_img_with_fmt "$fmt" 1G 122 if [ "$fmt" = "qcow2" ]; then 128 convert_and_show_size "$fmt" 130 if [ "$fmt" = "qcow2" ]; then 137 convert_and_show_size "$fmt" -l snapshot1 168 make_test_img_with_fmt "$fmt" 8M [all …]
|
H A D | 049.out | 7 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 10 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 13 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 16 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 19 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 28 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 31 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 34 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 37 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… 51 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib s… [all …]
|
H A D | 079.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 6 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 10 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 preallocation=metadata
|
H A D | 106.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=off 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=off 13 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=off 17 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=falloc 21 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=falloc 25 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=falloc 29 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=full 33 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=full 37 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=131072 preallocation=full 54 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 [all …]
|
H A D | 026.out.nocache | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 21 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 28 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 33 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 38 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 45 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 52 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 60 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 [all …]
|
H A D | 026.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 14 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 21 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 28 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 33 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 38 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 45 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 52 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 60 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 [all …]
|
/qemu/tests/multiboot/ |
H A D | libc.c | 72 va_start(ap, fmt); in printf() 74 for (; *fmt; fmt++) { in printf() 75 if (*fmt != '%') { in printf() 76 print_char(*fmt); in printf() 79 fmt++; in printf() 81 if (*fmt == '#') { in printf() 82 fmt++; in printf() 88 if (*fmt == 'l') { in printf() 89 fmt++; in printf() 91 fmt++; in printf() [all …]
|
/qemu/hw/net/ |
H A D | vmxnet_debug.h | 81 #define VMW_SHPRN(fmt, ...) \ argument 84 printf("[%s][SH][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ 89 #define VMW_CBPRN(fmt, ...) \ argument 92 printf("[%s][CB][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ 97 #define VMW_PKPRN(fmt, ...) \ argument 100 printf("[%s][PK][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ 105 #define VMW_WRPRN(fmt, ...) \ argument 108 printf("[%s][WR][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ 113 #define VMW_ERPRN(fmt, ...) \ argument 116 printf("[%s][ER][%s]: " fmt "\n", VMXNET_DEVICE_NAME, __func__, \ [all …]
|
/qemu/tests/tcg/minilib/ |
H A D | printf.c | 56 va_start(ap, fmt); in ml_printf() 58 for (; *fmt; fmt++) { in ml_printf() 59 if (*fmt != '%') { in ml_printf() 60 __sys_outc(*fmt); in ml_printf() 63 fmt++; in ml_printf() 65 if (*fmt == '#') { in ml_printf() 66 fmt++; in ml_printf() 72 if (*fmt == 'l') { in ml_printf() 73 fmt++; in ml_printf() 75 fmt++; in ml_printf() [all …]
|
/qemu/util/ |
H A D | error-report.c | 32 int error_printf(const char *fmt, ...) in error_printf() argument 37 va_start(ap, fmt); in error_printf() 38 ret = error_vprintf(fmt, ap); in error_printf() 215 error_vprintf(fmt, ap); in vreport() 265 va_start(ap, fmt); in error_report() 276 void warn_report(const char *fmt, ...) in warn_report() argument 280 va_start(ap, fmt); in warn_report() 292 void info_report(const char *fmt, ...) in info_report() argument 296 va_start(ap, fmt); in info_report() 315 va_start(ap, fmt); in error_report_once_cond() [all …]
|
H A D | error.c | 93 va_start(ap, fmt); in error_set_internal() 104 va_start(ap, fmt); in error_setg_internal() 116 va_start(ap, fmt); in error_setg_errno_internal() 151 va_start(ap, fmt); in error_prepend() 152 error_vprepend(errp, fmt, ap); in error_prepend() 171 va_start(ap, fmt); in error_append_hint() 195 va_start(ap, fmt); in error_setg_win32_internal() 197 fmt, ap, suffix); in error_setg_win32_internal() 254 va_start(ap, fmt); in error_reportf_err() 265 va_start(ap, fmt); in warn_reportf_err() [all …]
|
H A D | qemu-print.c | 21 int qemu_vprintf(const char *fmt, va_list ap) in qemu_vprintf() argument 25 return monitor_vprintf(cur_mon, fmt, ap); in qemu_vprintf() 27 return vprintf(fmt, ap); in qemu_vprintf() 34 int qemu_printf(const char *fmt, ...) in qemu_printf() argument 39 va_start(ap, fmt); in qemu_printf() 40 ret = qemu_vprintf(fmt, ap); in qemu_printf() 52 return monitor_vprintf(monitor_cur(), fmt, ap); in qemu_vfprintf() 54 return vfprintf(stream, fmt, ap); in qemu_vfprintf() 61 int qemu_fprintf(FILE *stream, const char *fmt, ...) in qemu_fprintf() argument 66 va_start(ap, fmt); in qemu_fprintf() [all …]
|
/qemu/include/qemu/ |
H A D | error-report.h | 33 int error_vprintf(const char *fmt, va_list ap) G_GNUC_PRINTF(1, 0); 34 int error_printf(const char *fmt, ...) G_GNUC_PRINTF(1, 2); 40 void error_report(const char *fmt, ...) G_GNUC_PRINTF(1, 2); 41 void warn_report(const char *fmt, ...) G_GNUC_PRINTF(1, 2); 42 void info_report(const char *fmt, ...) G_GNUC_PRINTF(1, 2); 44 bool error_report_once_cond(bool *printed, const char *fmt, ...) 46 bool warn_report_once_cond(bool *printed, const char *fmt, ...) 55 #define error_report_once(fmt, ...) \ argument 59 fmt, ##__VA_ARGS__); \ 66 #define warn_report_once(fmt, ...) \ argument [all …]
|
/qemu/include/qapi/ |
H A D | error.h | 317 #define error_setg(errp, fmt, ...) \ argument 319 (fmt), ## __VA_ARGS__) 322 const char *fmt, ...) 335 (os_error), (fmt), ## __VA_ARGS__) 349 (win32_err), (fmt), ## __VA_ARGS__) 385 const char *fmt, ...) 399 void error_prepend(Error *const *errp, const char *fmt, ...) 416 void error_append_hint(Error *const *errp, const char *fmt, ...) 460 void warn_reportf_err(Error *err, const char *fmt, ...) 466 void error_reportf_err(Error *err, const char *fmt, ...) [all …]
|
/qemu/tests/tcg/multiarch/libs/ |
H A D | float_helpers.c | 71 char *fmt; in fmt_16() local 72 asprintf(&fmt, "f16(%#04x)", num); in fmt_16() 73 return fmt; in fmt_16() 135 char *fmt; in fmt_f32() local 137 return fmt; in fmt_f32() 203 char *fmt; in fmt_f64() local 205 return fmt; in fmt_f64() 214 char *fmt; in fmt_flags() local 217 asprintf(&fmt, "%s%s%s%s%s", in fmt_flags() 224 asprintf(&fmt, "OK"); in fmt_flags() [all …]
|
/qemu/tests/qtest/ |
H A D | libqmp.c | 139 const char *fmt, va_list ap) in _qmp_fd_vsend_fds() argument 190 _qmp_fd_vsend_fds(fd, NULL, 0, fmt, ap); in qmp_fd_vsend() 196 _qmp_fd_vsend_fds(fd, NULL, 0, fmt, ap); in qmp_fdv() 201 QDict *qmp_fd(int fd, const char *fmt, ...) in qmp_fd() argument 206 va_start(ap, fmt); in qmp_fd() 207 response = qmp_fdv(fd, fmt, ap); in qmp_fd() 216 va_start(ap, fmt); in qmp_fd_send() 217 qmp_fd_vsend(fd, fmt, ap); in qmp_fd_send() 224 char *str = g_strdup_vprintf(fmt, ap); in qmp_fd_vsend_raw() 237 va_start(ap, fmt); in qmp_fd_send_raw() [all …]
|
H A D | libqtest.h | 35 QTestState *qtest_initf(const char *fmt, ...) G_GNUC_PRINTF(1, 2); 132 const char *fmt, ...) 145 QDict *qtest_qmp(QTestState *s, const char *fmt, ...) 157 void qtest_qmp_send(QTestState *s, const char *fmt, ...) 168 void qtest_qmp_send_raw(QTestState *s, const char *fmt, ...) 193 const char *fmt, va_list ap) 207 QDict *qtest_vqmp(QTestState *s, const char *fmt, va_list ap) 224 const char *fmt, va_list ap) 353 char *qtest_vhmp(QTestState *s, const char *fmt, va_list ap) 786 const char *fmt, va_list args) [all …]
|
H A D | libqmp.h | 26 const char *fmt, va_list ap) G_GNUC_PRINTF(4, 0); 28 void qmp_fd_vsend(int fd, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0); 29 void qmp_fd_send(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3); 30 void qmp_fd_send_raw(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3); 31 void qmp_fd_vsend_raw(int fd, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0); 32 QDict *qmp_fdv(int fd, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0); 33 QDict *qmp_fd(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
|
H A D | libqtest.c | 402 va_start(ap, fmt); in qtest_spawn_qemu() 562 va_start(ap, fmt); in qtest_initf() 630 va_start(ap, fmt); in qtest_sendf() 814 va_start(ap, fmt); in qtest_qmp_fds() 826 va_start(ap, fmt); in qtest_qmp() 836 va_start(ap, fmt); in qtest_qmp_send() 845 va_start(ap, fmt); in qtest_qmp_send_raw() 922 va_start(ap, fmt); in qtest_hmp() 1373 va_start(ap, fmt); in qtest_qmp_assert_failure_ref() 1383 va_start(ap, fmt); in qtest_qmp_assert_success_ref() [all …]
|
/qemu/scripts/tracetool/ |
H A D | __init__.py | 249 self.fmt = fmt 269 assert isinstance(self.fmt, str) or len(self.fmt) == 2 296 fmt = groups["fmt"] 301 if fmt.endswith(r'\n"'): 306 fmt = [fmt_trans, fmt] 319 if isinstance(self.fmt, str): 320 fmt = self.fmt 322 fmt = "%s, %s" % (self.fmt[0], self.fmt[1]) 343 def api(self, fmt=None): argument 344 if fmt is None: [all …]
|
/qemu/scripts/tracetool/format/ |
H A D | log_stap.py | 34 def c_fmt_to_stap(fmt): argument 40 for i in range(len(fmt)): 41 if fmt[i] == '\\': 48 literal = literal + fmt[i] 49 elif fmt[i] == '"' and not escape: 59 elif fmt[i] == ' ' or fmt[i] == '\t': 65 literal = literal + fmt[i] 72 literal = literal + fmt[i] 74 macro = macro + fmt[i] 86 fmt = re.sub(r"%(\d*)(l+|z)(x|u|d)", r"%\1\3", "".join(bits)) [all …]
|
/qemu/audio/ |
H A D | ossaudio.c | 61 int fmt; member 71 va_start (ap, fmt); in oss_logerr() 81 const char *fmt, in oss_logerr2() argument 89 va_start (ap, fmt); in oss_logerr2() 136 switch (fmt) { in aud_to_ossfmt() 211 dolog ("format | %10d | %10d\n", req->fmt, obt->fmt); in oss_dump_info() 274 fmt = req->fmt; in oss_open() 341 obt->fmt = fmt; in oss_open() 349 if ((req->fmt != obt->fmt) || in oss_open() 506 req.fmt = aud_to_ossfmt (as->fmt, as->endianness); in oss_init_out() [all …]
|
H A D | alsaaudio.c | 63 snd_pcm_format_t fmt; member 69 AudioFormat fmt; member 79 va_start (ap, fmt); in alsa_logerr() 89 const char *fmt, in alsa_logerr2() argument 97 va_start (ap, fmt); in alsa_logerr2() 269 switch (fmt) { in aud_to_alsafmt() 326 *fmt = AUDIO_FORMAT_S8; in alsa_to_audfmt() 715 req.fmt = aud_to_alsafmt (as->fmt, as->endianness); in alsa_init_out() 725 obt_as.fmt = obt.fmt; in alsa_init_out() 802 req.fmt = aud_to_alsafmt (as->fmt, as->endianness); in alsa_init_in() [all …]
|
/qemu/trace/ |
H A D | meson.build | 16 fmt = '@0@-' + group_name + '.@1@' variable 18 trace_h = custom_target(fmt.format('trace', 'h'), 19 output: fmt.format('trace', 'h'), 24 trace_c = custom_target(fmt.format('trace', 'c'), 25 output: fmt.format('trace', 'c'), 30 trace_ust_h = custom_target(fmt.format('trace-ust', 'h'), 31 output: fmt.format('trace-ust', 'h'), 40 trace_dtrace = custom_target(fmt.format('trace-dtrace', 'dtrace'), 45 trace_dtrace_h = custom_target(fmt.format('trace-dtrace', 'h'), 46 output: fmt.format('trace-dtrace', 'h'), [all …]
|