Home
last modified time | relevance | path

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

/scripts/dtc/
Dutil.c36 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument
47 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append()
52 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
58 int xasprintf_append(char **strp, const char *fmt, ...) in xasprintf_append() argument
63 va_start(ap, fmt); in xasprintf_append()
64 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append()
70 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
77 va_start(ap, fmt); in xasprintf()
78 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
334 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
[all …]
Dutil.h65 extern int PRINTF(2, 3) xasprintf(char **strp, const char *fmt, ...);
66 extern int PRINTF(2, 3) xasprintf_append(char **strp, const char *fmt, ...);
67 extern int xavsprintf_append(char **strp, const char *fmt, va_list ap);
155 int utilfdt_decode_type(const char *fmt, int *type, int *size);
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()
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()
Dsrcpos.h97 const char *fmt, va_list va);
99 const char *fmt, ...);
Ddtc-lexer.l288 static void lexical_error(const char *fmt, ...)
292 va_start(ap, fmt);
293 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.h108 buf_printf(struct buffer *buf, const char *fmt, ...);
211 void modpost_log(enum loglevel loglevel, const char *fmt, ...);
226 #define warn(fmt, args...) modpost_log(LOG_WARN, fmt, ##args) argument
227 #define error(fmt, args...) modpost_log(LOG_ERROR, fmt, ##args) argument
228 #define fatal(fmt, args...) modpost_log(LOG_FATAL, fmt, ##args) argument
Dmodpost.c58 modpost_log(enum loglevel loglevel, const char *fmt, ...) in modpost_log() argument
78 va_start(arglist, fmt); in modpost_log()
79 vfprintf(stderr, fmt, arglist); in modpost_log()
2140 const char *fmt, ...) in buf_printf() argument
2146 va_start(ap, fmt); in buf_printf()
2147 len = vsnprintf(tmp, SZ, fmt, ap); in buf_printf()
/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.h92 void str_printf(struct gstr *gs, const char *fmt, ...);
97 void menu_warn(struct menu *menu, 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.c525 static void item_make(struct menu *menu, char tag, const char *fmt, ...) in item_make() argument
541 va_start(ap, fmt); in item_make()
544 fmt, ap); in item_make()
565 static void item_add_str(const char *fmt, ...) in item_add_str() argument
575 va_start(ap, fmt); in item_add_str()
576 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.c71 #define ERR(cond, fmt, ...) \ argument
76 err(1, fmt, ## __VA_ARGS__); \
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.c112 #define ERR(cond, fmt, ...) \ argument
117 err(1, fmt, ## __VA_ARGS__); \
Dcheckpatch.pl6869 my $fmt = get_quoted_string($line, $rawline);
6870 $fmt =~ s/%%//g;
6871 if ($fmt !~ /%/) {
6894 my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0));
6895 $fmt =~ s/%%//g;
6897 while ($fmt =~ /(\%[\*\d\.]*p(\w)(\w*))/g) {
/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()