Lines Matching refs:matchLength
274 int matchLength=0; in LZ4HC_InsertAndGetWiderMatch() local
287 … matchLength = MINMATCH + (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
288 matchLength -= back; in LZ4HC_InsertAndGetWiderMatch()
289 if (matchLength > longest) { in LZ4HC_InsertAndGetWiderMatch()
290 longest = matchLength; in LZ4HC_InsertAndGetWiderMatch()
301 matchLength = (int)LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
302 if ((ip+matchLength == vLimit) && (vLimit < iHighLimit)) in LZ4HC_InsertAndGetWiderMatch()
303 matchLength += LZ4_count(ip+matchLength, lowPrefixPtr, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
305 matchLength -= back; in LZ4HC_InsertAndGetWiderMatch()
306 if (matchLength > longest) { in LZ4HC_InsertAndGetWiderMatch()
307 longest = matchLength; in LZ4HC_InsertAndGetWiderMatch()
312 if (chainSwap && matchLength==longest) { /* better match => select a better chain */ in LZ4HC_InsertAndGetWiderMatch()
466 int matchLength, in LZ4HC_encodeSequence() argument
480 U32 const mlAdd = (matchLength>=19) ? ((matchLength-19) / 255) + 1 : 0; in LZ4HC_encodeSequence()
486 (U32)(*ip - *anchor), matchLength, (U32)(*ip-match), in LZ4HC_encodeSequence()
512 assert(matchLength >= MINMATCH); in LZ4HC_encodeSequence()
513 length = (size_t)matchLength - MINMATCH; in LZ4HC_encodeSequence()
526 *ip += matchLength; in LZ4HC_encodeSequence()
1267 …int matchLength = LZ4HC_InsertAndGetWiderMatch(ctx, ip, ip, iHighLimit, minLen, &matchPtr, &ip, nb… in LZ4HC_FindLongerMatch() local
1268 if (matchLength <= minLen) return match; in LZ4HC_FindLongerMatch()
1270 if ((matchLength>18) & (matchLength<=36)) matchLength=18; /* favor shortcut */ in LZ4HC_FindLongerMatch()
1272 match.len = matchLength; in LZ4HC_FindLongerMatch()