Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c306 …if (length>=(int)RUN_MASK) { int len; *token=(RUN_MASK<<ML_BITS); len = length-RUN_MASK; for(; len… in LZ4HC_encodeSequence()
522 …if ((limit) && (((char*)op - dest) + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > (U32)maxOutputSi… in LZ4HC_compress_generic()
523 …if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; … in LZ4HC_compress_generic()
Dlz4.c315 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
604 if (litLength>=RUN_MASK) in LZ4_compress_generic()
606 int len = (int)litLength-RUN_MASK; in LZ4_compress_generic()
607 *token=(RUN_MASK<<ML_BITS); in LZ4_compress_generic()
697 …if ((outputLimited) && (((char*)op - dest) + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > (U32)max… in LZ4_compress_generic()
699 …if (lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun >= 255 ;… in LZ4_compress_generic()
990 if ((length=(token>>ML_BITS)) == RUN_MASK) in LZ4_decompress_generic()
998 while (likely((endOnInput)?ip<iend-RUN_MASK:1) && (s==255)); in LZ4_decompress_generic()