Lines Matching refs:matchLength
246 int matchLength=0; in LZ4HC_InsertAndGetWiderMatch() local
259 matchLength = MINMATCH + LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
260 matchLength -= back; in LZ4HC_InsertAndGetWiderMatch()
261 if (matchLength > longest) { in LZ4HC_InsertAndGetWiderMatch()
262 longest = matchLength; in LZ4HC_InsertAndGetWiderMatch()
273 matchLength = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
274 if ((ip+matchLength == vLimit) && (vLimit < iHighLimit)) in LZ4HC_InsertAndGetWiderMatch()
275 matchLength += LZ4_count(ip+matchLength, lowPrefixPtr, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
277 matchLength -= back; in LZ4HC_InsertAndGetWiderMatch()
278 if (matchLength > longest) { in LZ4HC_InsertAndGetWiderMatch()
279 longest = matchLength; in LZ4HC_InsertAndGetWiderMatch()
284 if (chainSwap && matchLength==longest) { /* better match => select a better chain */ in LZ4HC_InsertAndGetWiderMatch()
413 int matchLength, in LZ4HC_encodeSequence() argument
427 U32 const mlAdd = (matchLength>=19) ? ((matchLength-19) / 255) + 1 : 0; in LZ4HC_encodeSequence()
433 (U32)(*ip - *anchor), matchLength, (U32)(*ip-match), in LZ4HC_encodeSequence()
459 assert(matchLength >= MINMATCH); in LZ4HC_encodeSequence()
460 length = (size_t)(matchLength - MINMATCH); in LZ4HC_encodeSequence()
473 *ip += matchLength; in LZ4HC_encodeSequence()
1142 …int matchLength = LZ4HC_InsertAndGetWiderMatch(ctx, ip, ip, iHighLimit, minLen, &matchPtr, &ip, nb… in LZ4HC_FindLongerMatch() local
1143 if (matchLength <= minLen) return match; in LZ4HC_FindLongerMatch()
1145 if ((matchLength>18) & (matchLength<=36)) matchLength=18; /* favor shortcut */ in LZ4HC_FindLongerMatch()
1147 match.len = matchLength; in LZ4HC_FindLongerMatch()