Lines Matching refs:RUN_MASK
315 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
822 if (litLength >= RUN_MASK) { in LZ4_compress_generic()
823 int len = (int)litLength-RUN_MASK; in LZ4_compress_generic()
824 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_generic()
980 (op + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > olimit)) { in LZ4_compress_generic()
989 if (lastRun >= RUN_MASK) { in LZ4_compress_generic()
990 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic()
991 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()
1463 if ( (endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
1496 if (length == RUN_MASK) { in LZ4_decompress_generic()
1498 … if (unlikely(endOnInput ? ip >= iend-RUN_MASK : 0)) goto _output_error; /* overflow detection */ in LZ4_decompress_generic()
1502 } while ( likely(endOnInput ? ip<iend-RUN_MASK : 1) & (s==255) ); in LZ4_decompress_generic()