Lines Matching refs:opt_defs
159 auto opt_defs = GetDefinitions(); in BuildValidOptionSets() local
168 for (const auto &def : opt_defs) { in BuildValidOptionSets()
187 for (const auto &def : opt_defs) { in BuildValidOptionSets()
334 auto opt_defs = GetDefinitions(); in SupportsLongOption() local
335 if (opt_defs.empty()) in SupportsLongOption()
342 for (auto &def : opt_defs) { in SupportsLongOption()
397 auto opt_defs = GetDefinitions(); in GenerateOptionUsage() local
439 for (auto &def : opt_defs) { in GenerateOptionUsage()
464 for (auto &def : opt_defs) { in GenerateOptionUsage()
471 for (auto &def : opt_defs) { in GenerateOptionUsage()
506 for (auto def : llvm::enumerate(opt_defs)) in GenerateOptionUsage()
522 OptionDefinition opt_def = opt_defs[pos.second]; in GenerateOptionUsage()
595 auto opt_defs = GetDefinitions(); in HandleOptionCompletion() local
613 for (auto &def : opt_defs) { in HandleOptionCompletion()
623 for (auto &def : opt_defs) { in HandleOptionCompletion()
637 const OptionDefinition &opt = opt_defs[opt_defs_index]; in HandleOptionCompletion()
653 for (auto &def : opt_defs) { in HandleOptionCompletion()
685 auto opt_defs = GetDefinitions(); in HandleOptionArgumentCompletion() local
692 const auto &enum_values = opt_defs[opt_defs_index].enum_values; in HandleOptionArgumentCompletion()
703 uint32_t completion_mask = opt_defs[opt_defs_index].completion_type; in HandleOptionArgumentCompletion()
707 opt_defs[opt_defs_index].argument_type; in HandleOptionArgumentCompletion()
711 opt_defs[opt_defs_index].argument_type); in HandleOptionArgumentCompletion()
729 const char *cur_opt_name = opt_defs[cur_defs_index].long_option; in HandleOptionArgumentCompletion()
1081 auto opt_defs = GetDefinitions(); in ParseForCompletion() local
1160 for (size_t i = 0; i < opt_defs.size(); i++) { in ParseForCompletion()
1161 if (opt_defs[i].short_option != val) in ParseForCompletion()