Lines Matching refs:long_options

190 	const struct option *long_options, int *idx, int short_too, int flags)  in parse_long_options()  argument
229 for (i = 0; long_options[i].name; i++) { in parse_long_options()
231 if (strncmp(current_argv, long_options[i].name, in parse_long_options()
235 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options()
251 long_options[i].has_arg != in parse_long_options()
252 long_options[match].has_arg || in parse_long_options()
253 long_options[i].flag != long_options[match].flag || in parse_long_options()
254 long_options[i].val != long_options[match].val) in parse_long_options()
270 if (long_options[match].has_arg == no_argument in parse_long_options()
282 if (long_options[match].flag == NULL) in parse_long_options()
283 optopt = long_options[match].val; in parse_long_options()
292 if (long_options[match].has_arg == required_argument || in parse_long_options()
293 long_options[match].has_arg == optional_argument) { in parse_long_options()
296 else if (long_options[match].has_arg == in parse_long_options()
304 if ((long_options[match].has_arg == required_argument) in parse_long_options()
319 if (long_options[match].flag == NULL) in parse_long_options()
320 optopt = long_options[match].val; in parse_long_options()
342 if (long_options[match].flag) { in parse_long_options()
343 *long_options[match].flag = long_options[match].val; in parse_long_options()
346 return (long_options[match].val); in parse_long_options()
355 const struct option *long_options, int *idx, int flags) argument
476 if (long_options != NULL && place != nargv[optind] &&
490 optchar = parse_long_options(nargv, options, long_options,
521 if (long_options != NULL && optchar == 'W' && oli[1] == ';') {
536 optchar = parse_long_options(nargv, options, long_options,
594 const struct option *long_options, int *idx) argument
597 return (getopt_internal(nargc, nargv, options, long_options, idx,
607 const struct option *long_options, int *idx) argument
610 return (getopt_internal(nargc, nargv, options, long_options, idx,