Lines Matching refs:endOnInput
1409 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()
1467 memcpy(op, ip, endOnInput ? 16 : 8); in LZ4_decompress_generic()
1498 … if (unlikely(endOnInput ? ip >= iend-RUN_MASK : 0)) goto _output_error; /* overflow detection */ in LZ4_decompress_generic()
1502 } while ( likely(endOnInput ? ip<iend-RUN_MASK : 1) & (s==255) ); in LZ4_decompress_generic()
1510 if ( ((endOnInput) && ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()
1511 || ((!endOnInput) && (cpy>oend-WILDCOPYLENGTH)) ) in LZ4_decompress_generic()
1515 …if ((endOnInput) && (ip+length > iend)) goto _output_error; /* Error : read attempt beyond end o… in LZ4_decompress_generic()
1517 …if ((!endOnInput) && (cpy != oend)) goto _output_error; /* Error : block decoding must stop … in LZ4_decompress_generic()
1518 …if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) goto _output_error; /* Error : input … in LZ4_decompress_generic()
1552 if ((endOnInput) && (ip > iend-LASTLITERALS)) goto _output_error; in LZ4_decompress_generic()
1637 if (endOnInput) in LZ4_decompress_generic()