Lines Matching refs:oend

1807     BYTE* const oend = ostart + decompressedSize;
1823 if ((size_t)(oend-op) < ll) return -1; /* output buffer overflow */
1827 if ((size_t)(oend-op) < MFLIMIT) {
1828 if (op==oend) break; /* end of block */
1829 DEBUGLOG(5, "invalid: literals end at distance %zi from end of block", oend-op);
1846 if ((size_t)(oend-op) < ml) return -1; /* output buffer overflow */
1882 if ((size_t)(oend-op) < LASTLITERALS) {
1883 DEBUGLOG(5, "invalid: match ends at distance %zi from end of block", oend-op);
1956 BYTE* const oend = op + outputSize;
1966 const BYTE* const shortoend = oend - 14 /*maxLL*/ - 18 /*maxML*/;
1990 if ((oend - op) < FASTLOOP_SAFE_DISTANCE) {
1995 /* Fast loop : decode sequences as long as output < oend-FASTLOOP_SAFE_DISTANCE */
1998 assert(oend - op >= FASTLOOP_SAFE_DISTANCE);
2014 if ((cpy>oend-32) || (ip+length>iend-32)) { goto safe_literal_copy; }
2020 /* We don't need to check oend, since we check it once for each loop below */
2042 if (op + length >= oend - FASTLOOP_SAFE_DISTANCE) {
2047 if (op + length >= oend - FASTLOOP_SAFE_DISTANCE) {
2056 assert(op + 18 <= oend);
2069 if (unlikely(op+length > oend-LASTLITERALS)) {
2072 length = MIN(length, (size_t)(oend-op));
2101 assert((op <= oend) && (oend-op >= 32));
2175 if ((cpy>oend-MFLIMIT) || (ip+length>iend-(2+1+LASTLITERALS))) {
2187 DEBUGLOG(7, "partialDecoding: remaining space in dstBuffer : %i", (int)(oend - op));
2199 if (cpy > oend) {
2200 cpy = oend;
2201 assert(op<=oend);
2202 length = (size_t)(oend-op);
2208 if ((ip+length != iend) || (cpy > oend)) {
2211 DEBUGLOG(6, "or cpy(%p) > oend(%p)", cpy, oend);
2223 if (!partialDecoding || (cpy == oend) || (ip >= (iend-2))) {
2254 if (unlikely(op+length > oend-LASTLITERALS)) {
2255 if (partialDecoding) length = MIN(length, (size_t)(oend-op));
2285 assert(op<=oend);
2286 if (partialDecoding && (cpy > oend-MATCH_SAFEGUARD_DISTANCE)) {
2287 size_t const mlen = MIN(length, (size_t)(oend-op));
2296 if (op == oend) { break; }
2315 if (unlikely(cpy > oend-MATCH_SAFEGUARD_DISTANCE)) {
2316 BYTE* const oCopyLimit = oend - (WILDCOPYLENGTH-1);
2317 if (cpy > oend-LASTLITERALS) { goto _output_error; } /* Error : last LASTLITERALS bytes must be literals (uncompressed) */