Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.c207 #define ML_BITS 4 macro
208 #define ML_MASK ((1U<<ML_BITS)-1)
209 #define RUN_BITS (8-ML_BITS)
973 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_generic()
977 else *token = (BYTE)(litLength<<ML_BITS); in LZ4_compress_generic()
1159 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()
1163 *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4_compress_generic()
1718 length = token >> ML_BITS; /* literal length */ in LZ4_decompress_generic()
1846 length = token >> ML_BITS; /* literal length */ in LZ4_decompress_generic()
Dlz4hc.c496 *token = (RUN_MASK << ML_BITS); in LZ4HC_encodeSequence()
500 *token = (BYTE)(length << ML_BITS); in LZ4HC_encodeSequence()
726 *op++ = (RUN_MASK << ML_BITS); in LZ4HC_compress_hashChain()
730 *op++ = (BYTE)(lastRunSize << ML_BITS); in LZ4HC_compress_hashChain()
1518 *op++ = (RUN_MASK << ML_BITS); in LZ4HC_compress_optimal()
1522 *op++ = (BYTE)(lastRunSize << ML_BITS); in LZ4HC_compress_optimal()