Home
last modified time | relevance | path

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

123

/external/dtc/
Dutil.c423 struct option const long_opts[], in util_usage() argument
439 for (i = 0; long_opts[i].name; ++i) { in util_usage()
441 int l = strlen(long_opts[i].name) + 1; in util_usage()
442 if (long_opts[i].has_arg == a_argument) in util_usage()
448 for (i = 0; long_opts[i].name; ++i) { in util_usage()
453 if (long_opts[i].val > '~') in util_usage()
456 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
459 if (long_opts[i].has_arg == no_argument) in util_usage()
460 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
462 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
[all …]
/external/libnl/lib/cli/qdisc/
Dhtb.c41 static struct option long_opts[] = { in htb_parse_qdisc_argv() local
48 c = getopt_long(argc, argv, "hv", long_opts, &optidx); in htb_parse_qdisc_argv()
102 static struct option long_opts[] = { in htb_parse_class_argv() local
113 c = getopt_long(argc, argv, "h", long_opts, &optidx); in htb_parse_class_argv()
Dingress.c33 static struct option long_opts[] = { in ingress_parse_argv() local
38 c = getopt_long(argc, argv, "h", long_opts, &optidx); in ingress_parse_argv()
Dblackhole.c32 static struct option long_opts[] = { in blackhole_parse_argv() local
37 c = getopt_long(argc, argv, "h", long_opts, &optidx); in blackhole_parse_argv()
Dpfifo.c40 static struct option long_opts[] = { in pfifo_parse_argv() local
46 c = getopt_long(argc, argv, "h", long_opts, &optidx); in pfifo_parse_argv()
Dbfifo.c40 static struct option long_opts[] = { in bfifo_parse_argv() local
46 c = getopt_long(argc, argv, "h", long_opts, &optidx); in bfifo_parse_argv()
Dplug.c61 static struct option long_opts[] = { in plug_parse_argv() local
70 c = getopt_long(argc, argv, "h", long_opts, &optidx); in plug_parse_argv()
Dfq_codel.c49 static struct option long_opts[] = { in fq_codel_parse_argv() local
59 c = getopt_long(argc, argv, "h", long_opts, &optidx); in fq_codel_parse_argv()
/external/libnl/lib/cli/cls/
Dcgroup.c37 static struct option long_opts[] = { in parse_argv() local
43 c = getopt_long(argc, argv, "he:", long_opts, &optidx); in parse_argv()
Dbasic.c46 static struct option long_opts[] = { in parse_argv() local
53 c = getopt_long(argc, argv, "ht:e:", long_opts, &optidx); in parse_argv()
/external/libnl/src/
Dnl-neightbl-list.c45 static struct option long_opts[] = { in main() local
52 c = getopt_long(argc, argv, "f:hv", long_opts, &optidx); in main()
Dgenl-ctrl-list.c48 static struct option long_opts[] = { in main() local
56 c = getopt_long(argc, argv, "df:hv", long_opts, &optidx); in main()
Dnl-classid-lookup.c44 static struct option long_opts[] = { in main() local
52 c = getopt_long(argc, argv, "hvr", long_opts, &optidx); in main()
Dnl-rule-list.c54 static struct option long_opts[] = { in main() local
62 c = getopt_long(argc, argv, "f:hv", long_opts, &optidx); in main()
Dnl-neigh-list.c58 static struct option long_opts[] = { in main() local
70 c = getopt_long(argc, argv, "f:hva:l:d:", long_opts, &optidx); in main()
Didiag-socket-details.c52 static struct option long_opts[] = { in main() local
61 c = getopt_long(argc, argv, "hv", long_opts, &optidx); in main()
Dnl-link-list.c60 static struct option long_opts[] = { in main() local
74 c = getopt_long(argc, argv, "hvn:i:", long_opts, &optidx); in main()
Dnl-neigh-add.c67 static struct option long_opts[] = { in main() local
80 c = getopt_long(argc, argv, "qhva:l:d:", long_opts, &optidx); in main()
Dnl-class-list.c83 static struct option long_opts[] = { in main() local
95 c = getopt_long(argc, argv, "hvd:p:i:k:", long_opts, &optidx); in main()
Dnl-addr-add.c71 static struct option long_opts[] = { in main() local
88 c = getopt_long(argc, argv, "qhva:d:", long_opts, &optidx); in main()
Dnl-neigh-delete.c84 static struct option long_opts[] = { in main() local
98 c = getopt_long(argc, argv, "qhva:l:d:", long_opts, &optidx); in main()
Dnl-link-stats.c92 static struct option long_opts[] = { in main() local
101 c = getopt_long(argc, argv, "lhvn:i:", long_opts, &optidx); in main()
Dnl-fib-lookup.c41 static struct option long_opts[] = { in main() local
51 c = getopt_long(argc, argv, "t:f:s:T:h", long_opts, &idx); in main()
/external/python/cpython2/Lib/distutils/
Dfancy_getopt.py76 self.long_opts = []
151 self.long_opts = []
180 self.long_opts.append(long)
198 self.long_opts[-1] = long # XXX redundant?!
257 opts, args = getopt.getopt(args, short_opts, self.long_opts)
/external/vboot_reference/futility/
Dcmd_dump_kernel_config.c20 static const struct option long_opts[] = { variable
41 while (((i = getopt_long(argc, argv, ":", long_opts, NULL)) != -1) && in do_dump_kernel_config()

123