Lines Matching defs:LASTLITERALS
243 #define LASTLITERALS 5 /* see ../doc/lz4_Block_format.md#parsing-restrictions */
943 const BYTE* const matchlimit = iend - LASTLITERALS;
1086 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength/255) > olimit)) ) {
1159 (unlikely(op + (1 + LASTLITERALS) + (matchCode+240)/255 > olimit)) ) {
1162 U32 newMatchCode = 15 /* in token */ - 1 /* to avoid needing a zero byte */ + ((U32)(olimit - op) - 1 - LASTLITERALS) * 255;
1199 assert(!(outputDirective == fillOutput && op + 1 + LASTLITERALS > olimit));
1882 if ((size_t)(oend-op) < LASTLITERALS) {
1885 * last match must stop at least LASTLITERALS==5 bytes before end of output block */
2036 size_t const addl = read_variable_length(&ip, iend - LASTLITERALS + 1, 0);
2069 if (unlikely(op+length > oend-LASTLITERALS)) {
2175 if ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) {
2240 size_t const addl = read_variable_length(&ip, iend - LASTLITERALS + 1, 0);
2254 if (unlikely(op+length > oend-LASTLITERALS)) {
2317 if (cpy > oend-LASTLITERALS) { goto _output_error; } /* Error : last LASTLITERALS bytes must be literals (uncompressed) */