Lines Matching refs:RUN_MASK
441 if (length >= RUN_MASK) { in LZ4HC_encodeSequence()
442 size_t len = length - RUN_MASK; in LZ4HC_encodeSequence()
443 *token = (RUN_MASK << ML_BITS); in LZ4HC_encodeSequence()
659 size_t litLength = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_hashChain()
666 litLength = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_hashChain()
671 if (lastRunSize >= RUN_MASK) { in LZ4HC_compress_hashChain()
672 size_t accumulator = lastRunSize - RUN_MASK; in LZ4HC_compress_hashChain()
673 *op++ = (RUN_MASK << ML_BITS); in LZ4HC_compress_hashChain()
1105 if (litlen >= (int)RUN_MASK) in LZ4HC_literalsPrice()
1106 price += 1 + (litlen-RUN_MASK)/255; in LZ4HC_literalsPrice()
1378 size_t litLength = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_optimal()
1385 litLength = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_optimal()
1390 if (lastRunSize >= RUN_MASK) { in LZ4HC_compress_optimal()
1391 size_t accumulator = lastRunSize - RUN_MASK; in LZ4HC_compress_optimal()
1392 *op++ = (RUN_MASK << ML_BITS); in LZ4HC_compress_optimal()