Searched refs:ML_BITS (Results 1 – 3 of 3) sorted by relevance
277 #define ML_BITS 4 macro278 #define ML_MASK ((1U<<ML_BITS)-1)279 #define RUN_BITS (8-ML_BITS)559 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_generic()563 else *token = (BYTE)(litLength<<ML_BITS); in LZ4_compress_generic()644 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()648 *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4_compress_generic()796 *token=(RUN_MASK<<ML_BITS); in LZ4_compress_destSize_generic()800 else *token = (BYTE)(litLength<<ML_BITS); in LZ4_compress_destSize_generic()861 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_destSize_generic()[all …]
278 …if (length>=(int)RUN_MASK) { int len; *token=(RUN_MASK<<ML_BITS); len = length-RUN_MASK; for(; len… in LZ4HC_encodeSequence()279 else *token = (BYTE)(length<<ML_BITS); in LZ4HC_encodeSequence()479 …if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; … in LZ4HC_compress_hashChain()480 else *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4HC_compress_hashChain()
355 …if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; … in LZ4HC_compress_optimal()356 else *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4HC_compress_optimal()