Home
last modified time | relevance | path

Searched refs:Trigram (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/dex/
DTrigram.h37 class Trigram {
41 Trigram(Sentinel S) : Data{0, 0, 0, static_cast<char>(S)} {} in Trigram() function
45 Trigram() : Data{0, 0, 0, 0} {} in Trigram() function
46 Trigram(char A) : Data{A, 0, 0, 1} {} in Trigram() function
47 Trigram(char A, char B) : Data{A, B, 0, 2} {} in Trigram() function
48 Trigram(char A, char B, char C) : Data{A, B, C, 3} {} in Trigram() function
50 friend struct ::llvm::DenseMapInfo<Trigram>;
51 friend bool operator==(Trigram L, Trigram R) { return L.id() == R.id(); }
52 friend bool operator<(Trigram L, Trigram R) { return L.id() < R.id(); }
72 std::vector<Trigram> &Out);
[all …]
DTrigram.cpp64 Out(Trigram(LowercaseIdentifier[I], LowercaseIdentifier[J], in identifierTrigrams()
71 Out(Trigram(LowercaseIdentifier[0])); in identifierTrigrams()
73 Out(Trigram(LowercaseIdentifier[0], LowercaseIdentifier[1])); in identifierTrigrams()
76 Out(Trigram(LowercaseIdentifier[0], LowercaseIdentifier[I])); in identifierTrigrams()
82 std::vector<Trigram> &Result) { in generateIdentifierTrigrams()
90 identifierTrigrams(Identifier, [&](Trigram T) { in generateIdentifierTrigrams()
95 identifierTrigrams(Identifier, [&](Trigram T) { Result.push_back(T); }); in generateIdentifierTrigrams()
106 return {Token(Token::Kind::Trigram, LowercaseQuery)}; in generateQueryTrigrams()
121 UniqueTrigrams.insert(Token(Token::Kind::Trigram, Chars)); in generateQueryTrigrams()
DDex.cpp48 llvm::DenseMap<Trigram, std::vector<DocID>> TrigramDocs;
53 std::vector<Trigram> TrigramScratch;
62 for (Trigram T : TrigramScratch) in add()
84 Result.try_emplace(Token(Token::Kind::Trigram, E.first.str()), E.second); in build()
204 for (const auto &Trigram : TrigramTokens) in fuzzyFind() local
205 TrigramIterators.push_back(iterator(Trigram)); in fuzzyFind()
DToken.h53 Trigram, enumerator
82 case Kind::Trigram:
/external/llvm-project/clang-tools-extra/clangd/unittests/
DDexTests.cpp254 Token Tok(Token::Kind::Trigram, "L2"); in TEST()
366 return tokensAre(Trigrams, Token::Kind::Trigram); in trigramsAre()
370 std::vector<Trigram> Trigrams; in identifierTrigramTokens()
373 for (Trigram T : Trigrams) in identifierTrigramTokens()
374 Tokens.emplace_back(Token::Kind::Trigram, T.str()); in identifierTrigramTokens()
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/
DBUILD.gn134 "index/dex/Trigram.cpp",
/external/llvm-project/clang-tools-extra/clangd/
DCMakeLists.txt115 index/dex/Trigram.cpp
/external/cldr/tools/java/org/unicode/cldr/draft/
DCategories.txt8490 2630 So Symbol Trigram Yijing TRIGRAM FOR HEAVEN
8491 2631 So Symbol Trigram Yijing TRIGRAM FOR LAKE
8492 2632 So Symbol Trigram Yijing TRIGRAM FOR FIRE
8493 2633 So Symbol Trigram Yijing TRIGRAM FOR THUNDER
8494 2634 So Symbol Trigram Yijing TRIGRAM FOR WIND
8495 2635 So Symbol Trigram Yijing TRIGRAM FOR WATER
8496 2636 So Symbol Trigram Yijing TRIGRAM FOR MOUNTAIN
8497 2637 So Symbol Trigram Yijing TRIGRAM FOR EARTH