Home
last modified time | relevance | path

Searched refs:MaxEditDistance (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
Dedit_distance.h45 unsigned MaxEditDistance = 0) {
93 if (MaxEditDistance && BestThisRow > MaxEditDistance)
94 return MaxEditDistance + 1;
DStringRef.h224 unsigned MaxEditDistance = 0) const;
/external/llvm/include/llvm/ADT/
Dedit_distance.h45 unsigned MaxEditDistance = 0) {
93 if (MaxEditDistance && BestThisRow > MaxEditDistance)
94 return MaxEditDistance + 1;
DStringRef.h201 unsigned MaxEditDistance = 0) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dedit_distance.h45 unsigned MaxEditDistance = 0) {
93 if (MaxEditDistance && BestThisRow > MaxEditDistance)
94 return MaxEditDistance + 1;
DStringRef.h221 unsigned MaxEditDistance = 0) const;
/external/swiftshader/third_party/LLVM/lib/Support/
DStringRef.cpp80 unsigned MaxEditDistance) { in edit_distance() argument
122 if (MaxEditDistance && BestThisRow > MaxEditDistance) in edit_distance()
123 return MaxEditDistance + 1; in edit_distance()
/external/clang/lib/AST/
DCommentCommandTraits.cpp54 const unsigned MaxEditDistance = 1; in getTypoCorrectCommandInfo() local
56 unsigned BestEditDistance = MaxEditDistance; in getTypoCorrectCommandInfo()
DCommentSema.cpp954 const unsigned MaxEditDistance; member in clang::comments::__anon17632f150211::SimpleTypoCorrector
963 Typo(Typo), MaxEditDistance((Typo.size() + 2) / 3), in SimpleTypoCorrector()
964 BestDecl(nullptr), BestEditDistance(MaxEditDistance + 1), in SimpleTypoCorrector()
971 if (BestEditDistance > MaxEditDistance) in getBestDecl()
996 unsigned EditDistance = Typo.edit_distance(Name, true, MaxEditDistance); in addDecl()
/external/llvm/lib/Support/
DStringRef.cpp106 unsigned MaxEditDistance) const { in edit_distance()
110 AllowReplacements, MaxEditDistance); in edit_distance()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp111 unsigned MaxEditDistance) const { in edit_distance()
115 AllowReplacements, MaxEditDistance); in edit_distance()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStringRef.cpp97 unsigned MaxEditDistance) const { in edit_distance()
101 AllowReplacements, MaxEditDistance); in edit_distance()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringRef.h167 unsigned MaxEditDistance = 0);
/external/clang/lib/Sema/
DSemaDeclObjC.cpp3552 const unsigned MaxEditDistance = 1; in HelperSelectorsForTypoCorrection() local
3553 unsigned BestEditDistance = MaxEditDistance + 1; in HelperSelectorsForTypoCorrection()
3560 unsigned EditDistance = Typo.edit_distance(MethodName, true, MaxEditDistance); in HelperSelectorsForTypoCorrection()
3561 if (EditDistance > MaxEditDistance) in HelperSelectorsForTypoCorrection()