Searched refs:long_options (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | getopt1.c | 41 const struct option *long_options, int *opt_index) in getopt_long() argument 43 return _getopt_internal (argc, (char **) argv, options, long_options, in getopt_long() 49 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 52 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 64 const struct option *long_options, int *opt_index) in getopt_long_only() argument 66 return _getopt_internal (argc, (char **) argv, options, long_options, in getopt_long_only() 72 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 75 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r() 94 static const struct option long_options[] = in main() local 106 long_options, &option_index); in main() [all …]
|
/ndk/sources/host-tools/make-3.81/ |
D | getopt1.c | 70 const struct option *long_options, int *opt_index) in getopt_long() argument 72 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 82 const struct option *long_options, int *opt_index) in getopt_long_only() argument 84 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only() 104 static struct option long_options[] = in main() local 116 long_options, &option_index); in main() 123 printf ("option %s", long_options[option_index].name); in main()
|
D | main.c | 2235 static struct option long_options[(sizeof (switches) / sizeof (switches[0])) + variable 2259 long_options[i].name = (switches[i].long_name == 0 ? "" : in init_switches() 2261 long_options[i].flag = 0; in init_switches() 2262 long_options[i].val = switches[i].c; in init_switches() 2270 long_options[i].has_arg = no_argument; in init_switches() 2282 long_options[i].has_arg = optional_argument; in init_switches() 2285 long_options[i].has_arg = required_argument; in init_switches() 2293 long_options[i++] = long_option_aliases[c]; in init_switches() 2294 long_options[i].name = 0; in init_switches() 2422 c = getopt_long (argc, argv, options, long_options, (int *) 0); in decode_switches()
|