Lines Matching refs:Opts
538 StringMap<Option*> Opts; in ParseCommandLineOptions() local
539 GetOptionInfo(PositionalOpts, SinkOpts, Opts); in ParseCommandLineOptions()
541 assert((!Opts.empty() || !PositionalOpts.empty()) && in ParseCommandLineOptions()
631 Opts.clear(); in ParseCommandLineOptions()
632 GetOptionInfo(PositionalOpts, SinkOpts, Opts); in ParseCommandLineOptions()
677 Handler = LookupOption(ArgName, Value, Opts); in ParseCommandLineOptions()
689 Handler = LookupOption(ArgName, Value, Opts); in ParseCommandLineOptions()
694 ErrorParsing, Opts); in ParseCommandLineOptions()
699 NearestHandler = LookupNearestOption(ArgName, Opts, in ParseCommandLineOptions()
813 for (StringMap<Option*>::iterator I = Opts.begin(), in ParseCommandLineOptions()
814 E = Opts.end(); I != E; ++I) { in ParseCommandLineOptions()
839 Opts.clear(); in ParseCommandLineOptions()
1192 SmallVectorImpl< std::pair<const char *, Option*> > &Opts, in sortOpts()
1210 Opts.push_back(std::pair<const char *, Option*>(I->getKey().data(), in sortOpts()
1215 qsort(Opts.data(), Opts.size(), sizeof(Opts[0]), OptNameCompare); in sortOpts()
1239 SmallVector<std::pair<const char *, Option*>, 128> Opts; in operator =() local
1240 sortOpts(OptMap, Opts, ShowHidden); in operator =()
1266 for (size_t i = 0, e = Opts.size(); i != e; ++i) in operator =()
1267 MaxArgLen = std::max(MaxArgLen, Opts[i].second->getOptionWidth()); in operator =()
1270 for (size_t i = 0, e = Opts.size(); i != e; ++i) in operator =()
1271 Opts[i].second->printOptionInfo(MaxArgLen); in operator =()
1319 SmallVector<std::pair<const char *, Option*>, 128> Opts; in PrintOptionValues() local
1320 sortOpts(OptMap, Opts, /*ShowHidden*/true); in PrintOptionValues()
1324 for (size_t i = 0, e = Opts.size(); i != e; ++i) in PrintOptionValues()
1325 MaxArgLen = std::max(MaxArgLen, Opts[i].second->getOptionWidth()); in PrintOptionValues()
1327 for (size_t i = 0, e = Opts.size(); i != e; ++i) in PrintOptionValues()
1328 Opts[i].second->printOptionValue(MaxArgLen, PrintAllOptions); in PrintOptionValues()