Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c494 if (length >= RUN_MASK) { in LZ4HC_encodeSequence()
495 size_t len = length - RUN_MASK; in LZ4HC_encodeSequence()
496 *token = (RUN_MASK << ML_BITS); in LZ4HC_encodeSequence()
712 size_t litLength = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_hashChain()
719 litLength = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_hashChain()
724 if (lastRunSize >= RUN_MASK) { in LZ4HC_compress_hashChain()
725 size_t accumulator = lastRunSize - RUN_MASK; in LZ4HC_compress_hashChain()
726 *op++ = (RUN_MASK << ML_BITS); in LZ4HC_compress_hashChain()
1228 if (litlen >= (int)RUN_MASK) in LZ4HC_literalsPrice()
1229 price += 1 + ((litlen-(int)RUN_MASK) / 255); in LZ4HC_literalsPrice()
[all …]
Dlz4.c210 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
971 if (litLength >= RUN_MASK) { in LZ4_compress_generic()
972 int len = (int)(litLength - RUN_MASK); in LZ4_compress_generic()
973 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_generic()
1146 (op + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > olimit)) { in LZ4_compress_generic()
1157 if (lastRun >= RUN_MASK) { in LZ4_compress_generic()
1158 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic()
1159 *op++ = RUN_MASK << ML_BITS; in LZ4_compress_generic()
1723 if (length == RUN_MASK) { in LZ4_decompress_generic()
1725 length += read_variable_length(&ip, iend-RUN_MASK, endOnInput, endOnInput, &error); in LZ4_decompress_generic()
[all …]