Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c441 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()
[all …]
Dlz4.c315 #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()
[all …]
/external/u-boot/lib/
Dlz4.c46 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
115 if ((length=(token>>ML_BITS)) == RUN_MASK) in LZ4_decompress_generic()
123 while (likely((endOnInput)?ip<iend-RUN_MASK:1) && (s==255)); in LZ4_decompress_generic()