Lines Matching refs:matchPtr

285             const BYTE* const matchPtr = prefixPtr + matchIndex - prefixIdx;
286 assert(matchPtr < ip);
288 if (LZ4_read16(iLowLimit + longest - 1) == LZ4_read16(matchPtr - lookBackLength + longest - 1)) {
289 if (LZ4_read32(matchPtr) == pattern) {
290 int const back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, prefixPtr) : 0;
291 matchLength = MINMATCH + (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit);
295 *matchpos = matchPtr + back;
299 const BYTE* const matchPtr = dictStart + (matchIndex - dictIdx);
302 && (LZ4_read32(matchPtr) == pattern) ) {
306 matchLength = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH;
309 back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictStart) : 0;
355 const BYTE* const matchPtr = (extDict ? dictStart - dictIdx : prefixPtr - prefixIdx) + matchCandidateIdx;
356 if (LZ4_read32(matchPtr) == pattern) { /* good candidate */
358 size_t forwardPatternLength = LZ4HC_countPattern(matchPtr+sizeof(pattern), iLimit, pattern) + sizeof(pattern);
359 if (extDict && matchPtr + forwardPatternLength == iLimit) {
364 size_t backLength = LZ4HC_reverseCountPattern(matchPtr, lowestMatchPtr, pattern);
367 && matchPtr - backLength == prefixPtr
425 const BYTE* const matchPtr = dictCtx->prefixStart - dictCtx->dictLimit + dictMatchIndex;
427 if (LZ4_read32(matchPtr) == pattern) {
432 mlt = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH;
433 back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->prefixStart) : 0;
1315 const BYTE* matchPtr = NULL;
1319 int matchLength = LZ4HC_InsertAndGetWiderMatch(ctx, ip, ip, iHighLimit, minLen, &matchPtr, &ip, nbSearches, 1 /*patternAnalysis*/, 1 /*chainSwap*/, dict, favorDecSpeed);
1325 match.off = (int)(ip-matchPtr);