Searched refs:generateQueryTrigrams (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | DexTests.cpp | 416 EXPECT_THAT(generateQueryTrigrams("c"), trigramsAre({"c"})); in TEST() 417 EXPECT_THAT(generateQueryTrigrams("cl"), trigramsAre({"cl"})); in TEST() 418 EXPECT_THAT(generateQueryTrigrams("cla"), trigramsAre({"cla"})); in TEST() 420 EXPECT_THAT(generateQueryTrigrams(""), trigramsAre({})); in TEST() 421 EXPECT_THAT(generateQueryTrigrams("_"), trigramsAre({"_"})); in TEST() 422 EXPECT_THAT(generateQueryTrigrams("__"), trigramsAre({"__"})); in TEST() 423 EXPECT_THAT(generateQueryTrigrams("___"), trigramsAre({})); in TEST() 425 EXPECT_THAT(generateQueryTrigrams("X86"), trigramsAre({"x86"})); in TEST() 427 EXPECT_THAT(generateQueryTrigrams("clangd"), in TEST() 430 EXPECT_THAT(generateQueryTrigrams("abc_def"), in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/index/dex/ |
D | Trigram.h | 83 std::vector<Token> generateQueryTrigrams(llvm::StringRef Query);
|
D | Trigram.cpp | 101 std::vector<Token> generateQueryTrigrams(llvm::StringRef Query) { in generateQueryTrigrams() function
|
D | Dex.cpp | 199 const auto TrigramTokens = generateQueryTrigrams(Req.Query); in fuzzyFind()
|