Searched refs:LASTLITERALS (Results 1 – 3 of 3) sorted by relevance
32 #define LASTLITERALS 5 macro130 …ndOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()162 if ((endOnInput) && (ip > iend-LASTLITERALS)) goto _output_error; in LZ4_decompress_generic()173 …if (unlikely(op+length > oend-LASTLITERALS)) goto _output_error; /* doesn't respect parsing rest… in LZ4_decompress_generic()219 …if (cpy > oend-LASTLITERALS) goto _output_error; /* Error : last LASTLITERALS bytes must be lit… in LZ4_decompress_generic()
440 …if ((limit) && ((*op + (length >> 8) + length + (2 + 1 + LASTLITERALS)) > oend)) return 1; /* Ch… in LZ4HC_encodeSequence()461 …if ((limit) && (*op + (length >> 8) + (1 + LASTLITERALS) > oend)) return 1; /* Check output limi… in LZ4HC_encodeSequence()497 const BYTE* const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_hashChain()514 …if (limit == limitedDestSize) oend -= LASTLITERALS; /* Hack for support LZ4 forma… in LZ4HC_compress_hashChain()661 if (limit == limitedDestSize) oend += LASTLITERALS; /* restore correct value */ in LZ4HC_compress_hashChain()1172 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4HC_compress_optimal()1180 …if (limit == limitedDestSize) oend -= LASTLITERALS; /* Hack for support LZ4 format restriction */ in LZ4HC_compress_optimal()1380 if (limit == limitedDestSize) oend += LASTLITERALS; /* restore correct value */ in LZ4HC_compress_optimal()
300 #define LASTLITERALS 5 /* see ../doc/lz4_Block_format.md#parsing-restrictions */ macro681 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic()815 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength/255) > olimit))) in LZ4_compress_generic()887 (unlikely(op + (1 + LASTLITERALS) + (matchCode>>8) > olimit)) ) { in LZ4_compress_generic()892 …oken */ - 1 /* to avoid needing a zero byte */ + ((U32)(olimit - op) - 2 - 1 - LASTLITERALS) * 255; in LZ4_compress_generic()1510 if ( ((endOnInput) && ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()1552 if ((endOnInput) && (ip > iend-LASTLITERALS)) goto _output_error; in LZ4_decompress_generic()1561 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()1622 …if (cpy > oend-LASTLITERALS) goto _output_error; /* Error : last LASTLITERALS bytes must be lit… in LZ4_decompress_generic()