Lines Matching refs:MatchResult
1075 Pattern::MatchResult Pattern::match(StringRef Buffer, in match()
1079 return MatchResult(Buffer.size(), 0, Error::success()); in match()
1087 return MatchResult(Pos, /*MatchLen=*/FixedStr.size(), Error::success()); in match()
1183 return MatchResult(TheMatch, Error::success()); in match()
1977 Pattern::MatchResult MatchResult, in printMatch() argument
1981 bool HasError = !ExpectedMatch || MatchResult.TheError; in printMatch()
1999 Buffer, MatchResult.TheMatch->Pos, in printMatch()
2000 MatchResult.TheMatch->Len, Diags); in printMatch()
2029 handleAllErrors(std::move(MatchResult.TheError), in printMatch()
2130 Pattern::MatchResult MatchResult, in reportMatchResult() argument
2133 if (MatchResult.TheMatch) in reportMatchResult()
2135 std::move(MatchResult), Req, Diags); in reportMatchResult()
2137 std::move(MatchResult.TheError), Req.VerboseVerbose, in reportMatchResult()
2191 Pattern::MatchResult MatchResult = Pat.match(MatchBuffer, SM); in Check() local
2196 std::move(MatchResult), Req, Diags)) { in Check()
2201 size_t MatchPos = MatchResult.TheMatch->Pos; in Check()
2206 LastMatchEnd += MatchPos + MatchResult.TheMatch->Len; in Check()
2314 Pattern::MatchResult MatchResult = NotInfo->DagNotPat.match(Buffer, SM); in CheckNot() local
2318 std::move(MatchResult), Req, Diags)) { in CheckNot()
2371 Pattern::MatchResult MatchResult = Pat.match(MatchBuffer, SM); in CheckDag() local
2374 if (MatchResult.TheError || Req.VerboseVerbose) { in CheckDag()
2377 std::move(MatchResult), Req, Diags)) { in CheckDag()
2383 MatchLen = MatchResult.TheMatch->Len; in CheckDag()
2386 MatchPos += MatchResult.TheMatch->Pos; in CheckDag()
2439 Pattern::MatchResult(MatchPos, MatchLen, Error::success()), Req, in CheckDag()