Searched refs:MINMATCH (Results 1 – 2 of 2) sorted by relevance
/external/lz4/lib/ |
D | lz4hc.c | 78 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH) 104 #define HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8)-HASH_LOG)) 181 size_t mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 193 mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 243 … const BYTE* const matchEnd = ip + MINMATCH + LZ4_count(ip+MINMATCH, match+MINMATCH, iHighLimit); in LZ4HC_InsertAndGetWiderMatch() 264 mlt = LZ4_count(ip+MINMATCH, match+MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndGetWiderMatch() 317 length = (int)(matchLength-MINMATCH); in LZ4HC_encodeSequence() 421 if (ip+new_ml > start2 + ml2 - MINMATCH) new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_generic() 457 if (ml2 < MINMATCH) in LZ4HC_compress_generic() 492 if (ip + ml > start2 + ml2 - MINMATCH) ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_generic()
|
D | lz4.c | 298 #define MINMATCH 4 macro 302 #define MFLIMIT (COPYLENGTH+MINMATCH) 462 return (((sequence) * 2654435761U) >> ((MINMATCH*8)-(LZ4_HASHLOG+1))); in LZ4_hashSequence() 464 return (((sequence) * 2654435761U) >> ((MINMATCH*8)-LZ4_HASHLOG)); in LZ4_hashSequence() 632 matchLength = LZ4_count(ip+MINMATCH, match+MINMATCH, limit); in LZ4_compress_generic() 633 ip += MINMATCH + matchLength; in LZ4_compress_generic() 643 matchLength = LZ4_count(ip+MINMATCH, match+MINMATCH, matchlimit); in LZ4_compress_generic() 644 ip += MINMATCH + matchLength; in LZ4_compress_generic() 789 if (dictSize < MINMATCH) in LZ4_loadDict() 802 while (p <= dictEnd-MINMATCH) in LZ4_loadDict() [all …]
|