Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.c266 #define LASTLITERALS 5 macro
481 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic()
555 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength/255) > olimit))) in LZ4_compress_generic()
595 (unlikely(op + (1 + LASTLITERALS) + (matchCode>>8) > olimit)) ) in LZ4_compress_generic()
735 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4_compress_destSize_generic()
740 BYTE* const oMaxMatch = op + targetDstSize - (LASTLITERALS + 1 /* token */); in LZ4_compress_destSize_generic()
1147 …ndOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()
1177 if ((endOnInput) && (ip > iend-LASTLITERALS)) goto _output_error; in LZ4_decompress_generic()
1186 …if (unlikely(op+length > oend-LASTLITERALS)) goto _output_error; /* doesn't respect parsing rest… in LZ4_decompress_generic()
1225 …if (cpy > oend-LASTLITERALS) goto _output_error; /* Error : last LASTLITERALS bytes must be lit… in LZ4_decompress_generic()
Dlz4hc.c277 …if ((limitedOutputBuffer) && ((*op + (length>>8) + length + (2 + 1 + LASTLITERALS)) > oend)) retur… in LZ4HC_encodeSequence()
290 …if ((limitedOutputBuffer) && (*op + (length>>8) + (1 + LASTLITERALS) > oend)) return 1; /* Check… in LZ4HC_encodeSequence()
324 const BYTE* const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_hashChain()
578 LZ4HC_updateBinTree(ctxPtr, ctxPtr->end - MFLIMIT, ctxPtr->end - LASTLITERALS); in LZ4_loadDictHC()
590 LZ4HC_updateBinTree(ctxPtr, ctxPtr->end - MFLIMIT, ctxPtr->end - LASTLITERALS); in LZ4HC_setExternalDict()
Dlz4opt.h226 const BYTE* const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_optimal()