Lines Matching refs:StrTable

36   const StringTable *StrTable;  member
39 explicit OptNameLess(const StringTable &StrTable, in OptNameLess()
41 : StrTable(&StrTable), PrefixesTable(PrefixesTable) {} in OptNameLess()
49 if (int Cmp = StrCmpOptionName(A.getName(*StrTable, PrefixesTable), in operator ()()
50 B.getName(*StrTable, PrefixesTable))) in operator ()()
54 A.appendPrefixes(*StrTable, PrefixesTable, APrefixes); in operator ()()
55 B.appendPrefixes(*StrTable, PrefixesTable, BPrefixes); in operator ()()
72 return StrCmpOptionName(I.getName(*StrTable, PrefixesTable), Name, false) < in operator ()()
80 OptTable::OptTable(const StringTable &StrTable, in OptTable() argument
83 : StrTable(&StrTable), PrefixesTable(PrefixesTable), in OptTable()
116 if (!(OptNameLess(StrTable, PrefixesTable)(getInfo(i), getInfo(i + 1)))) { in OptTable()
156 static unsigned matchOption(const StringTable &StrTable, in matchOption() argument
160 StringRef Name = I->getName(StrTable, PrefixesTable); in matchOption()
162 StringRef Prefix = StrTable[PrefixOffset]; in matchOption()
175 static bool optionMatches(const StringTable &StrTable, in optionMatches() argument
178 StringRef Name = In.getName(StrTable, PrefixesTable); in optionMatches()
181 if (Option == StrTable[PrefixOffset]) in optionMatches()
194 if (!In.Values || !optionMatches(*StrTable, PrefixesTable, In, Option)) in suggestValueCompletions()
222 StringRef Name = In.getName(*StrTable, PrefixesTable); in findByPrefix()
224 StringRef Prefix = (*StrTable)[PrefixOffset]; in findByPrefix()
276 StringRef CandidateName = CandidateInfo.getName(*StrTable, PrefixesTable); in internalFindNearest()
311 StringRef CandidatePrefix = (*StrTable)[CandidatePrefixOffset]; in internalFindNearest()
364 OptNameLess(*StrTable, PrefixesTable)); in parseOneArgGrouped()
371 matchOption(*StrTable, PrefixesTable, Start, Str, IgnoreCase); in parseOneArgGrouped()
454 std::lower_bound(Start, End, Name, OptNameLess(*StrTable, PrefixesTable)); in internalParseOneArg()
469 matchOption(*StrTable, PrefixesTable, Start, Str, IgnoreCase))) in internalParseOneArg()
792 GenericOptTable::GenericOptTable(const StringTable &StrTable, in GenericOptTable() argument
795 : OptTable(StrTable, PrefixesTable, OptionInfos, IgnoreCase) { in GenericOptTable()
800 TmpPrefixesUnion.insert(StrTable[PrefixOffset]); in GenericOptTable()