Home
last modified time | relevance | path

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

12

/scripts/dtc/
Dutil.c50 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
62 va_start(ap, fmt); in xasprintf()
63 n = vsnprintf(p, size, fmt, ap); in xasprintf()
340 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
344 if (!*fmt) in utilfdt_decode_type()
349 if (strchr("hlLb", *fmt)) { in utilfdt_decode_type()
350 qualifier = *fmt++; in utilfdt_decode_type()
351 if (qualifier == *fmt) { in utilfdt_decode_type()
352 switch (*fmt++) { in utilfdt_decode_type()
362 if ((*fmt == '\0') || !strchr("iuxs", *fmt)) in utilfdt_decode_type()
[all …]
Dsrcpos.c275 const char *fmt, va_list va) in srcpos_verror() argument
282 vfprintf(stderr, fmt, va); in srcpos_verror()
289 const char *fmt, ...) in srcpos_error() argument
293 va_start(va, fmt); in srcpos_error()
294 srcpos_verror(pos, prefix, fmt, va); in srcpos_error()
Dfdtget.c74 char fmt[3]; in show_data() local
102 fmt[0] = '%'; in show_data()
103 fmt[1] = disp->type ? disp->type : 'd'; in show_data()
104 fmt[2] = '\0'; in show_data()
110 printf(fmt, value); in show_data()
Dfdtput.c79 char fmt[3]; in encode_value() local
86 fmt[0] = '%'; in encode_value()
87 fmt[1] = disp->type ? disp->type : 'd'; in encode_value()
88 fmt[2] = '\0'; in encode_value()
114 sscanf(*arg, fmt, &ival); in encode_value()
Ddtc-lexer.l295 static void lexical_error(const char *fmt, ...)
299 va_start(ap, fmt);
300 srcpos_verror(&yylloc, "Lexical error", fmt, ap);
Dsrcpos.h110 const char *fmt, va_list va)
113 const char *fmt, ...)
Dutil.h62 extern int xasprintf(char **strp, const char *fmt, ...);
162 int utilfdt_decode_type(const char *fmt, int *type, int *size);
Dchecks.c31 #define TRACE(c, fmt, ...) do { } while (0) argument
76 static inline void check_msg(struct check *c, const char *fmt, ...) __attribute__((format (printf, …
78 static inline void check_msg(struct check *c, const char *fmt, ...) in check_msg() argument
81 va_start(ap, fmt); in check_msg()
87 vfprintf(stderr, fmt, ap); in check_msg()
Dflattree.c130 #define ASM_EMIT_BELONG(f, fmt, ...) \ argument
132 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \
133 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \
134 fprintf((f), "\t.byte\t((" fmt ") >> 8) & 0xff\n", __VA_ARGS__); \
135 fprintf((f), "\t.byte\t(" fmt ") & 0xff\n", __VA_ARGS__); \
/scripts/mod/
Dmodpost.h106 buf_printf(struct buffer *buf, const char *fmt, ...);
191 void fatal(const char *fmt, ...);
192 void warn(const char *fmt, ...);
193 void merror(const char *fmt, ...);
Dmodpost.c52 PRINTF void fatal(const char *fmt, ...) in fatal() argument
58 va_start(arglist, fmt); in fatal()
59 vfprintf(stderr, fmt, arglist); in fatal()
65 PRINTF void warn(const char *fmt, ...) in warn() argument
71 va_start(arglist, fmt); in warn()
72 vfprintf(stderr, fmt, arglist); in warn()
76 PRINTF void merror(const char *fmt, ...) in merror() argument
82 va_start(arglist, fmt); in merror()
83 vfprintf(stderr, fmt, arglist); in merror()
2033 const char *fmt, ...) in buf_printf() argument
[all …]
/scripts/kconfig/
Dutil.c115 void str_printf(struct gstr *gs, const char *fmt, ...) in str_printf() argument
119 va_start(ap, fmt); in str_printf()
120 vsnprintf(s, sizeof(s), fmt, ap); in str_printf()
Dconfdata.c24 static void conf_warning(const char *fmt, ...)
27 static void conf_message(const char *fmt, ...)
35 static void conf_warning(const char *fmt, ...) in conf_warning() argument
38 va_start(ap, fmt); in conf_warning()
40 vfprintf(stderr, fmt, ap); in conf_warning()
46 static void conf_default_message_callback(const char *fmt, va_list ap) in conf_default_message_callback() argument
49 vprintf(fmt, ap); in conf_default_message_callback()
53 static void (*conf_message_callback) (const char *fmt, va_list ap) =
55 void conf_set_message_callback(void (*fn) (const char *fmt, va_list ap)) in conf_set_message_callback() argument
60 static void conf_message(const char *fmt, ...) in conf_message() argument
[all …]
Dlkc.h99 void menu_warn(struct menu *menu, const char *fmt, ...);
131 void str_printf(struct gstr *gs, const char *fmt, ...);
Dnconf.c523 static void item_make(struct menu *menu, char tag, const char *fmt, ...) in item_make() argument
539 va_start(ap, fmt); in item_make()
542 fmt, ap); in item_make()
563 static void item_add_str(const char *fmt, ...) in item_add_str() argument
573 va_start(ap, fmt); in item_add_str()
574 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str()
1211 static void conf_message_callback(const char *fmt, va_list ap) in conf_message_callback() argument
1215 vsnprintf(buf, sizeof(buf), fmt, ap); in conf_message_callback()
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()
Dlkc_proto.h12 void conf_set_message_callback(void (*fn)(const char *fmt, va_list ap));
Dzconf.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.c318 #define verbose(fmt, ...) do { if (verbose_opt) printf(fmt, ## __VA_ARGS__); } while (0) argument
319 #define debug(fmt, ...) do { if (debug_opt) printf(fmt, ## __VA_ARGS__); } while (0) argument
1268 static void render_opcode(FILE *out, const char *fmt, ...) in render_opcode() argument
1274 va_start(va, fmt); in render_opcode()
1275 vfprintf(out, fmt, va); in render_opcode()
1282 static void render_more(FILE *out, const char *fmt, ...) in render_more() argument
1287 va_start(va, fmt); in render_more()
1288 vfprintf(out, fmt, va); in render_more()
Dsign-file.c99 #define ERR(cond, fmt, ...) \ argument
104 err(1, fmt, ## __VA_ARGS__); \
/scripts/kconfig/lxdialog/
Ddialog.h161 void item_make(const char *fmt, ...);
162 void item_add_str(const char *fmt, ...);
Dutil.c606 void item_make(const char *fmt, ...) in item_make() argument
618 va_start(ap, fmt); in item_make()
619 vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap); in item_make()
623 void item_add_str(const char *fmt, ...) in item_add_str() argument
630 va_start(ap, fmt); in item_add_str()
632 avail, fmt, ap); in item_add_str()
/scripts/genksyms/
Dgenksyms.c715 void error_with_pos(const char *fmt, ...) in error_with_pos() argument
722 va_start(args, fmt); in error_with_pos()
723 vfprintf(stderr, fmt, args); in error_with_pos()

12