Home
last modified time | relevance | path

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

/external/u-boot/lib/
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()
141 …if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) goto _output_error; /* Error : input … in LZ4_decompress_generic()
[all …]
/external/lz4/lib/
Dlz4.c1409 endCondition_directive endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
1428 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
1432 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
1433 const BYTE* const shortoend = oend - (endOnInput ? 14 : 8) /*maxLL*/ - 18 /*maxML*/; in LZ4_decompress_generic()
1440 …if ((endOnInput) && (unlikely(outputSize==0))) return ((srcSize==1) && (*ip==0)) ? 0 : -1; /* Emp… in LZ4_decompress_generic()
1441 if ((!endOnInput) && (unlikely(outputSize==0))) return (*ip==0 ? 1 : -1); in LZ4_decompress_generic()
1442 if ((endOnInput) && unlikely(srcSize==0)) return -1; in LZ4_decompress_generic()
1452 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
1463 if ( (endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
1465 && likely((endOnInput ? ip < shortiend : 1) & (op <= shortoend)) ) { in LZ4_decompress_generic()
[all …]