Home
last modified time | relevance | path

Searched refs:oend (Results 1 - 3 of 3) sorted by relevance

/third_party/lz4/lib/
H A Dlz4.c1807 BYTE* const oend = ostart + decompressedSize; in LZ4_decompress_unsafe_generic() local
1823 if ((size_t)(oend-op) < ll) return -1; /* output buffer overflow */ in LZ4_decompress_unsafe_generic()
1827 if ((size_t)(oend-op) < MFLIMIT) { in LZ4_decompress_unsafe_generic()
1828 if (op==oend) break; /* end of block */ in LZ4_decompress_unsafe_generic()
1829 DEBUGLOG(5, "invalid: literals end at distance %zi from end of block", oend-op); in LZ4_decompress_unsafe_generic()
1846 if ((size_t)(oend-op) < ml) return -1; /* output buffer overflow */ in LZ4_decompress_unsafe_generic()
1882 if ((size_t)(oend-op) < LASTLITERALS) { in LZ4_decompress_unsafe_generic()
1883 DEBUGLOG(5, "invalid: match ends at distance %zi from end of block", oend-op); in LZ4_decompress_unsafe_generic()
1956 BYTE* const oend = op + outputSize; in LZ4_decompress_generic() local
1966 const BYTE* const shortoend = oend in LZ4_decompress_generic()
[all...]
H A Dlz4hc.c474 BYTE* oend) in LZ4HC_encodeSequence()
504 if (limit && ((op + (length / 255) + length + (2 + 1 + LASTLITERALS)) > oend)) { in LZ4HC_encodeSequence()
506 (int)length, (int)(oend - op)); in LZ4HC_encodeSequence()
529 if (limit && (op + (length / 255) + (1 + LASTLITERALS) > oend)) { in LZ4HC_encodeSequence()
575 BYTE* oend = op + maxOutputSize; in LZ4HC_compress_hashChain() local
588 if (limit == fillOutput) oend -= LASTLITERALS; /* Hack for support LZ4 format restriction */ in LZ4HC_compress_hashChain()
610 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow; in LZ4HC_compress_hashChain()
658 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) goto _dest_overflow; in LZ4HC_compress_hashChain()
661 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml2, ref2, limit, oend)) { in LZ4HC_compress_hashChain()
684 if (LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, limit, oend)) got in LZ4HC_compress_hashChain()
467 LZ4HC_encodeSequence( const BYTE** _ip, BYTE** _op, const BYTE** _anchor, int matchLength, const BYTE* const match, limitedOutput_directive limit, BYTE* oend) LZ4HC_encodeSequence() argument
782 LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ml, ref, notLimited, oend); LZ4HC_compress_hashChain() local
1357 BYTE* oend = op + dstCapacity; LZ4HC_compress_optimal() local
1621 LZ4HC_encodeSequence(UPDATABLE(ip, op, anchor), ovml, ovref, notLimited, oend); LZ4HC_compress_optimal() local
[all...]
/third_party/lz4/tests/
H A Dframetest.c324 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests() local
336 oSize = (size_t)(oend-op); in basicTests()
340 if (op>oend) { DISPLAY("decompression write overflow \n"); goto _output_error; } in basicTests()
404 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests() local
408 size_t oSize = (size_t)(oend-op); in basicTests()
443 BYTE* const oend = ostart + COMPRESSIBLE_NOISE_LENGTH; in basicTests() local
451 size_t oSize = (size_t)(oend-op); in basicTests()
770 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests() local
784 size_t oSize = (size_t)(oend-op); in basicTests()
803 size_t oSize = (size_t)(oend in basicTests()
885 BYTE* const oend = op + dstCapacity; test_lz4f_decompression_wBuffers() local
1064 BYTE* const oend = op + (neverFlush ? LZ4F_compressFrameBound(srcSize, prefsPtr) : compressedBufferSize); /* when flushes are possible, can't guarantee a max compressed size */ fuzzerTests() local
[all...]

Completed in 9 milliseconds