Lines Matching refs:MINMATCH
69 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
76 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-LZ4HC_HASH_LOG))
259 matchLength = MINMATCH + LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
273 matchLength = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
289 for (pos = 0; pos <= longest - MINMATCH; pos++) { in LZ4HC_InsertAndGetWiderMatch()
363 mlt = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
395 …return LZ4HC_InsertAndGetWiderMatch(hc4, ip, ip, iLimit, MINMATCH-1, matchpos, &uselessPtr, maxNbA… in LZ4HC_InsertAndFindBestMatch()
459 assert(matchLength >= MINMATCH); in LZ4HC_encodeSequence()
460 length = (size_t)(matchLength - MINMATCH); in LZ4HC_encodeSequence()
520 if (ml<MINMATCH) { ip++; continue; } in LZ4HC_compress_hashChain()
561 if (ip+new_ml > start2 + ml2 - MINMATCH) new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_hashChain()
598 if (ml2 < MINMATCH) { in LZ4HC_compress_hashChain()
632 if (ip + ml > start2 + ml2 - MINMATCH) ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_hashChain()
1118 if (mlen >= (int)(ML_MASK+MINMATCH)) in LZ4HC_sequencePrice()
1119 price += 1 + (mlen-(ML_MASK+MINMATCH))/255; in LZ4HC_sequencePrice()
1190 …LZ4HC_match_t const firstMatch = LZ4HC_FindLongerMatch(ctx, ip, matchlimit, MINMATCH-1, nbSearches… in LZ4HC_compress_optimal()
1205 for (rPos = 0 ; rPos < MINMATCH ; rPos++) { in LZ4HC_compress_optimal()
1215 { int mlen = MINMATCH; in LZ4HC_compress_optimal()
1251 && (opt[cur+MINMATCH].price < opt[cur].price + 3/*min seq price*/) ) in LZ4HC_compress_optimal()
1260 …newMatch = LZ4HC_FindLongerMatch(ctx, curPtr, matchlimit, MINMATCH-1, nbSearches, dict, favorDecSp… in LZ4HC_compress_optimal()
1278 for (litlen = 1; litlen < MINMATCH; litlen++) { in LZ4HC_compress_optimal()
1292 int ml = MINMATCH; in LZ4HC_compress_optimal()
1367 assert(ml >= MINMATCH); in LZ4HC_compress_optimal()