Home
last modified time | relevance | path

Searched refs:long_opts (Results 1 – 2 of 2) sorted by relevance

/tools/testing/memblock/tests/
A Dcommon.c17 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()
/tools/testing/selftests/net/
A Dnettest.c1940 static struct option long_opts[] = { variable
2032 while ((rc = getopt_long(argc, argv, GETOPT_STR, long_opts, NULL)) != -1) { in main()

Completed in 7 milliseconds