Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4.c1095 int endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
1118 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
1124 …if ((endOnInput) && (unlikely(outputSize==0))) return ((inputSize==1) && (*ip==0)) ? 0 : -1; /* E… in LZ4_decompress_generic()
1125 if ((!endOnInput) && (unlikely(outputSize==0))) return (*ip==0?1:-1); in LZ4_decompress_generic()
1140 } while ( likely(endOnInput ? ip<iend-RUN_MASK : 1) & (s==255) ); in LZ4_decompress_generic()
1147 …if ( ((endOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITE… in LZ4_decompress_generic()
1148 || ((!endOnInput) && (cpy>oend-WILDCOPYLENGTH)) ) in LZ4_decompress_generic()
1152 …if ((endOnInput) && (ip+length > iend)) goto _output_error; /* Error : read attempt beyond end o… in LZ4_decompress_generic()
1154 …if ((!endOnInput) && (cpy != oend)) goto _output_error; /* Error : block decoding must stop … in LZ4_decompress_generic()
1155 …if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) goto _output_error; /* Error : input … in LZ4_decompress_generic()
[all …]