/external/u-boot/scripts/dtc/ |
D | util.c | 423 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/dtc/ |
D | util.c | 423 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/u-boot/arch/sandbox/cpu/ |
D | os.c | 211 static struct option *long_opts; variable 224 if (short_opts || long_opts) in os_parse_args() 232 long_opts = os_malloc(sizeof(*long_opts) * num_options); in os_parse_args() 233 if (!short_opts || !long_opts) in os_parse_args() 245 long_opts[i].name = sb_opt[i]->flag; in os_parse_args() 246 long_opts[i].has_arg = sb_opt[i]->has_arg ? in os_parse_args() 248 long_opts[i].flag = NULL; in os_parse_args() 251 short_opts[si++] = long_opts[i].val = sb_opt[i]->flag_short; in os_parse_args() 252 if (long_opts[i].has_arg == required_argument) in os_parse_args() 255 long_opts[i].val = sb_opt[i]->flag_short = hidden_short_opt++; in os_parse_args() [all …]
|
/external/libnl/lib/cli/qdisc/ |
D | htb.c | 41 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()
|
D | blackhole.c | 32 static struct option long_opts[] = { in blackhole_parse_argv() local 37 c = getopt_long(argc, argv, "h", long_opts, &optidx); in blackhole_parse_argv()
|
D | ingress.c | 33 static struct option long_opts[] = { in ingress_parse_argv() local 38 c = getopt_long(argc, argv, "h", long_opts, &optidx); in ingress_parse_argv()
|
D | pfifo.c | 40 static struct option long_opts[] = { in pfifo_parse_argv() local 46 c = getopt_long(argc, argv, "h", long_opts, &optidx); in pfifo_parse_argv()
|
D | bfifo.c | 40 static struct option long_opts[] = { in bfifo_parse_argv() local 46 c = getopt_long(argc, argv, "h", long_opts, &optidx); in bfifo_parse_argv()
|
D | plug.c | 61 static struct option long_opts[] = { in plug_parse_argv() local 70 c = getopt_long(argc, argv, "h", long_opts, &optidx); in plug_parse_argv()
|
D | fq_codel.c | 49 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/u-boot/tools/ |
D | fdtgrep.c | 1001 const char *short_opts, struct option const long_opts[], in util_usage() argument 1017 for (i = 0; long_opts[i].name; ++i) { in util_usage() 1019 int l = strlen(long_opts[i].name) + 1; in util_usage() 1020 if (long_opts[i].has_arg == a_argument) in util_usage() 1026 for (i = 0; long_opts[i].name; ++i) { in util_usage() 1031 if (long_opts[i].val > '~') in util_usage() 1034 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage() 1037 if (long_opts[i].has_arg == no_argument) { in util_usage() 1038 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage() 1040 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage() [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | fancy_getopt.py | 76 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/python/cpython3/Lib/distutils/ |
D | fancy_getopt.py | 71 self.long_opts = [] 138 self.long_opts = [] 165 self.long_opts.append(long) 182 self.long_opts[-1] = long # XXX redundant?! 233 opts, args = getopt.getopt(args, short_opts, self.long_opts)
|
/external/libnl/lib/cli/cls/ |
D | cgroup.c | 37 static struct option long_opts[] = { in parse_argv() local 43 c = getopt_long(argc, argv, "he:", long_opts, &optidx); in parse_argv()
|
D | basic.c | 46 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/ |
D | nl-neightbl-list.c | 45 static struct option long_opts[] = { in main() local 52 c = getopt_long(argc, argv, "f:hv", long_opts, &optidx); in main()
|
D | genl-ctrl-list.c | 48 static struct option long_opts[] = { in main() local 56 c = getopt_long(argc, argv, "df:hv", long_opts, &optidx); in main()
|
D | nl-rule-list.c | 54 static struct option long_opts[] = { in main() local 62 c = getopt_long(argc, argv, "f:hv", long_opts, &optidx); in main()
|
D | nl-classid-lookup.c | 44 static struct option long_opts[] = { in main() local 52 c = getopt_long(argc, argv, "hvr", long_opts, &optidx); in main()
|
D | nl-neigh-list.c | 58 static struct option long_opts[] = { in main() local 70 c = getopt_long(argc, argv, "f:hva:l:d:", long_opts, &optidx); in main()
|
D | idiag-socket-details.c | 52 static struct option long_opts[] = { in main() local 61 c = getopt_long(argc, argv, "hv", long_opts, &optidx); in main()
|
D | nl-link-list.c | 60 static struct option long_opts[] = { in main() local 74 c = getopt_long(argc, argv, "hvn:i:", long_opts, &optidx); in main()
|
D | nl-neigh-add.c | 67 static struct option long_opts[] = { in main() local 80 c = getopt_long(argc, argv, "qhva:l:d:", long_opts, &optidx); in main()
|
D | nl-class-list.c | 83 static struct option long_opts[] = { in main() local 95 c = getopt_long(argc, argv, "hvd:p:i:k:", long_opts, &optidx); in main()
|
/external/vboot_reference/futility/ |
D | cmd_dump_kernel_config.c | 20 static const struct option long_opts[] = { variable 41 while (((i = getopt_long(argc, argv, ":", long_opts, NULL)) != -1) && in do_dump_kernel_config()
|