Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4_zfs.c328 #define LASTLITERALS 5 macro
489 #define matchlimit (iend - LASTLITERALS) in LZ4_compressCtx()
543 if (unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compressCtx()
594 if (unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend)) in LZ4_compressCtx()
679 #define matchlimit (iend - LASTLITERALS) in LZ4_compress64kCtx()
731 if (unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compress64kCtx()
782 if (unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend)) in LZ4_compress64kCtx()
H A Dlz4.c215 #define LASTLITERALS 5 /* see ../doc/lz4_Block_format.md#parsing-restrictions */ macro
646 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
676 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()
783 if ( ((endOnInput) && ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()
856 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
868 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()
931 …if (cpy > oend-LASTLITERALS) { goto _output_error; } /* Error : last LASTLITERALS bytes must be li… in LZ4_decompress_generic()
/freebsd/sys/cddl/contrib/opensolaris/common/lz4/
H A Dlz4.c327 #define LASTLITERALS 5 macro
489 #define matchlimit (iend - LASTLITERALS) in LZ4_compressCtx()
543 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compressCtx()
594 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compressCtx()
684 #define matchlimit (iend - LASTLITERALS) in LZ4_compress64kCtx()
736 if unlikely(op + length + (2 + 1 + LASTLITERALS) + in LZ4_compress64kCtx()
787 if unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend) in LZ4_compress64kCtx()