Searched refs:opt_index (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dgetopt1.c71 const struct option *long_options, int *opt_index)
73 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
83 const struct option *long_options, int *opt_index)
85 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
69 getopt_long(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) argument
81 getopt_long_only(int argc, char *const *argv, const char *options, const struct option *long_options, int *opt_index) argument
/freebsd-10.0-release/contrib/gcc/
H A Dopts-common.c139 size_t opt_index; local
147 opt_index = find_opt (opt + 1, -1);
148 if (opt_index == cl_options_count
163 opt_index = find_opt (opt + 1, -1);
167 if (opt_index == cl_options_count)
174 option = &cl_options[opt_index];
187 options [i] = (int) opt_index;
H A Dopts.c200 size_t opt_index; local
209 opt_index = find_opt (opt + 1, lang_mask | CL_COMMON | CL_TARGET);
210 if (opt_index == cl_options_count
223 opt_index = find_opt (opt + 1, lang_mask | CL_COMMON | CL_TARGET);
226 if (opt_index == cl_options_count)
229 option = &cl_options[opt_index];
253 arg = argv[0] + cl_options[opt_index].opt_len + 1;
285 if (!lang_hooks.missing_argument (opt, opt_index))
331 if (lang_hooks.handle_option (opt_index, arg, value) == 0)
335 if (common_handle_option (opt_index, ar
[all...]

Completed in 128 milliseconds