Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4.c536 endCondition_directive endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
555 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
560 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
561 const BYTE* const shortoend = oend - (endOnInput ? 14 : 8) /*maxLL*/ - 18 /*maxML*/; in LZ4_decompress_generic()
573 if ((endOnInput) && (unlikely(outputSize==0))) { in LZ4_decompress_generic()
578 if ((!endOnInput) && (unlikely(outputSize==0))) { return (*ip==0 ? 1 : -1); } in LZ4_decompress_generic()
579 if ((endOnInput) && unlikely(srcSize==0)) { return -1; } in LZ4_decompress_generic()
592 if (endOnInput) { assert(ip < iend); } in LZ4_decompress_generic()
596 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
601 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
[all …]