Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.c948 int endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
971 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
977 …if ((endOnInput) && (unlikely(outputSize==0))) return ((inputSize==1) && (*ip==0)) ? 0 : -1; /* E… in LZ4_decompress_generic()
978 if ((!endOnInput) && (unlikely(outputSize==0))) return (*ip==0?1:-1); in LZ4_decompress_generic()
998 while (likely((endOnInput)?ip<iend-RUN_MASK:1) && (s==255)); in LZ4_decompress_generic()
1005 …if (((endOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITER… in LZ4_decompress_generic()
1006 || ((!endOnInput) && (cpy>oend-COPYLENGTH))) in LZ4_decompress_generic()
1011 …if ((endOnInput) && (ip+length > iend)) goto _output_error; /* Error : read attempt beyond end o… in LZ4_decompress_generic()
1015 …if ((!endOnInput) && (cpy != oend)) goto _output_error; /* Error : block decoding must stop … in LZ4_decompress_generic()
1016 …if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) goto _output_error; /* Error : input … in LZ4_decompress_generic()
[all …]