Searched refs:LASTLITERALS (Results 1 – 2 of 2) sorted by relevance
192 #define LASTLITERALS 5 /* see ../doc/lz4_Block_format.md#parsing-restrictions */ macro822 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4_compress_generic()963 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength/255) > olimit)) ) { in LZ4_compress_generic()1036 (unlikely(op + (1 + LASTLITERALS) + (matchCode+240)/255 > olimit)) ) { in LZ4_compress_generic()1039 …in token */ - 1 /* to avoid needing a zero byte */ + ((U32)(olimit - op) - 1 - LASTLITERALS) * 255; in LZ4_compress_generic()1076 assert(!(outputDirective == fillOutput && op + 1 + LASTLITERALS > olimit)); in LZ4_compress_generic()1770 length += read_variable_length(&ip, iend - LASTLITERALS + 1, endOnInput, 0, &error); in LZ4_decompress_generic()1800 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()1906 if ( ((endOnInput) && ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()1922 … if ((ip+length>iend-(2+1+LASTLITERALS)) && (ip+length != iend)) { goto _output_error; } in LZ4_decompress_generic()[all …]
493 …if ((limit) && ((*op + (length / 255) + length + (2 + 1 + LASTLITERALS)) > oend)) return 1; /* C… in LZ4HC_encodeSequence()514 …if ((limit) && (*op + (length / 255) + (1 + LASTLITERALS) > oend)) return 1; /* Check output lim… in LZ4HC_encodeSequence()550 const BYTE* const matchlimit = (iend - LASTLITERALS); in LZ4HC_compress_hashChain()567 …if (limit == fillOutput) oend -= LASTLITERALS; /* Hack for support LZ4 format res… in LZ4HC_compress_hashChain()714 if (limit == fillOutput) oend += LASTLITERALS; /* restore correct value */ in LZ4HC_compress_hashChain()1297 const BYTE* const matchlimit = iend - LASTLITERALS; in LZ4HC_compress_optimal()1305 if (limit == fillOutput) oend -= LASTLITERALS; /* Hack for support LZ4 format restriction */ in LZ4HC_compress_optimal()1506 if (limit == fillOutput) oend += LASTLITERALS; /* restore correct value */ in LZ4HC_compress_optimal()