Lines Matching refs:RUN_MASK
237 #define RUN_MASK ((1U << RUN_BITS) - 1) macro
1364 if (litLength >= RUN_MASK) in LZ4_compress_generic_validated()
1366 int len = (int)(litLength - RUN_MASK); in LZ4_compress_generic_validated()
1367 *token = (RUN_MASK << ML_BITS); in LZ4_compress_generic_validated()
1579 (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > olimit)) in LZ4_compress_generic_validated()
1586 lastRun -= (lastRun + 256 - RUN_MASK) / 256; /*additional length tokens*/ in LZ4_compress_generic_validated()
1595 if (lastRun >= RUN_MASK) in LZ4_compress_generic_validated()
1597 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic_validated()
1598 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic_validated()
2301 if (length == RUN_MASK) in LZ4_decompress_generic()
2304 … length += read_variable_length(&ip, iend - RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
2512 if ((endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
2547 if (length == RUN_MASK) in LZ4_decompress_generic()
2550 … length += read_variable_length(&ip, iend - RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()