Lines Matching refs:RUN_MASK
280 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
557 if (litLength >= RUN_MASK) { in LZ4_compress_generic()
558 int len = (int)litLength-RUN_MASK; in LZ4_compress_generic()
559 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_generic()
640 ((op - (BYTE*)dest) + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > (U32)maxOutputSize) ) in LZ4_compress_generic()
642 if (lastRun >= RUN_MASK) { in LZ4_compress_generic()
643 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic()
644 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()
794 if (litLength>=RUN_MASK) { in LZ4_compress_destSize_generic()
795 unsigned len = litLength - RUN_MASK; in LZ4_compress_destSize_generic()
796 *token=(RUN_MASK<<ML_BITS); in LZ4_compress_destSize_generic()
859 if (lastRunSize >= RUN_MASK) { in LZ4_compress_destSize_generic()
860 size_t accumulator = lastRunSize - RUN_MASK; in LZ4_compress_destSize_generic()
861 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_destSize_generic()
1135 if ((length=(token>>ML_BITS)) == RUN_MASK) { in LZ4_decompress_generic()
1140 } while ( likely(endOnInput ? ip<iend-RUN_MASK : 1) & (s==255) ); in LZ4_decompress_generic()