| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | opts-common.c | 321 opt_enum_arg_to_value (size_t opt_index, const char *arg, in opt_enum_arg_to_value() argument 324 const struct cl_option *option = &cl_options[opt_index]; in opt_enum_arg_to_value() 377 generate_canonical_option (size_t opt_index, const char *arg, in generate_canonical_option() argument 381 const struct cl_option *option = &cl_options[opt_index]; in generate_canonical_option() 537 size_t opt_index; in decode_cmdline_option() local 554 opt_index = find_opt (opt_value, lang_mask); in decode_cmdline_option() 556 while (opt_index == OPT_SPECIAL_unknown in decode_cmdline_option() 585 opt_index = find_opt (dup + 1, lang_mask); in decode_cmdline_option() 591 if (opt_index == OPT_SPECIAL_unknown) in decode_cmdline_option() 599 option = &cl_options[opt_index]; in decode_cmdline_option() [all …]
|
| H A D | lto-wrapper.c | 224 if (foption->opt_index == OPT_fcf_protection_) in merge_and_complain() 235 switch (foption->opt_index) in merge_and_complain() 245 if (!(cl_options[foption->opt_index].flags & CL_TARGET)) in merge_and_complain() 263 if ((*decoded_options)[j].opt_index == foption->opt_index) in merge_and_complain() 283 if ((*decoded_options)[j].opt_index == foption->opt_index) in merge_and_complain() 296 if ((*decoded_options)[j].opt_index == foption->opt_index) in merge_and_complain() 312 if ((*decoded_options)[j].opt_index == foption->opt_index) in merge_and_complain() 353 if ((*decoded_options)[j].opt_index == OPT_O in merge_and_complain() 354 || (*decoded_options)[j].opt_index == OPT_Ofast in merge_and_complain() 355 || (*decoded_options)[j].opt_index == OPT_Og in merge_and_complain() [all …]
|
| H A D | lto-opts.c | 139 switch (option->opt_index) in lto_write_options() 159 if (!(cl_options[option->opt_index].flags & (CL_COMMON|CL_TARGET|CL_LTO))) in lto_write_options() 163 if ((cl_options[option->opt_index].flags & CL_TARGET) in lto_write_options() 169 if (cl_options[option->opt_index].cl_reject_driver) in lto_write_options() 176 if ((cl_options[option->opt_index].flags & (CL_DRIVER|CL_WARNING)) in lto_write_options() 177 && (!lto_stream_offload_p || option->opt_index != OPT_foffload_)) in lto_write_options()
|
| H A D | opts.h | 227 size_t opt_index; member 268 size_t opt_index; member 367 int opt_index, HOST_WIDE_INT value, const char *arg, 369 extern void *option_flag_var (int opt_index, struct gcc_options *opts); 372 size_t opt_index, const char *arg, 377 void generate_option (size_t opt_index, const char *arg, HOST_WIDE_INT value, 389 extern void control_warning_option (unsigned int opt_index, int kind, 435 extern bool opt_enum_arg_to_value (size_t opt_index, const char *arg,
|
| H A D | opts-global.c | 87 const struct cl_option *option = &cl_options[decoded->opt_index]; in complain_wrong_lang() 186 return lang_hooks.handle_option (decoded->opt_index, decoded->arg, in lang_handle_option() 219 if (decoded_options[i].opt_index == OPT_SPECIAL_input_file) in read_cmdline_options() 367 switch (opt->opt_index) in handle_common_deferred_options() 410 if (opt->opt_index == OPT_fenable_) in handle_common_deferred_options()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | opts-common.cc | 324 opt_enum_arg_to_value (size_t opt_index, const char *arg, in opt_enum_arg_to_value() argument 327 const struct cl_option *option = &cl_options[opt_index]; in opt_enum_arg_to_value() 380 generate_canonical_option (size_t opt_index, const char *arg, in generate_canonical_option() argument 384 const struct cl_option *option = &cl_options[opt_index]; in generate_canonical_option() 540 size_t opt_index; in decode_cmdline_option() local 557 opt_index = find_opt (opt_value, lang_mask); in decode_cmdline_option() 559 while (opt_index == OPT_SPECIAL_unknown in decode_cmdline_option() 588 opt_index = find_opt (dup + 1, lang_mask); in decode_cmdline_option() 594 if (opt_index == OPT_SPECIAL_unknown) in decode_cmdline_option() 602 option = &cl_options[opt_index]; in decode_cmdline_option() [all …]
|
| H A D | lto-wrapper.cc | 180 find_option (vec<cl_decoded_option> &options, size_t opt_index, in find_option() argument 184 if (options[i].opt_index == opt_index) in find_option() 193 return find_option (options, option->opt_index); in find_option() 261 if (foption->opt_index == OPT_fcf_protection_) in merge_and_complain() 273 switch (foption->opt_index) in merge_and_complain() 283 if (!(cl_options[foption->opt_index].flags & CL_TARGET)) in merge_and_complain() 383 if (decoded_options[j].opt_index == OPT_O in merge_and_complain() 384 || decoded_options[j].opt_index == OPT_Ofast in merge_and_complain() 385 || decoded_options[j].opt_index == OPT_Og in merge_and_complain() 386 || decoded_options[j].opt_index == OPT_Os in merge_and_complain() [all …]
|
| H A D | lto-opts.cc | 139 switch (option->opt_index) in lto_write_options() 160 if (!(cl_options[option->opt_index].flags & (CL_COMMON|CL_TARGET|CL_LTO))) in lto_write_options() 164 if ((cl_options[option->opt_index].flags & CL_TARGET) in lto_write_options() 170 if (cl_options[option->opt_index].cl_reject_driver) in lto_write_options() 177 if ((cl_options[option->opt_index].flags & (CL_DRIVER|CL_WARNING)) in lto_write_options() 179 || option->opt_index != OPT_foffload_options_)) in lto_write_options()
|
| H A D | opts.h | 250 size_t opt_index; member 296 size_t opt_index; member 395 int opt_index, HOST_WIDE_INT value, const char *arg, 398 extern void *option_flag_var (int opt_index, struct gcc_options *opts); 401 size_t opt_index, const char *arg, 406 void generate_option (size_t opt_index, const char *arg, HOST_WIDE_INT value, 418 extern void control_warning_option (unsigned int opt_index, int kind, 466 extern bool opt_enum_arg_to_value (size_t opt_index, const char *arg,
|
| H A D | opts-global.cc | 87 const struct cl_option *option = &cl_options[decoded->opt_index]; in complain_wrong_lang() 186 return lang_hooks.handle_option (decoded->opt_index, decoded->arg, in lang_handle_option() 219 if (decoded_options[i].opt_index == OPT_SPECIAL_input_file) in read_cmdline_options() 367 switch (opt->opt_index) in handle_common_deferred_options() 409 if (opt->opt_index == OPT_fenable_) in handle_common_deferred_options()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| H A D | gfortranspec.c | 98 return (opt1->opt_index == opt2->opt_index in options_same() 155 append_option (size_t opt_index, const char *arg, int value) in append_option() argument 159 generate_option (opt_index, arg, value, CL_DRIVER, &decoded); in append_option() 237 switch (decoded_options[i].opt_index) in lang_specific_driver() 319 if (decoded_options[i].opt_index == OPT_SPECIAL_input_file in lang_specific_driver() 327 if (decoded_options[i].opt_index != OPT_l in lang_specific_driver() 328 && (decoded_options[i].opt_index != OPT_SPECIAL_input_file in lang_specific_driver() 338 if (decoded_options[i].opt_index == OPT_SPECIAL_input_file) in lang_specific_driver() 344 if (decoded_options[i].opt_index == OPT_x) in lang_specific_driver() 363 if (decoded_options[i].opt_index == OPT_l in lang_specific_driver() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
| H A D | gfortranspec.cc | 98 return (opt1->opt_index == opt2->opt_index in options_same() 155 append_option (size_t opt_index, const char *arg, int value) in append_option() argument 159 generate_option (opt_index, arg, value, CL_DRIVER, &decoded); in append_option() 237 switch (decoded_options[i].opt_index) in lang_specific_driver() 319 if (decoded_options[i].opt_index == OPT_SPECIAL_input_file in lang_specific_driver() 327 if (decoded_options[i].opt_index != OPT_l in lang_specific_driver() 328 && (decoded_options[i].opt_index != OPT_SPECIAL_input_file in lang_specific_driver() 338 if (decoded_options[i].opt_index == OPT_SPECIAL_input_file) in lang_specific_driver() 344 if (decoded_options[i].opt_index == OPT_x) in lang_specific_driver() 363 if (decoded_options[i].opt_index == OPT_l in lang_specific_driver() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/ |
| H A D | getopt1.c | 47 const struct option *long_options, int *opt_index) in getopt_long() argument 50 opt_index, 0, 0); in getopt_long() 55 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 58 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 70 const struct option *long_options, int *opt_index) in getopt_long_only() argument 73 opt_index, 1, 0); in getopt_long_only() 78 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 81 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| H A D | getopt1.c | 42 const struct option *long_options, int *opt_index) in getopt_long() argument 45 opt_index, 0, 0); in getopt_long() 50 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 53 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 65 const struct option *long_options, int *opt_index) in getopt_long_only() argument 68 opt_index, 1, 0); in getopt_long_only() 73 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 76 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r()
|
| /netbsd-src/external/gpl2/texinfo/dist/lib/ |
| H A D | getopt1.c | 47 const struct option *long_options, int *opt_index) in getopt_long() argument 49 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 54 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 57 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 68 const struct option *long_options, int *opt_index) in getopt_long_only() argument 70 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only() 75 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 78 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r()
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| H A D | getopt1.c | 42 const struct option *long_options, int *opt_index) in getopt_long() argument 45 opt_index, 0, 0); in getopt_long() 50 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 53 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 65 const struct option *long_options, int *opt_index) in getopt_long_only() argument 68 opt_index, 1, 0); in getopt_long_only() 73 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 76 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r()
|
| /netbsd-src/external/gpl2/xcvs/dist/lib/ |
| H A D | getopt1.c | 48 const struct option *long_options, int *opt_index) in getopt_long() argument 51 opt_index, 0, 0); in getopt_long() 56 const struct option *long_options, int *opt_index, in _getopt_long_r() argument 59 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_r() 71 const struct option *long_options, int *opt_index) in getopt_long_only() argument 74 opt_index, 1, 0); in getopt_long_only() 79 const struct option *long_options, int *opt_index, in _getopt_long_only_r() argument 82 return _getopt_internal_r (argc, argv, options, long_options, opt_index, in _getopt_long_only_r()
|
| /netbsd-src/external/gpl2/grep/dist/lib/ |
| H A D | getopt1.c | 69 getopt_long (argc, argv, options, long_options, opt_index) in getopt_long() argument 74 int *opt_index; 76 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); 85 getopt_long_only (argc, argv, options, long_options, opt_index) in getopt_long_only() argument 90 int *opt_index; 92 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
|
| /netbsd-src/external/gpl2/diffutils/dist/lib/ |
| H A D | getopt1.c | 68 getopt_long (argc, argv, options, long_options, opt_index) in getopt_long() argument 73 int *opt_index; 75 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); 84 getopt_long_only (argc, argv, options, long_options, opt_index) in getopt_long_only() argument 89 int *opt_index; 91 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | getopt1.c | 69 const struct option *long_options, int *opt_index) in getopt_long() argument 71 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 81 const struct option *long_options, int *opt_index) in getopt_long_only() argument 83 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | getopt1.c | 69 const struct option *long_options, int *opt_index) in getopt_long() argument 71 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 81 const struct option *long_options, int *opt_index) in getopt_long_only() argument 83 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | getopt1.c | 69 const struct option *long_options, int *opt_index) in getopt_long() argument 71 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 81 const struct option *long_options, int *opt_index) in getopt_long_only() argument 83 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
|
| /netbsd-src/external/gpl2/gmake/dist/ |
| H A 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()
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | getopt1.c | 69 const struct option *long_options, int *opt_index) in getopt_long() argument 71 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); in getopt_long() 81 const struct option *long_options, int *opt_index) in getopt_long_only() argument 83 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); in getopt_long_only()
|
| /netbsd-src/external/gpl2/mkhybrid/dist/ |
| H A D | getopt1.c | 74 getopt_long_only (argc, argv, options, long_options, opt_index) in getopt_long_only() argument 79 int *opt_index; 81 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
|