Home
last modified time | relevance | path

Searched refs:ap (Results 1 – 17 of 17) sorted by relevance

/scripts/dtc/
Dutil.h34 va_list ap; in die() local
36 va_start(ap, str); in die()
38 vfprintf(stderr, str, ap); in die()
39 va_end(ap); in die()
67 extern int xavsprintf_append(char **strp, const char *fmt, va_list ap);
Dutil.c36 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument
46 va_copy(ap_copy, ap); in xavsprintf_append()
52 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
61 va_list ap; in xasprintf_append() local
63 va_start(ap, fmt); in xasprintf_append()
64 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append()
65 va_end(ap); in xasprintf_append()
73 va_list ap; in xasprintf() local
77 va_start(ap, fmt); in xasprintf()
78 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
[all …]
Ddt-extract-compatibles73 ap = argparse.ArgumentParser() variable
74 ap.add_argument("cfile", type=str, nargs='*', help="C source files or directories to parse")
75ap.add_argument('-H', '--with-filename', help="Print filename with compatibles", action="store_tru…
76 args = ap.parse_args()
Ddtc-lexer.l290 va_list ap;
292 va_start(ap, fmt);
293 srcpos_verror(&yylloc, "Lexical error", fmt, ap);
294 va_end(ap);
Dchecks.c66 va_list ap; in check_msg() local
99 va_start(ap, fmt); in check_msg()
100 xavsprintf_append(&str, fmt, ap); in check_msg()
101 va_end(ap); in check_msg()
/scripts/kconfig/
Dutil.c68 va_list ap; in str_printf() local
70 va_start(ap, fmt); in str_printf()
71 vsnprintf(s, sizeof(s), fmt, ap); in str_printf()
73 va_end(ap); in str_printf()
Dparser.y537 va_list ap; in zconfprint() local
540 va_start(ap, err); in zconfprint()
541 vfprintf(stderr, err, ap); in zconfprint()
542 va_end(ap); in zconfprint()
548 va_list ap; in zconf_error() local
552 va_start(ap, err); in zconf_error()
553 vfprintf(stderr, err, ap); in zconf_error()
554 va_end(ap); in zconf_error()
Dmenu.c24 va_list ap; in menu_warn() local
25 va_start(ap, fmt); in menu_warn()
27 vfprintf(stderr, fmt, ap); in menu_warn()
29 va_end(ap); in menu_warn()
34 va_list ap; in prop_warn() local
35 va_start(ap, fmt); in prop_warn()
37 vfprintf(stderr, fmt, ap); in prop_warn()
39 va_end(ap); in prop_warn()
Dconfdata.c160 va_list ap; in conf_warning() local
161 va_start(ap, fmt); in conf_warning()
163 vfprintf(stderr, fmt, ap); in conf_warning()
165 va_end(ap); in conf_warning()
185 va_list ap; in conf_message() local
191 va_start(ap, fmt); in conf_message()
193 vsnprintf(buf, sizeof(buf), fmt, ap); in conf_message()
195 va_end(ap); in conf_message()
Dpreprocess.c22 va_list ap; in pperror() local
25 va_start(ap, format); in pperror()
26 vfprintf(stderr, format, ap); in pperror()
27 va_end(ap); in pperror()
Dnconf.c531 va_list ap; in item_make() local
545 va_start(ap, fmt); in item_make()
548 fmt, ap); in item_make()
549 va_end(ap); in item_make()
571 va_list ap; in item_add_str() local
579 va_start(ap, fmt); in item_add_str()
580 vsnprintf(new_str, sizeof(new_str), fmt, ap); in item_add_str()
581 va_end(ap); in item_add_str()
Dnconf.gui.c194 va_list ap; in btn_dialog() local
210 va_start(ap, btn_num); in btn_dialog()
212 btn = va_arg(ap, char *); in btn_dialog()
216 va_end(ap); in btn_dialog()
/scripts/
Dspdxcheck.py324 ap = ArgumentParser(description='SPDX expression checker') variable
325ap.add_argument('path', nargs='*', help='Check path or file. If not given full git tree scan. For …
326 ap.add_argument('-d', '--dirs', action='store_true',
328 ap.add_argument('-D', '--depth', type=int, default=-1,
330 ap.add_argument('-e', '--exclude',
332 ap.add_argument('-f', '--files', action='store_true',
334 ap.add_argument('-m', '--maxlines', type=int, default=15,
336 ap.add_argument('-v', '--verbose', action='store_true', help='Verbose statistics output')
337 args = ap.parse_args()
Dunifdef.c1206 va_list ap; in debug() local
1209 va_start(ap, msg); in debug()
1210 vwarnx(msg, ap); in debug()
1211 va_end(ap); in debug()
/scripts/kconfig/lxdialog/
Dutil.c595 va_list ap; in item_make() local
605 va_start(ap, fmt); in item_make()
606 vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap); in item_make()
607 va_end(ap); in item_make()
612 va_list ap; in item_add_str() local
617 va_start(ap, fmt); in item_add_str()
619 avail, fmt, ap); in item_add_str()
621 va_end(ap); in item_add_str()
/scripts/genksyms/
Dgenksyms.c352 va_list ap; in concat_list() local
357 for (va_start(ap, start); (n = va_arg(ap, struct string_list *));) { in concat_list()
363 va_end(ap); in concat_list()
/scripts/mod/
Dmodpost.c1859 va_list ap; in buf_printf() local
1861 va_start(ap, fmt); in buf_printf()
1862 len = vsnprintf(tmp, SZ, fmt, ap); in buf_printf()
1864 va_end(ap); in buf_printf()