/scripts/kconfig/ |
D | preprocess.c | 17 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/ |
D | arm_ssp_per_task_plugin.c | 68 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()
|
D | stackleak_plugin.c | 530 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 …]
|
D | structleak_plugin.c | 214 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()
|
D | sancov_plugin.c | 92 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()
|
D | latent_entropy_plugin.c | 577 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/ |
D | fdtoverlay.c | 95 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()
|
D | fdtget.c | 291 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()
|
D | fdtput.c | 286 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/ |
D | diffconfig | 72 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]
|
D | sign-file.c | 219 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 …]
|
D | show_delta | 83 for arg in sys.argv[1:]: 85 base_str = sys.argv[sys.argv.index("-b")+1]
|
D | insert-sys-cert.c | 273 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()
|
D | sorttable.c | 363 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()
|
D | jobserver-exec | 71 rc = subprocess.call(sys.argv[1:])
|
D | asn1_compiler.c | 560 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/ |
D | genheaders.c | 44 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/ |
D | mdp.c | 42 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/ |
D | mm.py | 292 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 …]
|
D | page_owner.py | 51 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])
|
D | lists.py | 130 argv = gdb.string_to_argv(arg) 131 if len(argv) != 1: 133 list_check(gdb.parse_and_eval(argv[0]))
|
D | slab.py | 262 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])
|
D | proc.py | 154 argv = gdb.string_to_argv(arg) 155 if len(argv) >= 1: 157 pid = int(argv[0])
|
/scripts/basic/ |
D | fixdep.c | 415 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/ |
D | mk_elfconfig.c | 8 main(int argc, char **argv) in main() argument
|