Home
last modified time | relevance | path

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

12

/scripts/dtc/
Dutil.c315 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
319 if (!*fmt) in utilfdt_decode_type()
324 if (strchr("hlLb", *fmt)) { in utilfdt_decode_type()
325 qualifier = *fmt++; in utilfdt_decode_type()
326 if (qualifier == *fmt) { in utilfdt_decode_type()
327 switch (*fmt++) { in utilfdt_decode_type()
337 if ((*fmt == '\0') || !strchr("iuxs", *fmt)) in utilfdt_decode_type()
341 if (*fmt != 's') in utilfdt_decode_type()
345 *type = *fmt++; in utilfdt_decode_type()
348 if (*fmt) in utilfdt_decode_type()
Dsrcpos.c294 srcpos_verror(struct srcpos *pos, char const *fmt, va_list va) in srcpos_verror() argument
301 vfprintf(stderr, fmt, va); in srcpos_verror()
306 srcpos_error(struct srcpos *pos, char const *fmt, ...) in srcpos_error() argument
310 va_start(va, fmt); in srcpos_error()
311 srcpos_verror(pos, fmt, va); in srcpos_error()
317 srcpos_warn(struct srcpos *pos, char const *fmt, ...) in srcpos_warn() argument
321 va_start(va, fmt); in srcpos_warn()
326 vfprintf(stderr, fmt, va); in srcpos_warn()
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-parser.y30 extern void print_error(char const *fmt, ...);
473 void print_error(char const *fmt, ...)
477 va_start(va, fmt);
478 srcpos_verror(&yylloc, fmt, va);
Ddtc.h41 #define debug(fmt,args...) printf(fmt, ##args) argument
43 #define debug(fmt,args...) argument
Dutil.h159 int utilfdt_decode_type(const char *fmt, int *type, int *size);
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__); \
Dchecks.c31 #define TRACE(c, fmt, ...) do { } while (0) argument
102 static inline void check_msg(struct check *c, const char *fmt, ...) __attribute__((format (printf, …
104 static inline void check_msg(struct check *c, const char *fmt, ...) in check_msg() argument
107 va_start(ap, fmt); in check_msg()
113 vfprintf(stderr, fmt, ap); in check_msg()
Ddtc-parser.tab.c_shipped76 extern void print_error(char const *fmt, ...);
2307 void print_error(char const *fmt, ...)
2311 va_start(va, fmt);
2312 srcpos_verror(&yylloc, fmt, va);
/scripts/mod/
Dmodpost.h100 buf_printf(struct buffer *buf, const char *fmt, ...);
185 void fatal(const char *fmt, ...);
186 void warn(const char *fmt, ...);
187 void merror(const char *fmt, ...);
Dmodpost.c51 PRINTF void fatal(const char *fmt, ...) in fatal() argument
57 va_start(arglist, fmt); in fatal()
58 vfprintf(stderr, fmt, arglist); in fatal()
64 PRINTF void warn(const char *fmt, ...) in warn() argument
70 va_start(arglist, fmt); in warn()
71 vfprintf(stderr, fmt, arglist); in warn()
75 PRINTF void merror(const char *fmt, ...) in merror() argument
81 va_start(arglist, fmt); in merror()
82 vfprintf(stderr, fmt, arglist); in merror()
1813 const char *fmt, ...) in buf_printf() argument
[all …]
/scripts/kconfig/
Dutil.c125 void str_printf(struct gstr *gs, const char *fmt, ...) in str_printf() argument
129 va_start(ap, fmt); in str_printf()
130 vsnprintf(s, sizeof(s), fmt, ap); in str_printf()
Dconfdata.c19 static void conf_warning(const char *fmt, ...)
22 static void conf_message(const char *fmt, ...)
30 static void conf_warning(const char *fmt, ...) in conf_warning() argument
33 va_start(ap, fmt); in conf_warning()
35 vfprintf(stderr, fmt, ap); in conf_warning()
41 static void conf_default_message_callback(const char *fmt, va_list ap) in conf_default_message_callback() argument
44 vprintf(fmt, ap); in conf_default_message_callback()
48 static void (*conf_message_callback) (const char *fmt, va_list ap) =
50 void conf_set_message_callback(void (*fn) (const char *fmt, va_list ap)) in conf_set_message_callback() argument
55 static void conf_message(const char *fmt, ...) in conf_message() argument
[all …]
Dlkc.h109 void menu_warn(struct menu *menu, const char *fmt, ...);
143 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 P(conf_set_message_callback, void,(void (*fn)(const char *fmt, va_list ap)));
Dzconf.y16 #define printd(mask, fmt...) if (cdebug & (mask)) printf(fmt) argument
Dmconf.c775 static void conf_message_callback(const char *fmt, va_list ap) in conf_message_callback() argument
779 vsnprintf(buf, sizeof(buf), fmt, ap); in conf_message_callback()
/scripts/
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.c1194 static void render_opcode(FILE *out, const char *fmt, ...) in render_opcode() argument
1200 va_start(va, fmt); in render_opcode()
1201 vfprintf(out, fmt, va); in render_opcode()
1208 static void render_more(FILE *out, const char *fmt, ...) in render_more() argument
1213 va_start(va, fmt); in render_more()
1214 vfprintf(out, fmt, va); in render_more()
/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.c713 void error_with_pos(const char *fmt, ...) in error_with_pos() argument
720 va_start(args, fmt); in error_with_pos()
721 vfprintf(stderr, fmt, args); in error_with_pos()

12