Lines Matching defs:Name
60 if (int N = StrCmpOptionName(A.Name, B.Name))
73 "Unexpected classes for options with same name.");
78 // Support lower_bound between info and an option name.
79 static inline bool operator<(const OptTable::Info &I, const char *Name) {
80 return StrCmpOptionNameIgnoreCase(I.Name, Name) < 0;
182 ? Rest.startswith_lower(I->Name)
183 : Rest.startswith(I->Name);
185 return Prefix.size() + StringRef(I->Name).size();
204 StringRef Name = StringRef(Str).ltrim(PrefixChars);
207 Start = std::lower_bound(Start, End, Name.data());
296 std::string Name = O.getPrefixedName();
306 Name += ' ';
307 Name += MetaVarName;
312 Name += " <value>";
322 Name += ' ';
327 Name += MetaVarName;
329 Name += "<value>";
333 return Name;
377 // name.
387 void OptTable::PrintHelp(raw_ostream &OS, const char *Name, const char *Title,
389 PrintHelp(OS, Name, Title, /*Include*/ 0, /*Exclude*/
394 void OptTable::PrintHelp(raw_ostream &OS, const char *Name, const char *Title,
399 OS << "USAGE: " << Name << " [options] <inputs>\n";
402 // Render help text into a map of group-name to a list of (option, help)