Lines Matching refs:cMatches
113 * @param cMatches The resync length.
120 static size_t scmDiffReport(PSCMDIFFSTATE pState, size_t cMatches,
187 ScmStreamSeekByLine(pState->pLeft, iLeft + cLeft + cMatches);
188 ScmStreamSeekByLine(pState->pRight, iRight + cRight + cMatches);
279 * Upon return, the streams will be positioned after the block of @a cMatches
284 * @param cMatches The number of lines that needs to match for the
287 static size_t scmDiffSynchronize(PSCMDIFFSTATE pState, size_t cMatches)
291 Assert(cMatches > 0);
309 for (size_t iRight = cMatches - 1; iRight < iRange; iRight++)
317 iStartLeft + iRange + 1 - cMatches,
318 iStartRight + iRight + 1 - cMatches,
319 cMatches - 1)
321 return scmDiffReport(pState, cMatches,
322 iStartLeft, iRange + 1 - cMatches,
323 iStartRight, iRight + 1 - cMatches);
334 for (size_t iLeft = cMatches - 1; iLeft <= iRange; iLeft++)
342 iStartLeft + iLeft + 1 - cMatches,
343 iStartRight + iRange + 1 - cMatches,
344 cMatches - 1)
346 return scmDiffReport(pState, cMatches,
347 iStartLeft, iLeft + 1 - cMatches,
348 iStartRight, iRange + 1 - cMatches);