Searched refs:long_opts (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/scripts/dtc/ |
D | util.c | 428 struct option const long_opts[], in util_usage() argument 444 for (i = 0; long_opts[i].name; ++i) { in util_usage() 446 int l = strlen(long_opts[i].name) + 1; in util_usage() 447 if (long_opts[i].has_arg == a_argument) in util_usage() 453 for (i = 0; long_opts[i].name; ++i) { in util_usage() 458 if (long_opts[i].val > '~') in util_usage() 461 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage() 464 if (long_opts[i].has_arg == no_argument) in util_usage() 465 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage() 467 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage() [all …]
|
D | util.h | 204 struct option const long_opts[],
|
/linux-6.12.1/tools/testing/memblock/tests/ |
D | common.c | 17 static const struct option long_opts[] = { variable 123 BUILD_BUG_ON(ARRAY_SIZE(help_opts) != ARRAY_SIZE(long_opts) - 1); in usage() 127 for (int i = 0; long_opts[i].name; i++) { in usage() 128 printf(" -%c, --%-12s\t%s\n", long_opts[i].val, in usage() 129 long_opts[i].name, help_opts[i]); in usage() 139 while ((c = getopt_long_only(argc, argv, short_opts, long_opts, in parse_args()
|
/linux-6.12.1/scripts/kconfig/ |
D | conf.c | 607 static const struct option long_opts[] = { variable 667 while ((opt = getopt_long(ac, av, "hs", long_opts, NULL)) != -1) { in main()
|
/linux-6.12.1/scripts/genksyms/ |
D | genksyms.c | 736 struct option long_opts[] = { in main() local 750 &long_opts[0], NULL)) != EOF) in main()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | nettest.c | 1940 static struct option long_opts[] = { variable 2032 while ((rc = getopt_long(argc, argv, GETOPT_STR, long_opts, NULL)) != -1) { in main()
|