Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dlz4.c73 int endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
96 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
102 …if ((endOnInput) && (unlikely(outputSize==0))) return ((inputSize==1) && (*ip==0)) ? 0 : -1; /* E… in LZ4_decompress_generic()
103 if ((!endOnInput) && (unlikely(outputSize==0))) return (*ip==0?1:-1); in LZ4_decompress_generic()
123 while (likely((endOnInput)?ip<iend-RUN_MASK:1) && (s==255)); in LZ4_decompress_generic()
130 …if (((endOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITER… in LZ4_decompress_generic()
131 || ((!endOnInput) && (cpy>oend-COPYLENGTH))) in LZ4_decompress_generic()
136 …if ((endOnInput) && (ip+length > iend)) goto _output_error; /* Error : read attempt beyond end o… in LZ4_decompress_generic()
140 …if ((!endOnInput) && (cpy != oend)) goto _output_error; /* Error : block decoding must stop … in LZ4_decompress_generic()
162 if ((endOnInput) && (ip > iend-LASTLITERALS)) goto _output_error; in LZ4_decompress_generic()
[all …]
/openbmc/linux/lib/lz4/
H A Dlz4_decompress.c70 endCondition_directive endOnInput, in LZ4_decompress_generic() argument
99 (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
117 if ((endOnInput) && unlikely(srcSize == 0)) in LZ4_decompress_generic()
131 assert(!endOnInput || ip <= iend); in LZ4_decompress_generic()
156 LZ4_memcpy(op, ip, endOnInput ? 16 : 8); in LZ4_decompress_generic()
202 } while (likely(endOnInput in LZ4_decompress_generic()
224 if (((endOnInput) && ((cpy > oend - MFLIMIT) in LZ4_decompress_generic()
236 if ((endOnInput) in LZ4_decompress_generic()
246 if ((!endOnInput) in LZ4_decompress_generic()
255 if ((endOnInput) in LZ4_decompress_generic()
[all …]