Home
last modified time | relevance | path

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

12

/scripts/kconfig/
Dpreprocess.c17 static char *expand_string_with_args(const char *in, int argc, char *argv[]);
109 char *(*func)(int argc, char *argv[]);
112 static char *do_error_if(int argc, char *argv[]) in do_error_if() argument
120 static char *do_filename(int argc, char *argv[]) in do_filename() argument
125 static char *do_info(int argc, char *argv[]) in do_info() argument
132 static char *do_lineno(int argc, char *argv[]) in do_lineno() argument
141 static char *do_shell(int argc, char *argv[]) in do_shell() argument
181 static char *do_warning_if(int argc, char *argv[]) in do_warning_if() argument
202 static char *function_expand(const char *name, int argc, char *argv[]) in function_expand() argument
212 if (argc < f->min_args) in function_expand()
[all …]
/scripts/dtc/
Dfdtoverlay.c95 int argc, char *argv[]) in do_fdtoverlay() argument
115 ovblob = xmalloc(sizeof(*ovblob) * argc); in do_fdtoverlay()
116 memset(ovblob, 0, sizeof(*ovblob) * argc); in do_fdtoverlay()
119 for (i = 0; i < argc; i++) { in do_fdtoverlay()
138 for (i = 0; i < argc; i++) { in do_fdtoverlay()
152 for (i = 0; i < argc; i++) { in do_fdtoverlay()
163 int main(int argc, char *argv[]) in main() argument
192 argc -= optind; in main()
194 if (argc <= 0) in main()
200 for (i = 0; i < argc; i++) in main()
[all …]
Dfdtget.c291 int main(int argc, char *argv[]) in main() argument
302 int c = getopt(argc, argv, "d:hlpt:"); in main()
333 if (optind < argc) in main()
339 argc -= optind; in main()
342 if (!argc) in main()
346 if (args_per_step == 2 && (argc % 2)) in main()
349 if (do_fdtget(&disp, filename, argv, argc, args_per_step)) in main()
Dfdtput.c286 int main(int argc, char *argv[]) in main() argument
295 int c = getopt(argc, argv, "chpt:v"); in main()
330 if (optind < argc) in main()
336 argc -= optind; in main()
339 if (argc < 1) in main()
341 if (argc < 2) in main()
345 if (do_fdtput(&disp, filename, argv, argc)) in main()
Ddtc.c162 int main(int argc, char *argv[]) in main() argument
269 if (argc > (optind+1)) in main()
271 else if (argc < (optind+1)) in main()
Dutil.h220 #define util_getopt_long() getopt_long(argc, argv, usage_short_opts, \
/scripts/
Dbin2c.c12 int main(int argc, char *argv[]) in main() argument
16 if (argc > 1) in main()
18 argv[1], argc > 2 ? argv[2] : ""); in main()
31 if (argc > 1) in main()
Ddiffconfig80 argc = len(sys.argv)
81 if not (argc==1 or argc == 3):
85 if argc == 1:
Dsign-file.c219 int main(int argc, char **argv) in main() argument
255 opt = getopt(argc, argv, "sdpk"); in main()
268 argc -= optind; in main()
270 if (argc < 4 || argc > 5) in main()
282 if (argc == 5 && strcmp(argv[3], argv[4]) != 0) { in main()
Dbloat-o-meter79 def print_result(symboltype, symbolformat, argc): argument
81 calc(sys.argv[argc - 1], sys.argv[argc], symbolformat)
Dextract-cert.c99 int main(int argc, char **argv) in main() argument
111 if (argc != 3) in main()
Drecordmcount.c630 int main(int argc, char *argv[]) in main() argument
638 while ((c = getopt(argc, argv, "w")) >= 0) { in main()
649 if ((argc - optind) < 1) { in main()
655 for (i = optind; i < argc; i++) { in main()
Dsorttable.c397 int main(int argc, char *argv[]) in main() argument
403 if (argc < 2) { in main()
409 for (i = 1; i < argc; i++) { in main()
Dkallsyms.c766 int main(int argc, char **argv) in main() argument
768 if (argc >= 2) { in main()
770 for (i = 1; i < argc; i++) { in main()
780 } else if (argc != 1) in main()
Dinsert-sys-cert.c273 int main(int argc, char **argv) in main() argument
289 while ((opt = getopt(argc, argv, "b:c:s:")) != -1) { in main()
Dunifdef.c241 main(int argc, char *argv[]) in main() argument
245 while ((opt = getopt(argc, argv, "i:D:U:I:o:bBcdeKklnsStV")) != -1) in main()
311 argc -= optind; in main()
315 if (argc > 1) { in main()
317 } else if (argc == 1 && strcmp(*argv, "-") != 0) { in main()
/scripts/gcc-plugins/
Darm_ssp_per_task_plugin.c73 const int argc = plugin_info->argc; in plugin_init() local
83 for (i = 0; i < argc; ++i) { in plugin_init()
Dsancov_plugin.c91 const int argc = plugin_info->argc; in plugin_init() local
114 for (i = 0; i < argc; ++i) { in plugin_init()
Dstructleak_plugin.c215 const int argc = plugin_info->argc; in plugin_init() local
231 for (i = 0; i < argc; ++i) { in plugin_init()
Dstackleak_plugin.c523 const int argc = plugin_info->argc; in plugin_init() local
563 for (i = 0; i < argc; i++) { in plugin_init()
Dlatent_entropy_plugin.c576 const int argc = plugin_info->argc; in plugin_init() local
604 for (i = 0; i < argc; ++i) { in plugin_init()
/scripts/selinux/mdp/
Dmdp.c42 int main(int argc, char *argv[]) in main() argument
50 if (argc < 3) in main()
53 if (argc==4 && strcmp(argv[1], "-m") == 0) { in main()
/scripts/mod/
Dmk_elfconfig.c8 main(int argc, char **argv) in main() argument
/scripts/selinux/genheaders/
Dgenheaders.c44 int main(int argc, char *argv[]) in main() argument
52 if (argc < 3) in main()
/scripts/basic/
Dfixdep.c354 int main(int argc, char *argv[]) in main() argument
359 if (argc != 4) in main()

12