Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 34) 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
114 if (!strcmp(argv[0], "y")) in do_error_if()
115 pperror("%s", argv[1]); in do_error_if()
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
127 printf("%s\n", argv[0]); in do_info()
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
[all …]
/scripts/gcc-plugins/
Darm_ssp_per_task_plugin.c68 const struct plugin_argument *argv = plugin_info->argv; in plugin_init() local
77 if (!strcmp(argv[i].key, "disable")) in plugin_init()
81 if (!argv[i].value) { in plugin_init()
83 plugin_name, argv[i].key); in plugin_init()
87 if (!strcmp(argv[i].key, "offset")) { in plugin_init()
88 canary_offset = atoi(argv[i].value); in plugin_init()
92 plugin_name, argv[i].key); in plugin_init()
Dstackleak_plugin.c530 const struct plugin_argument * const argv = plugin_info->argv; in plugin_init() local
570 if (!strcmp(argv[i].key, "track-min-size")) { in plugin_init()
571 if (!argv[i].value) { in plugin_init()
573 plugin_name, argv[i].key); in plugin_init()
577 track_frame_size = atoi(argv[i].value); in plugin_init()
580 plugin_name, argv[i].key, argv[i].value); in plugin_init()
583 } else if (!strcmp(argv[i].key, "arch")) { in plugin_init()
584 if (!argv[i].value) { in plugin_init()
586 plugin_name, argv[i].key); in plugin_init()
590 if (!strcmp(argv[i].value, "x86")) in plugin_init()
[all …]
Dstructleak_plugin.c214 const struct plugin_argument * const argv = plugin_info->argv; in plugin_init() local
230 if (!strcmp(argv[i].key, "disable")) { in plugin_init()
234 if (!strcmp(argv[i].key, "verbose")) { in plugin_init()
238 if (!strcmp(argv[i].key, "byref")) { in plugin_init()
242 if (!strcmp(argv[i].key, "byref-all")) { in plugin_init()
246 error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); in plugin_init()
Dsancov_plugin.c92 const struct plugin_argument * const argv = plugin_info->argv; in plugin_init() local
115 if (!strcmp(argv[i].key, "no-sancov")) { in plugin_init()
119 error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); in plugin_init()
Dlatent_entropy_plugin.c577 const struct plugin_argument * const argv = plugin_info->argv; in plugin_init() local
605 if (!(strcmp(argv[i].key, "disable"))) { in plugin_init()
609 error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); in plugin_init()
/scripts/dtc/
Dfdtoverlay.c95 int argc, char *argv[]) in do_fdtoverlay() argument
121 ovblob[i] = utilfdt_read(argv[i], &ov_len); in do_fdtoverlay()
123 fprintf(stderr, "\nFailed to read '%s'\n", argv[i]); in do_fdtoverlay()
129 argv[i], (unsigned long)ov_len, in do_fdtoverlay()
139 blob = apply_one(blob, ovblob[i], &buf_len, argv[i]); in do_fdtoverlay()
163 int main(int argc, char *argv[]) in main() argument
191 argv += optind; in main()
201 printf("overlay[%d] = %s\n", i, argv[i]); in main()
204 if (do_fdtoverlay(input_filename, output_filename, argc, argv)) in main()
Dfdtget.c291 int main(int argc, char *argv[]) in main() argument
302 int c = getopt(argc, argv, "d:hlpt:"); in main()
334 filename = argv[optind++]; in main()
338 argv += optind; 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()
331 filename = argv[optind++]; in main()
335 argv += optind; in main()
345 if (do_fdtput(&disp, filename, argv, argc)) in main()
/scripts/
Ddiffconfig72 if ("-h" in sys.argv or "--help" in sys.argv):
76 if "-m" in sys.argv:
78 sys.argv.remove("-m")
80 argc = len(sys.argv)
93 configa_filename = sys.argv[1]
94 configb_filename = sys.argv[2]
Dsign-file.c219 int main(int argc, char **argv) in main() argument
255 opt = getopt(argc, argv, "sdpk"); in main()
269 argv += optind; in main()
274 raw_sig_name = argv[0]; in main()
275 hash_algo = argv[1]; in main()
277 hash_algo = argv[0]; in main()
278 private_key_name = argv[1]; in main()
280 x509_name = argv[2]; in main()
281 module_name = argv[3]; in main()
282 if (argc == 5 && strcmp(argv[3], argv[4]) != 0) { in main()
[all …]
Dshow_delta83 for arg in sys.argv[1:]:
85 base_str = sys.argv[sys.argv.index("-b")+1]
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()
306 print_usage(argv[0]); in main()
351 print_usage(argv[0]); in main()
Dsorttable.c363 int main(int argc, char *argv[]) in main() argument
376 addr = mmap_file(argv[i], &size); in main()
382 if (do_file(argv[i], addr)) in main()
Djobserver-exec71 rc = subprocess.call(sys.argv[1:])
Dasn1_compiler.c560 int main(int argc, char **argv) in main() argument
574 if (strcmp(argv[1], "-v") == 0) in main()
576 else if (strcmp(argv[1], "-d") == 0) in main()
580 memmove(&argv[1], &argv[2], (argc - 2) * sizeof(char *)); in main()
586 argv[0]); in main()
590 filename = argv[1]; in main()
591 outputname = argv[2]; in main()
592 headername = argv[3]; in main()
625 p = strrchr(argv[1], '/'); in main()
626 p = p ? p + 1 : argv[1]; in main()
/scripts/selinux/genheaders/
Dgenheaders.c44 int main(int argc, char *argv[]) in main() argument
50 progname = argv[0]; in main()
55 fout = fopen(argv[1], "w"); in main()
58 argv[1], strerror(errno)); in main()
112 argv[1], strerror(errno)); in main()
116 fout = fopen(argv[2], "w"); in main()
119 argv[2], strerror(errno)); in main()
152 argv[2], strerror(errno)); in main()
/scripts/selinux/mdp/
Dmdp.c42 int main(int argc, char *argv[]) in main() argument
51 usage(argv[0]); in main()
52 arg = argv+1; in main()
53 if (argc==4 && strcmp(argv[1], "-m") == 0) { in main()
63 usage(argv[0]); in main()
266 usage(argv[0]); in main()
/scripts/gdb/linux/
Dmm.py292 argv = gdb.string_to_argv(arg)
293 pfn = int(argv[0])
306 argv = gdb.string_to_argv(arg)
307 struct_page_addr = int(argv[0], 16)
321 argv = gdb.string_to_argv(arg)
322 struct_page_addr = int(argv[0], 16)
336 argv = gdb.string_to_argv(arg)
337 struct_page_addr = int(argv[0], 16)
351 argv = gdb.string_to_argv(arg)
352 linear_addr = int(argv[0], 16)
[all …]
Dpage_owner.py51 argv = gdb.string_to_argv(args)
52 if len(argv) == 0:
54 elif len(argv) == 2:
55 if argv[0] == "--pfn":
56 pfn = int(argv[1])
Dlists.py130 argv = gdb.string_to_argv(arg)
131 if len(argv) != 1:
133 list_check(gdb.parse_and_eval(argv[0]))
Dslab.py262 argv = gdb.string_to_argv(arg)
265 if len(argv) == 3:
266 if argv[2] == '--alloc':
268 elif argv[2] == '--free':
272 if len(argv) >= 2 and argv[0] == '--cache_name':
273 slabtrace(alloc, argv[1])
Dproc.py154 argv = gdb.string_to_argv(arg)
155 if len(argv) >= 1:
157 pid = int(argv[0])
/scripts/basic/
Dfixdep.c415 int main(int argc, char *argv[]) in main() argument
423 depfile = argv[1]; in main()
424 target = argv[2]; in main()
425 cmdline = argv[3]; in main()
/scripts/mod/
Dmk_elfconfig.c8 main(int argc, char **argv) in main() argument

12