Lines Matching refs:MatchPos
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()
1261 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in CheckDag()
1269 LastPos = std::max(MatchPos + MatchLen, LastPos); in CheckDag()
1399 size_t MatchPos = CheckStr.Check(SM, CheckRegion, false, MatchLen, in main() local
1402 if (MatchPos == StringRef::npos) { in main()
1408 CheckRegion = CheckRegion.substr(MatchPos + MatchLen); in main()