Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c75 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
533 if (length >= ML_MASK) { in LZ4HC_encodeSequence()
534 *token += ML_MASK; in LZ4HC_encodeSequence()
535 length -= ML_MASK; in LZ4HC_encodeSequence()
778 size_t const maxMlSize = MINMATCH + (ML_MASK-1) + (bytesLeftForMl * 255); in LZ4HC_compress_hashChain()
1295 if (mlen >= (int)(ML_MASK+MINMATCH)) in LZ4HC_sequencePrice()
1296 price += 1 + ((mlen-(int)(ML_MASK+MINMATCH)) / 255); in LZ4HC_sequencePrice()
1615 size_t const maxMlSize = MINMATCH + (ML_MASK-1) + (bytesLeftForMl * 255); in LZ4HC_compress_optimal()
Dlz4.c259 #define ML_MASK ((1U<<ML_BITS)-1) macro
1184 if (matchCode >= ML_MASK) { in LZ4_compress_generic_validated()
1185 *token += ML_MASK; in LZ4_compress_generic_validated()
1186 matchCode -= ML_MASK; in LZ4_compress_generic_validated()
2033 length = token & ML_MASK; in LZ4_decompress_generic()
2035 if (length == ML_MASK) { in LZ4_decompress_generic()
2137 length = token & ML_MASK; /* match length */ in LZ4_decompress_generic()
2143 if ( (length != ML_MASK) in LZ4_decompress_generic()
2236 length = token & ML_MASK; in LZ4_decompress_generic()
2239 if (length == ML_MASK) { in LZ4_decompress_generic()