Lines Matching refs:Trigram
37 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);
90 template <> struct DenseMapInfo<clang::clangd::dex::Trigram> {
91 using Trigram = clang::clangd::dex::Trigram;
92 static inline Trigram getEmptyKey() {
93 return Trigram(Trigram::Sentinel::Empty);
95 static inline Trigram getTombstoneKey() {
96 return Trigram(Trigram::Sentinel::Tombstone);
98 static unsigned getHashValue(Trigram V) {
108 static bool isEqual(const Trigram &LHS, const Trigram &RHS) {