Lines Matching refs:Name
34 const CommandInfo *CommandTraits::getCommandInfoOrNULL(StringRef Name) const {
35 if (const CommandInfo *Info = getBuiltinCommandInfo(Name))
37 return getRegisteredCommandInfo(Name);
60 StringRef Name = Command->Name;
62 unsigned MinPossibleEditDistance = abs((int)Name.size() - (int)Typo.size());
64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance);
85 char *Name = Allocator.Allocate<char>(CommandName.size() + 1);
86 memcpy(Name, CommandName.data(), CommandName.size());
87 Name[CommandName.size()] = '\0';
91 Info->Name = Name;
124 StringRef Name) const {
126 if (RegisteredCommands[i]->Name == Name)