Searched refs:MatchPos (Results 1 – 4 of 4) sorted by relevance
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 1082 size_t MatchPos = Pat.Match(MatchBuffer, MatchLen, VariableTable); in Check() local 1083 if (MatchPos == StringRef::npos) { in Check() 1091 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check() 1109 return LastPos + MatchPos; in Check() 1222 size_t MatchLen = 0, MatchPos; in CheckDag() local 1226 MatchPos = Pat.Match(MatchBuffer, MatchLen, VariableTable); in CheckDag() 1229 if (MatchPos == StringRef::npos) { in CheckDag() 1234 MatchPos += StartPos; in CheckDag() 1237 if (MatchPos < LastPos) { in CheckDag() 1239 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data() + MatchPos), in CheckDag() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | FileCheck.cpp | 1276 int MatchedCount, StringRef Buffer, size_t MatchPos, in PrintMatch() argument 1293 SM, Loc, Pat.getCheckTy(), Buffer, MatchPos, MatchLen, Diags); in PrintMatch() 1313 StringRef Buffer, size_t MatchPos, size_t MatchLen, in PrintMatch() argument 1317 MatchedCount, Buffer, MatchPos, MatchLen, Req, Diags); in PrintMatch() 1446 size_t MatchPos = *MatchResult; in Check() local 1447 PrintMatch(true, SM, *this, i, MatchBuffer, MatchPos, CurrentMatchLen, Req, in Check() 1450 FirstMatchPos = LastPos + MatchPos; in Check() 1453 LastMatchEnd += MatchPos + CurrentMatchLen; in Check() 1461 size_t MatchPos = FirstMatchPos - LastPos; in Check() local 1463 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check() [all …]
|
/external/llvm-project/llvm/lib/FileCheck/ |
D | FileCheck.cpp | 1968 int MatchedCount, StringRef Buffer, size_t MatchPos, in PrintMatch() argument 1986 Buffer, MatchPos, MatchLen, Diags); in PrintMatch() 2011 StringRef Buffer, size_t MatchPos, size_t MatchLen, in PrintMatch() argument 2015 MatchedCount, Buffer, MatchPos, MatchLen, Req, Diags); in PrintMatch() 2147 size_t MatchPos = *MatchResult; in Check() local 2148 PrintMatch(true, SM, *this, i, MatchBuffer, MatchPos, CurrentMatchLen, Req, in Check() 2151 FirstMatchPos = LastPos + MatchPos; in Check() 2154 LastMatchEnd += MatchPos + CurrentMatchLen; in Check() 2162 size_t MatchPos = FirstMatchPos - LastPos; in Check() local 2164 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ClangdTests.cpp | 138 auto MatchPos = Matches[0].data() - Pending.data(); in replacePtrsInDump() local 140 Result += Pending.take_front(MatchPos); in replacePtrsInDump() 141 Pending = Pending.drop_front(MatchPos + Matches[0].size()); in replacePtrsInDump()
|