Home
last modified time | relevance | path

Searched refs:option_index (Results 1 – 11 of 11) sorted by relevance

/freebsd-11-stable/contrib/gcc/
HDdiagnostic.c130 diagnostic->option_index = 0; in diagnostic_set_info_translated()
212 || (context->classify_diagnostic[diagnostic->option_index] in diagnostic_count_diagnostic()
340 int option_index, in diagnostic_classify_diagnostic() argument
345 if (option_index <= 0 in diagnostic_classify_diagnostic()
346 || option_index >= N_OPTS in diagnostic_classify_diagnostic()
350 old_kind = context->classify_diagnostic[option_index]; in diagnostic_classify_diagnostic()
351 context->classify_diagnostic[option_index] = new_kind; in diagnostic_classify_diagnostic()
376 if (diagnostic->option_index) in diagnostic_report_diagnostic()
380 if (! option_enabled (diagnostic->option_index)) in diagnostic_report_diagnostic()
384 if (context->classify_diagnostic[diagnostic->option_index] != DK_UNSPECIFIED) in diagnostic_report_diagnostic()
[all …]
HDc-pragma.c687 unsigned int option_index; in handle_pragma_diagnostic() local
715 for (option_index = 0; option_index < cl_options_count; option_index++) in handle_pragma_diagnostic()
716 if (strcmp (cl_options[option_index].opt_text, option_string) == 0) in handle_pragma_diagnostic()
719 diagnostic_classify_diagnostic (global_dc, option_index, kind); in handle_pragma_diagnostic()
721 if (cl_options[option_index].var_type == CLVC_BOOLEAN in handle_pragma_diagnostic()
722 && cl_options[option_index].flag_var in handle_pragma_diagnostic()
724 *(int *) cl_options[option_index].flag_var = 1; in handle_pragma_diagnostic()
HDopts.c1044 int option_index; in common_handle_option() local
1048 option_index = find_opt (new_option, lang_mask); in common_handle_option()
1049 if (option_index == N_OPTS) in common_handle_option()
1056 diagnostic_classify_diagnostic (global_dc, option_index, kind); in common_handle_option()
1059 if (cl_options[option_index].var_type == CLVC_BOOLEAN in common_handle_option()
1060 && cl_options[option_index].flag_var in common_handle_option()
1062 *(int *) cl_options[option_index].flag_var = 1; in common_handle_option()
HDdiagnostic.h48 int option_index; member
HDChangeLog-200520623 * diagnostic.h (diagnostic_info): Add option_index.
20625 (diagnostic_set_info): Initialize option_index.
/freebsd-11-stable/contrib/gcclibs/libiberty/
HDgetopt.c650 int option_index; in _getopt_internal() local
657 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
665 indfound = option_index; in _getopt_internal()
673 indfound = option_index; in _getopt_internal()
693 option_index = indfound; in _getopt_internal()
740 *longind = option_index; in _getopt_internal()
808 int option_index; in _getopt_internal() local
846 for (p = longopts, option_index = 0; p->name; p++, option_index++) in _getopt_internal()
853 indfound = option_index; in _getopt_internal()
861 indfound = option_index; in _getopt_internal()
[all …]
HDgetopt1.c103 int option_index = 0; in main() local
116 long_options, &option_index); in main()
123 printf ("option %s", long_options[option_index].name); in main()
/freebsd-11-stable/contrib/gdb/gdb/
HDmain.c319 int option_index; in captured_main() local
322 long_options, &option_index); in captured_main()
327 if (c == 0 && long_options[option_index].flag == 0) in captured_main()
328 c = long_options[option_index].val; in captured_main()
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/
HDOptions.h318 OptionInfo(OptionGroup *g, uint32_t i) : option_group(g), option_index(i) {} in OptionInfo()
320 uint32_t option_index; // The original option index from the OptionGroup member
/freebsd-11-stable/contrib/groff/src/devices/grolbp/
HDlbp.cpp647 int option_index = 0; in main() local
650 long_options, &option_index); in main()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
HDOptions.cpp854 m_option_infos[option_idx].option_index, option_value, in SetOptionValue()