Lines Matching refs:endOnInput
537 endCondition_directive endOnInput, /* endOnOutputSize, endOnInputSize */ in LZ4_decompress_generic() argument
556 const int safeDecode = (endOnInput==endOnInputSize); in LZ4_decompress_generic()
561 const BYTE* const shortiend = iend - (endOnInput ? 14 : 8) /*maxLL*/ - 2 /*offset*/; in LZ4_decompress_generic()
562 const BYTE* const shortoend = oend - (endOnInput ? 14 : 8) /*maxLL*/ - 18 /*maxML*/; in LZ4_decompress_generic()
574 if ((endOnInput) && (unlikely(outputSize==0))) { in LZ4_decompress_generic()
579 if ((!endOnInput) && (unlikely(outputSize==0))) { return (*ip==0 ? 1 : -1); } in LZ4_decompress_generic()
580 if ((endOnInput) && unlikely(srcSize==0)) { return -1; } in LZ4_decompress_generic()
593 if (endOnInput) { assert(ip < iend); } in LZ4_decompress_generic()
597 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
602 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
610 if (endOnInput) { /* LZ4_decompress_safe() */ in LZ4_decompress_generic()
621 if (endOnInput) { /* LZ4_decompress_safe() */ in LZ4_decompress_generic()
647 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
726 assert(!endOnInput || ip <= iend); /* ip < iend before the increment */ in LZ4_decompress_generic()
737 if ( (endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
739 && likely((endOnInput ? ip < shortiend : 1) & (op <= shortoend)) ) { in LZ4_decompress_generic()
741 LZ4_memcpy(op, ip, endOnInput ? 16 : 8); in LZ4_decompress_generic()
772 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
784 if ( ((endOnInput) && ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) ) in LZ4_decompress_generic()
785 || ((!endOnInput) && (cpy>oend-WILDCOPYLENGTH)) ) in LZ4_decompress_generic()
796 assert(endOnInput); in LZ4_decompress_generic()
820 if ((!endOnInput) && (cpy != oend)) { goto _output_error; } in LZ4_decompress_generic()
824 if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) { in LZ4_decompress_generic()
857 … length += read_variable_length(&ip, iend - LASTLITERALS + 1, (int)endOnInput, 0, &error); in LZ4_decompress_generic()
947 if (endOnInput) { in LZ4_decompress_generic()