Lines Matching refs:oend

551         BYTE* const oend = op + outputSize;  in LZ4_decompress_generic()  local
562 const BYTE* const shortoend = oend - (endOnInput ? 14 : 8) /*maxLL*/ - 18 /*maxML*/; in LZ4_decompress_generic()
584 if ((oend - op) < FASTLOOP_SAFE_DISTANCE) { in LZ4_decompress_generic()
592 assert(oend - op >= FASTLOOP_SAFE_DISTANCE); in LZ4_decompress_generic()
611 if ((cpy>oend-32) || (ip+length>iend-32)) { goto safe_literal_copy; } in LZ4_decompress_generic()
614 if (cpy>oend-8) { goto safe_literal_copy; } in LZ4_decompress_generic()
651 if (op + length >= oend - FASTLOOP_SAFE_DISTANCE) { in LZ4_decompress_generic()
656 if (op + length >= oend - FASTLOOP_SAFE_DISTANCE) { in LZ4_decompress_generic()
665 assert(op + 18 <= oend); in LZ4_decompress_generic()
677 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()
680 length = MIN(length, (size_t)(oend-op)); in LZ4_decompress_generic()
709 assert((op <= oend) && (oend-op >= 32)); 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()
799 … DEBUGLOG(7, "partialDecoding: remaining space in dstBuffer : %i", (int)(oend - op)); in LZ4_decompress_generic()
811 if (cpy > oend) { in LZ4_decompress_generic()
812 cpy = oend; in LZ4_decompress_generic()
813 assert(op<=oend); in LZ4_decompress_generic()
814 length = (size_t)(oend-op); 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()
827 DEBUGLOG(6, "or cpy(%p) > oend(%p)", cpy, oend); in LZ4_decompress_generic()
839 if (!partialDecoding || (cpy == oend) || (ip >= (iend-2))) { in LZ4_decompress_generic()
869 if (unlikely(op+length > oend-LASTLITERALS)) { in LZ4_decompress_generic()
870 if (partialDecoding) length = MIN(length, (size_t)(oend-op)); in LZ4_decompress_generic()
900 assert(op<=oend); in LZ4_decompress_generic()
901 if (partialDecoding && (cpy > oend-MATCH_SAFEGUARD_DISTANCE)) { in LZ4_decompress_generic()
902 size_t const mlen = MIN(length, (size_t)(oend-op)); in LZ4_decompress_generic()
911 if (op == oend) { break; } in LZ4_decompress_generic()
930 if (unlikely(cpy > oend-MATCH_SAFEGUARD_DISTANCE)) { in LZ4_decompress_generic()
931 BYTE* const oCopyLimit = oend - (WILDCOPYLENGTH-1); in LZ4_decompress_generic()
932 …if (cpy > oend-LASTLITERALS) { goto _output_error; } /* Error : last LASTLITERALS bytes must be li… in LZ4_decompress_generic()