Searched refs:edit_distance (Results 1 – 9 of 9) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | StringRef.h | 178 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 87 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
|
D | CommandLine.cpp | 217 unsigned Distance = StringRef(Name).edit_distance( in LookupNearestOption()
|
/external/clang/lib/Basic/ |
D | DiagnosticIDs.cpp | 562 unsigned Distance = i->getName().edit_distance(Group, true, BestDistance); in getNearestWarningOption()
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 365 return BufferPrefix.edit_distance(ExampleString); in ComputeMatchDistance()
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 313 EXPECT_EQ(2U, Str.edit_distance("hill")); in TEST()
|
/external/clang/lib/AST/ |
D | CommentSema.cpp | 660 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 1007 unsigned ED = Name.edit_distance((*J)->Name, in loadModule()
|
/external/clang/lib/Sema/ |
D | SemaLookup.cpp | 3229 addName(Name, NULL, Typo.edit_distance(Name, true, UpperBound)); in FoundName() 3235 addName(Keyword, NULL, Typo.edit_distance(Keyword), NULL, true); in addKeywordResult()
|