• Home
  • Raw
  • Download

Lines Matching refs:OptionsMap

147                           StringMap<Option*> &OptionsMap) {  in GetOptionInfo()  argument
161 if (OptionsMap.GetOrCreateValue(OptionNames[i], O).second != O) { in GetOptionInfo()
202 const StringMap<Option*> &OptionsMap) { in LookupOption() argument
211 StringMap<Option*>::const_iterator I = OptionsMap.find(Arg); in LookupOption()
212 return I != OptionsMap.end() ? I->second : nullptr; in LookupOption()
218 OptionsMap.find(Arg.substr(0, EqualPos)); in LookupOption()
219 if (I == OptionsMap.end()) return nullptr; in LookupOption()
231 const StringMap<Option*> &OptionsMap, in LookupNearestOption() argument
244 for (StringMap<Option*>::const_iterator it = OptionsMap.begin(), in LookupNearestOption()
245 ie = OptionsMap.end(); it != ie; ++it) { in LookupNearestOption()
384 const StringMap<Option*> &OptionsMap) { in getOptionPred() argument
386 StringMap<Option*>::const_iterator OMI = OptionsMap.find(Name); in getOptionPred()
391 while (OMI == OptionsMap.end() && Name.size() > 1) { in getOptionPred()
393 OMI = OptionsMap.find(Name); in getOptionPred()
396 if (OMI != OptionsMap.end() && Pred(OMI->second)) { in getOptionPred()
409 const StringMap<Option*> &OptionsMap) { in HandlePrefixedOrGroupedOption() argument
414 Option *PGOpt = getOptionPred(Arg, Length, isPrefixedOrGrouping, OptionsMap); in HandlePrefixedOrGroupedOption()
423 assert(OptionsMap.count(Arg) && OptionsMap.find(Arg)->second == PGOpt); in HandlePrefixedOrGroupedOption()
445 PGOpt = getOptionPred(Arg, Length, isGrouping, OptionsMap); in HandlePrefixedOrGroupedOption()