Home
last modified time | relevance | path

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

12

/scripts/dtc/
Dutil.c35 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument
46 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append()
51 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
57 int xasprintf_append(char **strp, const char *fmt, ...) in xasprintf_append() argument
62 va_start(ap, fmt); in xasprintf_append()
63 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append()
69 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
76 va_start(ap, fmt); in xasprintf()
77 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
333 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
[all …]
Dutil.h60 extern int PRINTF(2, 3) xasprintf(char **strp, const char *fmt, ...);
61 extern int PRINTF(2, 3) xasprintf_append(char **strp, const char *fmt, ...);
62 extern int xavsprintf_append(char **strp, const char *fmt, va_list ap);
150 int utilfdt_decode_type(const char *fmt, int *type, int *size);
Dfdtput.c65 char fmt[3]; in encode_value() local
72 fmt[0] = '%'; in encode_value()
73 fmt[1] = disp->type ? disp->type : 'd'; in encode_value()
74 fmt[2] = '\0'; in encode_value()
100 sscanf(*arg, fmt, &ival); in encode_value()
Dfdtget.c60 char fmt[3]; in show_data() local
88 fmt[0] = '%'; in show_data()
89 fmt[1] = disp->type ? disp->type : 'd'; in show_data()
90 fmt[2] = '\0'; in show_data()
96 printf(fmt, value); in show_data()
Dsrcpos.h97 const char *fmt, va_list va);
99 const char *fmt, ...);
Ddtc-lexer.l289 static void lexical_error(const char *fmt, ...)
293 va_start(ap, fmt);
294 srcpos_verror(&yylloc, "Lexical error", fmt, ap);
Dsrcpos.c374 const char *fmt, va_list va) in srcpos_verror() argument
381 vfprintf(stderr, fmt, va); in srcpos_verror()
388 const char *fmt, ...) in srcpos_error() argument
392 va_start(va, fmt); in srcpos_error()
393 srcpos_verror(pos, prefix, fmt, va); in srcpos_error()
Dflattree.c115 #define ASM_EMIT_BELONG(f, fmt, ...) \ argument
117 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \
118 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \
119 fprintf((f), "\t.byte\t((" fmt ") >> 8) & 0xff\n", __VA_ARGS__); \
120 fprintf((f), "\t.byte\t(" fmt ") & 0xff\n", __VA_ARGS__); \
Dchecks.c17 #define TRACE(c, fmt, ...) do { } while (0) argument
64 const char *fmt, ...) in check_msg() argument
99 va_start(ap, fmt); in check_msg()
100 xavsprintf_append(&str, fmt, ap); in check_msg()
/scripts/mod/
Dmodpost.h107 buf_printf(struct buffer *buf, const char *fmt, ...);
202 void fatal(const char *fmt, ...);
203 void warn(const char *fmt, ...);
204 void merror(const char *fmt, ...);
Dmodpost.c57 PRINTF void fatal(const char *fmt, ...) in fatal() argument
63 va_start(arglist, fmt); in fatal()
64 vfprintf(stderr, fmt, arglist); in fatal()
70 PRINTF void warn(const char *fmt, ...) in warn() argument
76 va_start(arglist, fmt); in warn()
77 vfprintf(stderr, fmt, arglist); in warn()
81 PRINTF void merror(const char *fmt, ...) in merror() argument
87 va_start(arglist, fmt); in merror()
88 vfprintf(stderr, fmt, arglist); in merror()
2137 const char *fmt, ...) in buf_printf() argument
[all …]
/scripts/kconfig/
Dutil.c66 void str_printf(struct gstr *gs, const char *fmt, ...) in str_printf() argument
70 va_start(ap, fmt); in str_printf()
71 vsnprintf(s, sizeof(s), fmt, ap); in str_printf()
Dlkc.h68 void menu_warn(struct menu *menu, const char *fmt, ...);
106 void str_printf(struct gstr *gs, const char *fmt, ...);
Dconfdata.c171 static void conf_warning(const char *fmt, ...)
174 static void conf_message(const char *fmt, ...)
180 static void conf_warning(const char *fmt, ...) in conf_warning() argument
183 va_start(ap, fmt); in conf_warning()
185 vfprintf(stderr, fmt, ap); in conf_warning()
205 static void conf_message(const char *fmt, ...) in conf_message() argument
213 va_start(ap, fmt); in conf_message()
215 vsnprintf(buf, sizeof(buf), fmt, ap); in conf_message()
Dmenu.c21 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument
24 va_start(ap, fmt); in menu_warn()
26 vfprintf(stderr, fmt, ap); in menu_warn()
31 static void prop_warn(struct property *prop, const char *fmt, ...) in prop_warn() argument
34 va_start(ap, fmt); in prop_warn()
36 vfprintf(stderr, fmt, ap); in prop_warn()
Dnconf.c524 static void item_make(struct menu *menu, char tag, const char *fmt, ...) in item_make() argument
540 va_start(ap, fmt); in item_make()
543 fmt, ap); in item_make()
564 static void item_add_str(const char *fmt, ...) in item_add_str() argument
574 va_start(ap, fmt); in item_add_str()
575 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str()
Dparser.y16 #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) argument
/scripts/
Dextract-cert.c62 #define ERR(cond, fmt, ...) \ argument
67 err(1, fmt, ## __VA_ARGS__); \
Dpnmtologo.c79 static void die(const char *fmt, ...)
419 static void die(const char *fmt, ...) in die() argument
423 va_start(ap, fmt); in die()
424 vfprintf(stderr, fmt, ap); in die()
Dasn1_compiler.c314 #define verbose(fmt, ...) do { if (verbose_opt) printf(fmt, ## __VA_ARGS__); } while (0) argument
315 #define debug(fmt, ...) do { if (debug_opt) printf(fmt, ## __VA_ARGS__); } while (0) argument
1264 static void render_opcode(FILE *out, const char *fmt, ...) in render_opcode() argument
1270 va_start(va, fmt); in render_opcode()
1271 vfprintf(out, fmt, va); in render_opcode()
1278 static void render_more(FILE *out, const char *fmt, ...) in render_more() argument
1283 va_start(va, fmt); in render_more()
1284 vfprintf(out, fmt, va); in render_more()
Dsign-file.c105 #define ERR(cond, fmt, ...) \ argument
110 err(1, fmt, ## __VA_ARGS__); \
/scripts/kconfig/lxdialog/
Ddialog.h142 void item_make(const char *fmt, ...);
143 void item_add_str(const char *fmt, ...);
Dutil.c593 void item_make(const char *fmt, ...) in item_make() argument
605 va_start(ap, fmt); in item_make()
606 vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap); in item_make()
610 void item_add_str(const char *fmt, ...) in item_add_str() argument
617 va_start(ap, fmt); in item_add_str()
619 avail, fmt, ap); in item_add_str()
/scripts/gdb/linux/
Dtimerlist.py141 for member, fmt in members:
143 text += fmt.format(dev[member])
/scripts/genksyms/
Dgenksyms.c706 void error_with_pos(const char *fmt, ...) in error_with_pos() argument
713 va_start(args, fmt); in error_with_pos()
714 vfprintf(stderr, fmt, args); in error_with_pos()

12