Home
last modified time | relevance | path

Searched refs:MINMATCH (Results 1 – 3 of 3) sorted by relevance

/external/lz4/lib/
Dlz4hc.c80 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
86 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-LZ4HC_HASH_LOG))
158 size_t const mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
167 mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch()
212 int mlt = MINMATCH + LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch()
236 mlt = LZ4_count(ip+MINMATCH, matchPtr+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch()
289 length = (int)(matchLength-MINMATCH); in LZ4HC_encodeSequence()
389 if (ip+new_ml > start2 + ml2 - MINMATCH) new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_hashChain()
420 if (ml2 < MINMATCH) { in LZ4HC_compress_hashChain()
452 if (ip + ml > start2 + ml2 - MINMATCH) ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_hashChain()
Dlz4opt.h70 mlen -= MINMATCH; in LZ4HC_sequencePrice()
103 if (ip + MINMATCH > iHighLimit) return 1; in LZ4HC_BinTree_InsertAndGetAllMatches()
239 … match_num = LZ4HC_BinTree_GetAllMatches(ctx, ip, matchlimit, MINMATCH-1, matches, fullUpdate); in LZ4HC_compress_optimal()
252 mlen = (i>0) ? (size_t)matches[i-1].len+1 : MINMATCH; in LZ4HC_compress_optimal()
262 if (last_pos < MINMATCH) { ip++; continue; } in LZ4HC_compress_optimal()
288 … match_num = LZ4HC_BinTree_GetAllMatches(ctx, inr, matchlimit, MINMATCH-1, matches, fullUpdate); in LZ4HC_compress_optimal()
298 mlen = (i>0) ? (size_t)matches[i-1].len+1 : MINMATCH; in LZ4HC_compress_optimal()
Dlz4.c263 #define MINMATCH 4 macro
267 #define MFLIMIT (WILDCOPYLENGTH+MINMATCH)
405 return ((sequence * 2654435761U) >> ((MINMATCH*8)-(LZ4_HASHLOG+1))); in LZ4_hash4()
407 return ((sequence * 2654435761U) >> ((MINMATCH*8)-LZ4_HASHLOG)); in LZ4_hash4()
582 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, limit); in LZ4_compress_generic()
583 ip += MINMATCH + matchCode; in LZ4_compress_generic()
590 matchCode = LZ4_count(ip+MINMATCH, match+MINMATCH, matchlimit); in LZ4_compress_generic()
591 ip += MINMATCH + matchCode; in LZ4_compress_generic()
812 { size_t matchLength = LZ4_count(ip+MINMATCH, match+MINMATCH, matchlimit); in LZ4_compress_destSize_generic()
818 ip += MINMATCH + matchLength; in LZ4_compress_destSize_generic()
[all …]