Home
last modified time | relevance | path

Searched refs:longopts (Results 1 – 12 of 12) sorted by relevance

/external/grub/lib/
Dgetopt.h111 const struct option *longopts, int *longind);
114 const struct option *longopts, int *longind);
119 const struct option *longopts, int *longind,
Dgetopt.c515 _getopt_internal (argc, argv, optstring, longopts, longind, long_only) in _getopt_internal() argument
519 const struct option *longopts;
619 + (longopts != NULL && argv[optind][1] == '-'));
637 if (longopts != NULL
654 for (p = longopts, option_index = 0; p->name; p++, option_index++)
842 for (p = longopts, option_index = 0; p->name; p++, option_index++)
/external/e2fsprogs/include/nonunix/
Dgetopt.h113 const struct option *longopts, int *longind);
116 const struct option *longopts, int *longind);
121 const struct option *longopts, int *longind,
/external/dhcpcd/
Ddhcpcd.c67 static const struct option longopts[] = { variable
587 for (i = 0; i < sizeof(longopts) / sizeof(longopts[0]); i++) { in parse_config_line()
588 if (!longopts[i].name || in parse_config_line()
589 strcmp(longopts[i].name, opt) != 0) in parse_config_line()
592 if (longopts[i].has_arg == required_argument && !line) { in parse_config_line()
599 return parse_option(longopts[i].val, line, options); in parse_config_line()
695 longopts, &option_index)) != -1) in main()
699 if (longopts[option_index].flag) in main()
702 longopts[option_index].name); in main()
796 longopts, &option_index)) != -1) in main()
/external/bison/lib/
Dgetopt.c353 const struct option *longopts, int *longind, in _getopt_internal_r() argument
462 + (longopts != NULL && argv[d->optind][1] == '-')); in _getopt_internal_r()
480 if (longopts != NULL in _getopt_internal_r()
498 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal_r()
869 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal_r()
1089 const struct option *longopts, int *longind, in _getopt_internal() argument
1097 result = _getopt_internal_r (argc, argv, optstring, longopts, longind, in _getopt_internal()
/external/grub/grub/
Dmain.c70 static struct option longopts[] = variable
151 c = getopt_long (argc, argv, OPTSTRING, longopts, 0); in main()
/external/grub/util/
Dmbchk.c29 static struct option longopts[] = variable
191 c = getopt_long (argc, argv, optstring, longopts, 0); in main()
/external/iproute2/misc/
Difstat.c572 static const struct option longopts[] = { variable
597 longopts, NULL)) != EOF) { in main()
/external/genext2fs/
Dgenext2fs.c2542 struct option longopts[] = { local
2566 while((c = getopt_long(argc, argv, "x:d:D:b:i:N:m:g:e:zfqUPahVv", longopts, NULL)) != EOF) {
/external/bison/
DOChangeLog366 * src/getargs.c (longopts): Allow `output' as an alternative.
1004 * src/getargs.c (longopts): Add `yacc'.
DChangeLog12458 (longopts): Accept --trace instead of --statistics.
12758 * src/options.c (longopts): Support `--output' and `%output'.
12912 * src/getargs.c (longopts): `--debug' is `-t', not `-d'.
13100 * src/getargs.c (longopts): Declare --defines and --graph as options
13366 (getargs): Free longopts at the end of the function.
13373 * src/options.c (option_table): Create from longopts and percent_table.
13374 * src/getargs.c (longopts): Delete.
13818 (longopts): Update.
13960 (longopts): --skeleton is a new option.
13973 * src/getargs.c (longopts): Clean up.
/external/grub/
DChangeLog1571 (longopts): Added an entry for "--no-pager".
1742 (longopts): Added an entry for "--preset-menu".
3558 * grub/main.c (longopts): The type of the argument for "hold" is
6453 (longopts): Added an entry for "device-map".
7297 (longopts): Added no-floppy and probe-second-floppy.
8339 (longopts): Add --read-only and --verbose options.
8408 (longopts): Rename from "disable-config-file" to
8493 (longopts): Add new options, --disable-config-file, --disable-curses,
8657 (longopts): Add new options, config-file, install-partition and
8679 (longopts): New option --hold.