Lines Matching refs:endOnInput
1660 endCondition_directive endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
1679 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
1684 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
1685 const BYTE* const shortoend = oend - (endOnInput ? 14 : 8) /*maxLL*/ - 18 /*maxML*/; in LZ4_decompress_generic()
1697 if ((endOnInput) && (unlikely(outputSize==0))) { in LZ4_decompress_generic()
1702 if ((!endOnInput) && (unlikely(outputSize==0))) { return (*ip==0 ? 1 : -1); } in LZ4_decompress_generic()
1703 if ((endOnInput) && unlikely(srcSize==0)) { return -1; } in LZ4_decompress_generic()
1716 if (endOnInput) { assert(ip < iend); } in LZ4_decompress_generic()
1720 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
1725 length += read_variable_length(&ip, iend-RUN_MASK, endOnInput, endOnInput, &error); in LZ4_decompress_generic()
1733 if (endOnInput) { /* LZ4_decompress_safe() */ in LZ4_decompress_generic()
1744 if (endOnInput) { /* LZ4_decompress_safe() */ in LZ4_decompress_generic()
1770 length += read_variable_length(&ip, iend - LASTLITERALS + 1, endOnInput, 0, &error); in LZ4_decompress_generic()
1848 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
1859 if ( (endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
1861 && likely((endOnInput ? ip < shortiend : 1) & (op <= shortoend)) ) { in LZ4_decompress_generic()
1863 memcpy(op, ip, endOnInput ? 16 : 8); in LZ4_decompress_generic()
1894 length += read_variable_length(&ip, iend-RUN_MASK, endOnInput, endOnInput, &error); in LZ4_decompress_generic()
1906 if ( ((endOnInput) && ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()
1907 || ((!endOnInput) && (cpy>oend-WILDCOPYLENGTH)) ) in LZ4_decompress_generic()
1918 assert(endOnInput); in LZ4_decompress_generic()
1937 if ((!endOnInput) && (cpy != oend)) { goto _output_error; } in LZ4_decompress_generic()
1941 … if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) { goto _output_error; } in LZ4_decompress_generic()
1968 length += read_variable_length(&ip, iend - LASTLITERALS + 1, endOnInput, 0, &error); in LZ4_decompress_generic()
2058 if (endOnInput) { in LZ4_decompress_generic()