Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4.c233 #define ML_MASK ((1U<<ML_BITS)-1) macro
1123 if (matchCode >= ML_MASK) { in LZ4_compress_generic_validated()
1124 *token += ML_MASK; in LZ4_compress_generic_validated()
1125 matchCode -= ML_MASK; in LZ4_compress_generic_validated()
1849 length = token & ML_MASK; in LZ4_decompress_generic()
1851 if (length == ML_MASK) { in LZ4_decompress_generic()
1953 length = token & ML_MASK; /* match length */ in LZ4_decompress_generic()
1959 if ( (length != ML_MASK) in LZ4_decompress_generic()
2059 length = token & ML_MASK; in LZ4_decompress_generic()
2062 if (length == ML_MASK) { in LZ4_decompress_generic()
Dlz4hc.c75 #define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
529 if (length >= ML_MASK) { in LZ4HC_encodeSequence()
530 *token += ML_MASK; in LZ4HC_encodeSequence()
531 length -= ML_MASK; in LZ4HC_encodeSequence()
774 size_t const maxMlSize = MINMATCH + (ML_MASK-1) + (bytesLeftForMl * 255); in LZ4HC_compress_hashChain()
1279 if (mlen >= (int)(ML_MASK+MINMATCH)) in LZ4HC_sequencePrice()
1280 price += 1 + ((mlen-(int)(ML_MASK+MINMATCH)) / 255); in LZ4HC_sequencePrice()
1599 size_t const maxMlSize = MINMATCH + (ML_MASK-1) + (bytesLeftForMl * 255); in LZ4HC_compress_optimal()