Home
last modified time | relevance | path

Searched refs:oend (Results 1 – 2 of 2) sorted by relevance

/lib/lz4/
Dlz4_decompress.c60 BYTE * const oend = op + osize; in lz4_uncompress() local
83 if (unlikely(cpy > oend - COPYLENGTH)) { in lz4_uncompress()
88 if (cpy != oend) in lz4_uncompress()
138 if (cpy > (oend - COPYLENGTH)) { in lz4_uncompress()
141 if (cpy > oend) in lz4_uncompress()
144 if ((ref + COPYLENGTH) > oend) in lz4_uncompress()
146 if ((ref + COPYLENGTH) > oend || in lz4_uncompress()
147 (op + COPYLENGTH) > oend) in lz4_uncompress()
150 LZ4_SECURECOPY(ref, op, (oend - COPYLENGTH)); in lz4_uncompress()
158 if (op == oend) in lz4_uncompress()
[all …]
Dlz4_compress.c71 u8 *const oend = op + maxoutputsize; in lz4_compressctx() local
122 (length >> 8) > oend)) in lz4_compressctx()
176 if (unlikely(op + (1 + LASTLITERALS) + (length >> 8) > oend)) in lz4_compressctx()
253 u8 *const oend = op + maxoutputsize; in lz4_compress64kctx() local
303 + (length >> 8) > oend)) in lz4_compress64kctx()
359 if (unlikely(op + (1 + LASTLITERALS) + (len >> 8) > oend)) in lz4_compress64kctx()
402 if (op + lastrun + 1 + (lastrun - RUN_MASK + 255) / 255 > oend) in lz4_compress64kctx()