Home
last modified time | relevance | path

Searched refs:RUN_MASK (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/lib/lz4/
Dlz4_compress.c313 if (litLength >= RUN_MASK) { in LZ4_compress_generic()
314 int len = (int)litLength - RUN_MASK; in LZ4_compress_generic()
316 *token = (RUN_MASK << ML_BITS); in LZ4_compress_generic()
436 ((lastRun + 255 - RUN_MASK) / 255) > (U32)maxOutputSize)) in LZ4_compress_generic()
439 if (lastRun >= RUN_MASK) { in LZ4_compress_generic()
440 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic()
441 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()
621 if (litLength >= RUN_MASK) { in LZ4_compress_destSize_generic()
622 unsigned int len = litLength - RUN_MASK; in LZ4_compress_destSize_generic()
623 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_destSize_generic()
[all …]
Dlz4hc_compress.c284 if (length >= (int)RUN_MASK) { in LZ4HC_encodeSequence()
287 *token = (RUN_MASK<<ML_BITS); in LZ4HC_encodeSequence()
288 len = length - RUN_MASK; in LZ4HC_encodeSequence()
560 + ((lastRun + 255 - RUN_MASK)/255) in LZ4HC_compress_generic()
565 if (lastRun >= (int)RUN_MASK) { in LZ4HC_compress_generic()
566 *op++ = (RUN_MASK<<ML_BITS); in LZ4HC_compress_generic()
567 lastRun -= RUN_MASK; in LZ4HC_compress_generic()
Dlz4defs.h95 #define RUN_MASK ((1U << RUN_BITS) - 1) macro
Dlz4_decompress.c117 if (length == RUN_MASK) { in LZ4_decompress_generic()
124 ? ip < iend - RUN_MASK in LZ4_decompress_generic()