Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.c278 #define ML_MASK ((1U<<ML_BITS)-1) macro
597 if (matchCode >= ML_MASK) { in LZ4_compress_generic()
598 *token += ML_MASK; in LZ4_compress_generic()
599 matchCode -= ML_MASK; in LZ4_compress_generic()
820 if (matchLength>=ML_MASK) { in LZ4_compress_destSize_generic()
821 *token += ML_MASK; in LZ4_compress_destSize_generic()
822 matchLength -= ML_MASK; in LZ4_compress_destSize_generic()
1172 length = token & ML_MASK; in LZ4_decompress_generic()
1173 if (length == ML_MASK) { in LZ4_decompress_generic()
Dlz4hc.c80 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
291 if (length>=(int)ML_MASK) { in LZ4HC_encodeSequence()
292 *token += ML_MASK; in LZ4HC_encodeSequence()
293 length -= ML_MASK; in LZ4HC_encodeSequence()
449 if ((start2 - ip) < (int)ML_MASK) { in LZ4HC_compress_hashChain()
Dlz4opt.h71 if (mlen >= (size_t)ML_MASK) price+=8*(1+(mlen-ML_MASK)/255); in LZ4HC_sequencePrice()