Home
last modified time | relevance | path

Searched refs:edit_distance (Results 1 – 25 of 70) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/
Dedit_distance_op_test.py47 edit_distance = array_ops.edit_distance(
51 self.assertEqual(edit_distance.get_shape(), expected_shape)
52 output = self.evaluate(edit_distance)
56 self.evaluate(edit_distance)
/external/tensorflow/tensorflow/core/lib/gtl/
DBUILD49 name = "edit_distance",
50 hdrs = ["edit_distance.h"],
161 "edit_distance.h",
174 "edit_distance.h",
220 "edit_distance.h",
239 "edit_distance.h",
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DMarshallers.cpp29 unsigned Distance = Item.edit_distance(Search); in getBestGuess()
50 unsigned Distance = NoPrefix.edit_distance(Search); in getBestGuess()
135 if (Flag.edit_distance(StringFlag.first) < 3) in getCloseRegexMatch()
/external/llvm-project/llvm/unittests/ADT/
DStringRefTest.cpp534 EXPECT_EQ(2U, Hello.edit_distance("hill")); in TEST()
537 EXPECT_EQ(6U, Industry.edit_distance("interest")); in TEST()
540 EXPECT_EQ(19U, Soylent.edit_distance("people soiled our green")); in TEST()
541 EXPECT_EQ(26U, Soylent.edit_distance("people soiled our green", in TEST()
543 EXPECT_EQ(9U, Soylent.edit_distance("people soiled our green", in TEST()
546 EXPECT_EQ(53U, Soylent.edit_distance("people soiled our green " in TEST()
/external/llvm-project/clang/lib/AST/
DCommentCommandTraits.cpp64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
/external/clang/lib/AST/
DCommentCommandTraits.cpp64 unsigned EditDistance = Typo.edit_distance(Name, true, BestEditDistance); in getTypoCorrectCommandInfo()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DArgumentCommentCheck.cpp147 unsigned ThisED = ArgNameLower.edit_distance( in isLikelyTypo()
164 unsigned OtherED = ArgNameLower.edit_distance(II->getName().lower(), in isLikelyTypo()
DVirtualNearMissCheck.cpp245 unsigned EditDistance = BaseMD->getName().edit_distance( in check()
/external/llvm-project/clang/test/Analysis/
Dllvm-conventions.cpp65 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyCheck.cpp202 unsigned Distance = Value.edit_distance(NameAndEnum.second); in getEnumInt()
/external/llvm/include/llvm/ADT/
DStringRef.h200 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/llvm/lib/Support/
DStringRef.cpp104 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringRef.cpp95 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DOptTable.cpp302 CandidateRef.edit_distance(NormalizedName, /*AllowReplacements=*/true, in findNearest()
/external/llvm-project/llvm/lib/Support/
DStringRef.cpp95 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/clang/lib/Basic/
DDiagnosticIDs.cpp580 unsigned Distance = O.getName().edit_distance(Group, true, BestDistance); in getNearestOption()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp109 unsigned StringRef::edit_distance(llvm::StringRef Other, in edit_distance() function in StringRef
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringRef.h234 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/llvm-project/llvm/include/llvm/ADT/
DStringRef.h243 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringRef.h220 unsigned edit_distance(StringRef Other, bool AllowReplacements = true,
/external/clang/lib/Lex/
DPPLexerChange.cpp326 const unsigned ED = ControllingMacroName.edit_distance( in HandleEndOfFile()
/external/llvm-project/clang/lib/Basic/
DDiagnosticIDs.cpp695 unsigned Distance = O.getName().edit_distance(Group, true, BestDistance); in getNearestOption()
/external/llvm-project/llvm/lib/Option/
DOptTable.cpp306 CandidateRef.edit_distance(NormalizedName, /*AllowReplacements=*/true, in findNearest()
/external/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp354 const unsigned ED = ControllingMacroName.edit_distance( in HandleEndOfFile()
/external/swiftshader/third_party/llvm-subzero/
DCMakeLists.txt45 "include/llvm/ADT/edit_distance.h"

123