Home
last modified time | relevance | path

Searched refs:generateQueryTrigrams (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DDexTests.cpp416 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/
DTrigram.h83 std::vector<Token> generateQueryTrigrams(llvm::StringRef Query);
DTrigram.cpp101 std::vector<Token> generateQueryTrigrams(llvm::StringRef Query) { in generateQueryTrigrams() function
DDex.cpp199 const auto TrigramTokens = generateQueryTrigrams(Req.Query); in fuzzyFind()