Lines Matching refs:matchPtr

252             const BYTE* const matchPtr = base + matchIndex;  in LZ4HC_InsertAndGetWiderMatch()  local
253 assert(matchPtr >= lowPrefixPtr); in LZ4HC_InsertAndGetWiderMatch()
254 assert(matchPtr < ip); in LZ4HC_InsertAndGetWiderMatch()
256 … if (LZ4_read16(iLowLimit + longest - 1) == LZ4_read16(matchPtr - lookBackLength + longest - 1)) { in LZ4HC_InsertAndGetWiderMatch()
257 if (LZ4_read32(matchPtr) == pattern) { in LZ4HC_InsertAndGetWiderMatch()
258 … int const back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, lowPrefixPtr) : 0; in LZ4HC_InsertAndGetWiderMatch()
259 matchLength = MINMATCH + LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
263 *matchpos = matchPtr + back; in LZ4HC_InsertAndGetWiderMatch()
267 const BYTE* const matchPtr = dictBase + matchIndex; in LZ4HC_InsertAndGetWiderMatch() local
268 if (LZ4_read32(matchPtr) == pattern) { in LZ4HC_InsertAndGetWiderMatch()
273 matchLength = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
276 back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictStart) : 0; in LZ4HC_InsertAndGetWiderMatch()
315 const BYTE* const matchPtr = base + matchCandidateIdx; in LZ4HC_InsertAndGetWiderMatch() local
316 if (LZ4_read32(matchPtr) == pattern) { /* good candidate */ in LZ4HC_InsertAndGetWiderMatch()
317 …size_t const forwardPatternLength = LZ4HC_countPattern(matchPtr+sizeof(pattern), iHighLimit, patte… in LZ4HC_InsertAndGetWiderMatch()
319 … size_t const backLength = LZ4HC_reverseCountPattern(matchPtr, lowestMatchPtr, pattern); in LZ4HC_InsertAndGetWiderMatch()
356 const BYTE* const matchPtr = dictCtx->base + dictMatchIndex; in LZ4HC_InsertAndGetWiderMatch() local
358 if (LZ4_read32(matchPtr) == pattern) { in LZ4HC_InsertAndGetWiderMatch()
363 mlt = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
364 …back = lookBackLength ? LZ4HC_countBack(ip, matchPtr, iLowLimit, dictCtx->base + dictCtx->dictLimi… in LZ4HC_InsertAndGetWiderMatch()
1138 const BYTE* matchPtr = NULL; in LZ4HC_FindLongerMatch() local
1142 …int matchLength = LZ4HC_InsertAndGetWiderMatch(ctx, ip, ip, iHighLimit, minLen, &matchPtr, &ip, nb… in LZ4HC_FindLongerMatch()
1148 match.off = (int)(ip-matchPtr); in LZ4HC_FindLongerMatch()