• Home
  • Raw
  • Download

Lines Matching refs:long_options

177 	const struct option *long_options, int *idx, int short_too)  in parse_long_options()  argument
195 for (i = 0; long_options[i].name; i++) { in parse_long_options()
197 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
201 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options()
225 if (long_options[match].has_arg == no_argument in parse_long_options()
233 if (long_options[match].flag == NULL) in parse_long_options()
234 optopt = long_options[match].val; in parse_long_options()
239 if (long_options[match].has_arg == required_argument || in parse_long_options()
240 long_options[match].has_arg == optional_argument) { in parse_long_options()
243 else if (long_options[match].has_arg == in parse_long_options()
251 if ((long_options[match].has_arg == required_argument) in parse_long_options()
263 if (long_options[match].flag == NULL) in parse_long_options()
264 optopt = long_options[match].val; in parse_long_options()
282 if (long_options[match].flag) { in parse_long_options()
283 *long_options[match].flag = long_options[match].val; in parse_long_options()
286 return (long_options[match].val); in parse_long_options()
295 const struct option *long_options, int *idx, int flags) in getopt_internal() argument
409 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
417 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
442 if (long_options != NULL && optchar == 'W' && oli[1] == ';') { in getopt_internal()
454 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
511 const struct option *long_options, int *idx)
514 return (getopt_internal(nargc, nargv, options, long_options, idx,
524 const struct option *long_options, int *idx)
527 return (getopt_internal(nargc, nargv, options, long_options, idx,