Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 191) sorted by relevance

12345678

/illumos-kvm-cmd/
H A Dqerror.c238 va_start(ap, fmt); in qerror_abort()
239 vfprintf(stderr, fmt, ap); in qerror_abort()
251 obj = qobject_from_jsonv(fmt, va); in qerror_set_data()
253 qerror_abort(qerr, "invalid format '%s'", fmt); in qerror_set_data()
278 static void qerror_set_desc(QError *qerr, const char *fmt) in qerror_set_desc() argument
309 const char *fmt, va_list *va) in qerror_from_info() argument
319 if (!fmt) { in qerror_from_info()
323 qerror_set_data(qerr, fmt, va); in qerror_from_info()
324 qerror_set_desc(qerr, fmt); in qerror_from_info()
422 const char *fmt, ...) in qerror_report_internal() argument
[all …]
H A Dqemu-error.c22 void error_vprintf(const char *fmt, va_list ap) in error_vprintf() argument
25 monitor_vprintf(cur_mon, fmt, ap); in error_vprintf()
27 vfprintf(stderr, fmt, ap); in error_vprintf()
35 void error_printf(const char *fmt, ...) in error_printf() argument
39 va_start(ap, fmt); in error_printf()
40 error_vprintf(fmt, ap); in error_printf()
49 va_start(ap, fmt); in error_printf_unless_qmp()
50 error_vprintf(fmt, ap); in error_printf_unless_qmp()
200 void error_report(const char *fmt, ...) in error_report() argument
205 va_start(ap, fmt); in error_report()
[all …]
H A Dqemu-img-cmds.hx13 "check [-f fmt] filename")
15 @item check [-f @var{fmt}] @var{filename}
19 "create [-f fmt] [-o options] filename [size]")
21 @item create [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
25 "commit [-f fmt] filename")
27 @item commit [-f @var{fmt}] @var{filename}
31 …"convert [-c] [-f fmt] [-O output_fmt] [-o options] [-s snapshot_name] filename [filename2 [...]] …
37 "info [-f fmt] filename")
39 @item info [-f @var{fmt}] @var{filename}
49 "rebase [-f fmt] [-u] -b backing_file [-F backing_fmt] filename")
[all …]
H A Dqemu-img.c220 if (fmt) { in bdrv_new_open()
303 fmt = optarg; in img_create()
368 fmt = NULL; in img_check()
380 fmt = optarg; in img_check()
447 fmt = NULL; in img_commit()
459 fmt = optarg; in img_commit()
583 fmt = NULL; in img_convert()
598 fmt = optarg; in img_convert()
998 fmt = NULL; in img_info()
1189 fmt = NULL; in img_rebase()
[all …]
H A Dqemu-error.h33 void error_vprintf(const char *fmt, va_list ap) GCC_FMT_ATTR(1, 0);
34 void error_printf(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
35 void error_printf_unless_qmp(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
38 void error_report(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
H A Dcmd.c425 const char *fmt; in cvtstr() local
431 fmt = precise ? "%.f EiB" : "%.3f EiB"; in cvtstr()
432 snprintf(str, size, fmt, TO_EXABYTES(value)); in cvtstr()
434 fmt = precise ? "%.f PiB" : "%.3f PiB"; in cvtstr()
435 snprintf(str, size, fmt, TO_PETABYTES(value)); in cvtstr()
437 fmt = precise ? "%.f TiB" : "%.3f TiB"; in cvtstr()
438 snprintf(str, size, fmt, TO_TERABYTES(value)); in cvtstr()
440 fmt = precise ? "%.f GiB" : "%.3f GiB"; in cvtstr()
441 snprintf(str, size, fmt, TO_GIGABYTES(value)); in cvtstr()
443 fmt = precise ? "%.f MiB" : "%.3f MiB"; in cvtstr()
[all …]
H A Dqerror.h37 const char *fmt, va_list *va) GCC_FMT_ATTR(4, 0);
41 const char *fmt, ...) GCC_FMT_ATTR(4, 5);
42 #define qerror_report(fmt, ...) \ argument
43 qerror_report_internal(__FILE__, __LINE__, __func__, fmt, ## __VA_ARGS__)
/illumos-kvm-cmd/audio/
H A Dossaudio.c86 audfmt_e fmt; member
96 va_start (ap, fmt); in oss_logerr()
106 const char *fmt, in oss_logerr2() argument
114 va_start (ap, fmt); in oss_logerr2()
166 switch (fmt) { in aud_to_ossfmt()
243 dolog ("format | %10d | %10d\n", req->fmt, obt->fmt); in oss_dump_info()
300 fmt = req->fmt; in oss_open()
366 obt->fmt = fmt; in oss_open()
374 if ((req->fmt != obt->fmt) || in oss_open()
529 req.fmt = aud_to_ossfmt (as->fmt, as->endianness); in oss_init_out()
[all …]
H A Dalsaaudio.c85 snd_pcm_format_t fmt; member
95 audfmt_e fmt; member
105 va_start (ap, fmt); in alsa_logerr()
115 const char *fmt, in alsa_logerr2() argument
123 va_start (ap, fmt); in alsa_logerr2()
323 switch (fmt) { in aud_to_alsafmt()
377 *fmt = AUD_FMT_S8; in alsa_to_audfmt()
832 req.fmt = aud_to_alsafmt (as->fmt, as->endianness); in alsa_init_out()
848 obt_as.fmt = obt.fmt; in alsa_init_out()
941 req.fmt = aud_to_alsafmt (as->fmt, as->endianness); in alsa_init_in()
[all …]
H A Dsdlaudio.c66 va_start (ap, fmt); in sdl_logerr()
67 AUD_vlog (AUDIO_CAP, fmt, ap); in sdl_logerr()
118 static int aud_to_sdlfmt (audfmt_e fmt) in aud_to_sdlfmt() argument
120 switch (fmt) { in aud_to_sdlfmt()
147 *fmt = AUD_FMT_S8; in sdl_to_audfmt()
152 *fmt = AUD_FMT_U8; in sdl_to_audfmt()
157 *fmt = AUD_FMT_S16; in sdl_to_audfmt()
162 *fmt = AUD_FMT_U16; in sdl_to_audfmt()
167 *fmt = AUD_FMT_S16; in sdl_to_audfmt()
172 *fmt = AUD_FMT_U16; in sdl_to_audfmt()
[all …]
H A Daudio_int.h240 static void GCC_ATTR dolog (const char *fmt, ...) in dolog() argument
244 va_start (ap, fmt); in dolog()
245 AUD_vlog (AUDIO_CAP, fmt, ap); in dolog()
250 static void GCC_ATTR ldebug (const char *fmt, ...) in ldebug() argument
254 va_start (ap, fmt); in ldebug()
255 AUD_vlog (AUDIO_CAP, fmt, ap); in ldebug()
264 static void GCC_ATTR ldebug (const char *fmt, ...) in ldebug() argument
266 (void) fmt; in ldebug()
H A Daudio_win_int.c26 switch (as->fmt) { in waveformat_from_audio_settings()
88 as->fmt = AUD_FMT_U8; in waveformat_to_audio_settings()
92 as->fmt = AUD_FMT_S16; in waveformat_to_audio_settings()
96 as->fmt = AUD_FMT_S32; in waveformat_to_audio_settings()
H A Desdaudio.c64 static void GCC_FMT_ATTR (2, 3) qesd_logerr (int err, const char *fmt, ...) in qesd_logerr() argument
68 va_start (ap, fmt); in qesd_logerr()
69 AUD_vlog (AUDIO_CAP, fmt, ap); in qesd_logerr()
194 switch (as->fmt) { in qesd_init_out()
198 obt_as.fmt = AUD_FMT_U8; in qesd_init_out()
209 obt_as.fmt = AUD_FMT_S16; in qesd_init_out()
213 dolog ("Internal logic error: Bad audio format %d\n", as->fmt); in qesd_init_out()
404 switch (as->fmt) { in qesd_init_in()
408 obt_as.fmt = AUD_FMT_U8; in qesd_init_in()
414 obt_as.fmt = AUD_FMT_S16; in qesd_init_in()
[all …]
H A Dpaaudio.c43 static void GCC_FMT_ATTR (2, 3) qpa_logerr (int err, const char *fmt, ...) in qpa_logerr() argument
47 va_start (ap, fmt); in qpa_logerr()
48 AUD_vlog (AUDIO_CAP, fmt, ap); in qpa_logerr()
263 static audfmt_e pa_to_audfmt (pa_sample_format_t fmt, int *endianness) in pa_to_audfmt() argument
265 switch (fmt) { in pa_to_audfmt()
281 dolog ("Internal logic error: Bad pa_sample_format %d\n", fmt); in pa_to_audfmt()
294 ss.format = audfmt_to_pa (as->fmt, as->endianness); in qpa_init_out()
307 obt_as.fmt = pa_to_audfmt (ss.format, &obt_as.endianness); in qpa_init_out()
358 ss.format = audfmt_to_pa (as->fmt, as->endianness); in qpa_init_in()
362 obt_as.fmt = pa_to_audfmt (ss.format, &obt_as.endianness); in qpa_init_in()
H A Dfmodaudio.c57 static void GCC_FMT_ATTR (1, 2) fmod_logerr (const char *fmt, ...) in fmod_logerr() argument
61 va_start (ap, fmt); in fmod_logerr()
62 AUD_vlog (AUDIO_CAP, fmt, ap); in fmod_logerr()
71 const char *fmt, in fmod_logerr2() argument
79 va_start (ap, fmt); in fmod_logerr2()
80 AUD_vlog (AUDIO_CAP, fmt, ap); in fmod_logerr2()
298 static int aud_to_fmodfmt (audfmt_e fmt, int stereo) in aud_to_fmodfmt() argument
302 switch (fmt) { in aud_to_fmodfmt()
320 dolog ("Internal logic error: Bad audio format %d\n", fmt); in aud_to_fmodfmt()
350 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0); in fmod_init_out()
[all …]
/illumos-kvm-cmd/target-m68k/
H A Dop_helper.c82 uint32_t fmt; in do_rte() local
85 fmt = ldl_kernel(sp); in do_rte()
87 sp |= (fmt >> 28) & 3; in do_rte()
88 env->sr = fmt & 0xffff; in do_rte()
96 uint32_t fmt; in do_interrupt() local
100 fmt = 0; in do_interrupt()
135 fmt |= 0x40000000; in do_interrupt()
136 fmt |= (sp & 3) << 28; in do_interrupt()
137 fmt |= vector << 16; in do_interrupt()
138 fmt |= env->sr; in do_interrupt()
[all …]
/illumos-kvm-cmd/scripts/
H A Dtracetool96 local fmt
97 fmt=${1#*\"}
98 fmt=${fmt%\"*}
99 echo "$fmt"
264 fprintf(stderr, "$name $fmt\n" $argnames);
335 local name args argnames fmt
339 fmt=$(get_fmt "$1")
346 trace_mark(ust, $name, "$fmt", $argnames);
/illumos-kvm-cmd/hw/
H A Dsyborg_interrupt.c31 #define DPRINTF(fmt, ...) \ argument
32 do { printf("syborg_int: " fmt , ## __VA_ARGS__); } while (0)
33 #define BADF(fmt, ...) \ argument
34 do { fprintf(stderr, "syborg_int: error: " fmt , ## __VA_ARGS__); \
37 #define DPRINTF(fmt, ...) do {} while(0) argument
38 #define BADF(fmt, ...) \ argument
39 do { fprintf(stderr, "syborg_int: error: " fmt , ## __VA_ARGS__);} while (0)
H A Dsyborg_keyboard.c32 #define DPRINTF(fmt, ...) \ argument
33 do { printf("syborg_keyboard: " fmt , ##args); } while (0)
34 #define BADF(fmt, ...) \ argument
35 do { fprintf(stderr, "syborg_keyboard: error: " fmt , ## __VA_ARGS__); \
38 #define DPRINTF(fmt, ...) do {} while(0) argument
39 #define BADF(fmt, ...) \ argument
40 do { fprintf(stderr, "syborg_keyboard: error: " fmt , ## __VA_ARGS__); \
H A Dsyborg_timer.c32 #define DPRINTF(fmt, ...) \ argument
33 do { printf("syborg_timer: " fmt , ##args); } while (0)
34 #define BADF(fmt, ...) \ argument
35 do { fprintf(stderr, "syborg_timer: error: " fmt , ## __VA_ARGS__); \
38 #define DPRINTF(fmt, ...) do {} while(0) argument
39 #define BADF(fmt, ...) \ argument
40 do { fprintf(stderr, "syborg_timer: error: " fmt , ## __VA_ARGS__);} while (0)
H A Dssd0303.c19 #define DPRINTF(fmt, ...) \ argument
20 do { printf("ssd0303: " fmt , ## __VA_ARGS__); } while (0)
21 #define BADF(fmt, ...) \ argument
22 do { fprintf(stderr, "ssd0303: error: " fmt , ## __VA_ARGS__); exit(1);} while (0)
24 #define DPRINTF(fmt, ...) do {} while(0) argument
25 #define BADF(fmt, ...) \ argument
26 do { fprintf(stderr, "ssd0303: error: " fmt , ## __VA_ARGS__);} while (0)
H A Dsyborg_virtio.c34 #define DPRINTF(fmt, ...) \ argument
35 do { printf("syborg_virtio: " fmt , ## __VA_ARGS__); } while (0)
36 #define BADF(fmt, ...) \ argument
37 do { fprintf(stderr, "syborg_virtio: error: " fmt , ## __VA_ARGS__); \
40 #define DPRINTF(fmt, ...) do {} while(0) argument
41 #define BADF(fmt, ...) \ argument
42 do { fprintf(stderr, "syborg_virtio: error: " fmt , ## __VA_ARGS__);} while (0)
H A Dssi-sd.c17 #define DPRINTF(fmt, ...) \ argument
18 do { printf("ssi_sd: " fmt , ## __VA_ARGS__); } while (0)
19 #define BADF(fmt, ...) \ argument
20 do { fprintf(stderr, "ssi_sd: error: " fmt , ## __VA_ARGS__); exit(1);} while (0)
22 #define DPRINTF(fmt, ...) do {} while(0) argument
23 #define BADF(fmt, ...) \ argument
24 do { fprintf(stderr, "ssi_sd: error: " fmt , ## __VA_ARGS__);} while (0)
H A Dpl022.c17 #define DPRINTF(fmt, ...) \ argument
18 do { printf("pl022: " fmt , ## __VA_ARGS__); } while (0)
19 #define BADF(fmt, ...) \ argument
20 do { fprintf(stderr, "pl022: error: " fmt , ## __VA_ARGS__); exit(1);} while (0)
22 #define DPRINTF(fmt, ...) do {} while(0) argument
23 #define BADF(fmt, ...) \ argument
24 do { fprintf(stderr, "pl022: error: " fmt , ## __VA_ARGS__);} while (0)
/illumos-kvm-cmd/tests/
H A Dtest_path.c15 void qemu_log(const char *fmt, ...);
18 void qemu_log(const char *fmt, ...) in qemu_log() argument
23 va_start(ap, fmt); in qemu_log()
24 vfprintf(stderr, fmt, ap); in qemu_log()

Completed in 82 milliseconds

12345678