Home
last modified time | relevance | path

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

12345

/xen-4.10.0-shim-comet/xen/common/
A Dvsprintf.c274 switch ( fmt[1] ) in pointer()
446 for (; *fmt ; ++fmt) { in vsnprintf()
458 switch (*fmt) { in vsnprintf()
471 ++fmt; in vsnprintf()
483 ++fmt; in vsnprintf()
487 ++fmt; in vsnprintf()
497 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || in vsnprintf()
498 *fmt =='Z' || *fmt == 'z') { in vsnprintf()
500 ++fmt; in vsnprintf()
503 ++fmt; in vsnprintf()
[all …]
/xen-4.10.0-shim-comet/tools/xenstore/
A Dutils.c13 static void default_xprintf(const char *fmt, ...) in default_xprintf() argument
17 va_start(args, fmt); in default_xprintf()
18 vfprintf(stderr, fmt, args); in default_xprintf()
23 void (*xprintf)(const char *fmt, ...) = default_xprintf;
25 void barf(const char *fmt, ...) in barf() argument
33 va_start(arglist, fmt); in barf()
34 bytes = vasprintf(&str, fmt, arglist); in barf()
44 void barf_perror(const char *fmt, ...) in barf_perror() argument
52 va_start(arglist, fmt); in barf_perror()
53 bytes = vasprintf(&str, fmt, arglist); in barf_perror()
A Dtalloc.c391 va_start(ap, fmt); in talloc_set_name()
392 talloc_set_name_v(ptr, fmt, ap); in talloc_set_name()
419 va_start(ap, fmt); in talloc_named()
420 talloc_set_name_v(ptr, fmt, ap); in talloc_named()
490 va_start(ap, fmt); in talloc_init()
491 talloc_set_name_v(ptr, fmt, ap); in talloc_init()
1112 vsnprintf(ret, len+1, fmt, ap2); in talloc_vasprintf()
1130 va_start(ap, fmt); in talloc_asprintf()
1131 ret = talloc_vasprintf(t, fmt, ap); in talloc_asprintf()
1177 vsnprintf(s+s_len, len+1, fmt, ap2); in talloc_vasprintf_append()
[all …]
A Dutils.h26 void barf(const char *fmt, ...) __attribute__((noreturn));
27 void barf_perror(const char *fmt, ...) __attribute__((noreturn));
29 void (*xprintf)(const char *fmt, ...);
A Dtalloc.h106 void talloc_set_name(const void *ptr, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
109 const char *fmt, ...) PRINTF_ATTRIBUTE(3,4);
115 void *talloc_init(const char *fmt, ...) PRINTF_ATTRIBUTE(1,2);
131 char *talloc_vasprintf(const void *t, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0);
132 char *talloc_asprintf(const void *t, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
134 const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
/xen-4.10.0-shim-comet/xen/include/xen/
A Dlib.h80 extern void debugtrace_printk(const char *fmt, ...)
86 debugtrace_printk(const char *fmt, ...) {} in debugtrace_printk() argument
102 #define gprintk(lvl, fmt, args...) \ argument
103 printk(XENLOG_GUEST lvl "%pv " fmt, current, ## args)
109 dprintk(const char *lvl, const char *fmt, ...) {} in dprintk() argument
113 gdprintk(const char *lvl, const char *fmt, ...) {} in gdprintk() argument
117 #define dprintk(lvl, fmt, args...) \ argument
118 printk(lvl "%s:%d: " fmt, __FILE__, __LINE__, ## args)
119 #define gdprintk(lvl, fmt, args...) \ argument
120 printk(XENLOG_GUEST lvl "%s:%d:%pv " fmt, \
[all …]
A Dtmem_xen.h217 #define tmem_client_err(fmt, args...) printk(XENLOG_G_ERR fmt, ##args) argument
218 #define tmem_client_warn(fmt, args...) printk(XENLOG_G_WARNING fmt, ##args) argument
219 #define tmem_client_info(fmt, args...) printk(XENLOG_G_INFO fmt, ##args) argument
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Dlog.h67 void printk(const char *fmt, ...);
69 #define vtpmloginfo(module, fmt, args...) \ argument
71 printk("INFO[%s]: " fmt, module_names[module], ##args); \
74 #define vtpmloginfomore(module, fmt, args...) \ argument
76 printk(fmt,##args); \
79 #define vtpmlogerror(module, fmt, args...) \ argument
80 printk("ERROR[%s]: " fmt, module_names[module], ##args);
/xen-4.10.0-shim-comet/xen/common/libelf/
A Dlibelf-private.h28 #define elf_msg(elf, fmt, args ... ) \ argument
29 if (elf->verbose) printk(fmt, ## args )
30 #define elf_err(elf, fmt, args ... ) \ argument
31 printk(fmt, ## args )
80 #define elf_msg(elf, fmt, args ... ) \ argument
81 elf_call_log_callback(elf, 0, fmt , ## args );
82 #define elf_err(elf, fmt, args ... ) \ argument
83 elf_call_log_callback(elf, 1, fmt , ## args );
85 void elf_call_log_callback(struct elf_binary*, bool iserr, const char *fmt,...);
/xen-4.10.0-shim-comet/tools/libxl/
A Dosdeps.c26 int vasprintf(char **buffer, const char *fmt, va_list ap) in vasprintf() argument
33 nchars = vsnprintf(*buffer, 0, fmt, ap); in vasprintf()
50 nchars = vsnprintf(*buffer, size, fmt, ap); in vasprintf()
57 int asprintf(char **buffer, char *fmt, ...) in asprintf() argument
62 va_start (ap, fmt); in asprintf()
63 status = vasprintf (buffer, fmt, ap); in asprintf()
A Dlibxl_internal.c142 char *libxl__vsprintf(libxl__gc *gc, const char *fmt, va_list ap) in libxl__vsprintf() argument
149 ret = vsnprintf(NULL, 0, fmt, aq); in libxl__vsprintf()
156 ret = vsnprintf(s, ret + 1, fmt, aq); in libxl__vsprintf()
162 char *libxl__sprintf(libxl__gc *gc, const char *fmt, ...) in libxl__sprintf() argument
167 va_start(ap, fmt); in libxl__sprintf()
168 s = libxl__vsprintf(gc, fmt, ap); in libxl__sprintf()
216 uint32_t domid, const char *fmt, va_list ap) in libxl__logv() argument
229 rc = vasprintf(&base, fmt, ap); in libxl__logv()
250 uint32_t domid, const char *fmt, ...) in libxl__log() argument
253 va_start(ap, fmt); in libxl__log()
[all …]
/xen-4.10.0-shim-comet/tools/console/daemon/
A Dutils.h38 #define dolog(val, fmt, ...) do { \ argument
40 fprintf(stderr, fmt "\n", ## __VA_ARGS__); \
41 syslog(val, fmt, ## __VA_ARGS__); \
44 #define dolog(val, fmt, ...) fprintf(stderr, fmt "\n", ## __VA_ARGS__) argument
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/gx/
A Dxg_dummy.c31 xgtrc(const char *fn, const char *fmt, ...) in xgtrc() argument
37 va_start(args, fmt); in xgtrc()
38 (void)vsnprintf(buf, sizeof(buf), fmt, args); in xgtrc()
45 xgprt(const char *fn, const char *fmt, ...) in xgprt() argument
51 va_start(args, fmt); in xgprt()
52 (void)vsnprintf(buf, sizeof(buf), fmt, args); in xgprt()
A Dgx_utils.c25 gxprt(const char *fmt, ...) in gxprt() argument
30 va_start(args, fmt); in gxprt()
31 (void)vsnprintf(buf, sizeof(buf), fmt, args); in gxprt()
/xen-4.10.0-shim-comet/tools/misc/
A Dxencov_split35 fmt = bo_prefix + str(off) + 's'
36 fn, = struct.unpack_from(fmt, content)
39 fmt = bo_prefix + 'I'
40 sz, = struct.unpack_from(fmt, content)
41 content = content[struct.calcsize(fmt):]
43 fmt = bo_prefix + str(sz) + 's'
44 payload, = struct.unpack_from(fmt, content)
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/
A Dutil.c301 for ( ; *fmt != '\0'; fmt++ ) in _doprint()
303 if ( *fmt != '%' ) in _doprint()
305 put(*fmt); in _doprint()
310 c = *++fmt; in _doprint()
316 c = *++fmt; in _doprint()
319 for ( pad = 0; isdigit(c); c = *++fmt ) in _doprint()
325 c = *++fmt; in _doprint()
370 put(*fmt); in _doprint()
380 int printf(const char *fmt, ...) in printf() argument
384 va_start(ap, fmt); in printf()
[all …]
/xen-4.10.0-shim-comet/tools/python/scripts/
A Dverify-stream-v249 def unpack_exact(fmt): argument
51 sz = struct.calcsize(fmt)
52 return struct.unpack(fmt, rdexact(sz))
72 def read_stream(fmt): argument
76 if fmt == "xl":
77 fmt = skip_xl_header()
79 if fmt == "libxc":
/xen-4.10.0-shim-comet/tools/python/xen/migration/
A Dtests.py18 for fmt, sz in ( (libxc.IHDR_FORMAT, 24),
30 self.assertEqual(calcsize(fmt), sz)
37 for fmt, sz in ( (libxl.HDR_FORMAT, 16),
42 self.assertEqual(calcsize(fmt), sz)
A Dverify.py33 def unpack_exact(self, fmt): argument
35 sz = calcsize(fmt)
36 return unpack(fmt, self.rdexact(sz))
/xen-4.10.0-shim-comet/tools/xenbackendd/
A Dxenbackendd.c66 dolog(int pri, const char *fmt, ...) in dolog() argument
69 va_start(ap, fmt); in dolog()
70 vfprintf(stderr, fmt, ap); in dolog()
74 va_start(ap, fmt); in dolog()
75 vsyslog(pri, fmt, ap); in dolog()
80 dodebug(const char *fmt, ...) in dodebug() argument
86 va_start(ap, fmt); in dodebug()
87 vfprintf(stdout, fmt, ap); in dodebug()
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_utils.c30 void dolog(const char *file, int line, const char *func, char *fmt, ...) in dolog() argument
36 va_start(ap, fmt); in dolog()
37 rc = vasprintf(&s, fmt, ap); in dolog()
46 void xvasprintf(char **strp, const char *fmt, va_list ap) in xvasprintf() argument
48 int r = vasprintf(strp, fmt, ap); in xvasprintf()
55 void xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
58 va_start(ap, fmt); in xasprintf()
59 xvasprintf(strp, fmt, ap); in xasprintf()
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/platform-pci/
A Dplatform-compat.c128 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() argument
134 va_start(ap, fmt); in kasprintf()
135 len = vsnprintf(dummy, 0, fmt, ap); in kasprintf()
141 va_start(ap, fmt); in kasprintf()
142 vsprintf(p, fmt, ap); in kasprintf()
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dutil.c565 for ( ; *fmt != '\0'; fmt++ ) in _doprint()
567 if ( *fmt != '%' ) in _doprint()
569 emit(arg, *fmt); in _doprint()
574 c = *++fmt; in _doprint()
580 c = *++fmt; in _doprint()
589 c = *++fmt; in _doprint()
645 emit(arg, *fmt); in _doprint()
660 int printf(const char *fmt, ...) in printf() argument
664 va_start(ap, fmt); in printf()
665 _doprint(__put, NULL, fmt, ap); in printf()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dtapdisk-log.c108 __tlog_write(int level, const char *func, const char *fmt, ...) in __tlog_write() argument
134 va_start(ap, fmt); in __tlog_write()
135 ret = vsnprintf(buf + len, MAX_ENTRY_LEN - (len + 1), fmt, ap); in __tlog_write()
147 __tlog_error(int err, const char *func, const char *fmt, ...) in __tlog_error() argument
175 va_start(ap, fmt); in __tlog_error()
176 ret = vsnprintf(e->msg + len, MAX_ENTRY_LEN - (len + 1), fmt, ap); in __tlog_error()
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dosl.c48 void __init acpi_os_printf(const char *fmt, ...) in acpi_os_printf() argument
51 va_start(args, fmt); in acpi_os_printf()
52 acpi_os_vprintf(fmt, args); in acpi_os_printf()
56 void __init acpi_os_vprintf(const char *fmt, va_list args) in acpi_os_vprintf() argument
60 vsnprintf(buffer, sizeof(buffer), fmt, args); in acpi_os_vprintf()

Completed in 36 milliseconds

12345