Home
last modified time | relevance | path

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

/linux-4.19.296/lib/lz4/
Dlz4_decompress.c82 BYTE * const oend = op + outputSize; in LZ4_decompress_generic() local
96 if ((partialDecoding) && (oexit > oend - MFLIMIT)) in LZ4_decompress_generic()
97 oexit = oend - MFLIMIT; in LZ4_decompress_generic()
143 if (((endOnInput) && ((cpy > (partialDecoding ? oexit : oend - MFLIMIT)) in LZ4_decompress_generic()
145 || ((!endOnInput) && (cpy > oend - WILDCOPYLENGTH))) { in LZ4_decompress_generic()
147 if (cpy > oend) { in LZ4_decompress_generic()
165 && (cpy != oend)) { in LZ4_decompress_generic()
175 || (cpy > oend))) { in LZ4_decompress_generic()
234 if (unlikely(op + length > oend - LASTLITERALS)) { in LZ4_decompress_generic()
294 if (unlikely(cpy > oend - 12)) { in LZ4_decompress_generic()
[all …]
Dlz4hc_compress.c269 BYTE *oend) in LZ4HC_encodeSequence() argument
280 + length + (2 + 1 + LASTLITERALS)) > oend)) { in LZ4HC_encodeSequence()
308 + (1 + LASTLITERALS) > oend)) { in LZ4HC_encodeSequence()
355 BYTE * const oend = op + maxOutputSize; in LZ4HC_compress_generic() local
403 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic()
469 ml, ref, limit, oend)) in LZ4HC_compress_generic()
473 ml2, ref2, limit, oend)) in LZ4HC_compress_generic()
499 ml, ref, limit, oend)) in LZ4HC_compress_generic()
540 ref, limit, oend)) in LZ4HC_compress_generic()
Dlz4_compress.c539 BYTE * const oend = op + targetDstSize; in LZ4_compress_destSize_generic() local
694 + lastRunSize /* literals */ > oend) { in LZ4_compress_destSize_generic()
696 lastRunSize = (oend - op) - 1; in LZ4_compress_destSize_generic()
/linux-4.19.296/lib/zstd/
Dhuf_compress.c86 BYTE *const oend = ostart + dstSize; in HUF_compressWeights_wksp() local
128 CHECK_V_F(hSize, FSE_writeNCount(op, oend - op, norm, maxSymbolValue, tableLog)); in HUF_compressWeights_wksp()
135 CHECK_V_F(cSize, FSE_compress_usingCTable(op, oend - op, weightTable, wtSize, CTable)); in HUF_compressWeights_wksp()
542 BYTE *const oend = ostart + dstSize; in HUF_compress1X_usingCTable() local
551 size_t const initErr = BIT_initCStream(&bitC, op, oend - op); in HUF_compress1X_usingCTable()
585 BYTE *const oend = ostart + dstSize; in HUF_compress4X_usingCTable() local
595 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); in HUF_compress4X_usingCTable()
604 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); in HUF_compress4X_usingCTable()
613 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); in HUF_compress4X_usingCTable()
622 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, iend - ip, CTable)); in HUF_compress4X_usingCTable()
[all …]
Ddecompress.c880 size_t ZSTD_execSequenceLast7(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, cons… in ZSTD_execSequenceLast7() argument
886 BYTE *const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceLast7()
891 if (oMatchEnd > oend) in ZSTD_execSequenceLast7()
1007 size_t ZSTD_execSequence(BYTE *op, BYTE *const oend, seq_t sequence, const BYTE **litPtr, const BYT… in ZSTD_execSequence() argument
1013 BYTE *const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequence()
1018 if (oMatchEnd > oend) in ZSTD_execSequence()
1023 return ZSTD_execSequenceLast7(op, oend, sequence, litPtr, litLimit, base, vBase, dictEnd); in ZSTD_execSequence()
1079 if (oMatchEnd > oend - (16 - MINMATCH)) { in ZSTD_execSequence()
1098 BYTE *const oend = ostart + maxDstSize; in ZSTD_decompressSequences() local
1133 …size_t const oneSeqSize = ZSTD_execSequence(op, oend, sequence, &litPtr, litEnd, base, vBase, dict… in ZSTD_decompressSequences()
[all …]
Dhuf_decompress.c202 BYTE *const oend = op + dstSize; in HUF_decompress1X2_usingDTable_internal() local
215 HUF_decodeStreamX2(op, &bitD, oend, dt, dtLog); in HUF_decompress1X2_usingDTable_internal()
256 BYTE *const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal() local
310 for (; (endSignal == BIT_DStream_unfinished) && (op4 < (oend - 7));) { in HUF_decompress4X2_usingDTable_internal()
343 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable_internal()
669 BYTE *const oend = ostart + dstSize; in HUF_decompress1X4_usingDTable_internal() local
673 HUF_decodeStreamX4(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X4_usingDTable_internal()
715 BYTE *const oend = ostart + dstSize; in HUF_decompress4X4_usingDTable_internal() local
769 …for (; (endSignal == BIT_DStream_unfinished) & (op4 < (oend - (sizeof(bitD4.bitContainer) - 1)));)… in HUF_decompress4X4_usingDTable_internal()
803 HUF_decodeStreamX4(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X4_usingDTable_internal()
Dzstd_internal.h139 BYTE* const oend = op + length; in ZSTD_wildcopy() local
151 } while (op < oend); in ZSTD_wildcopy()
Dfse_compress.c208 BYTE *const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local
237 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
252 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
278 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
289 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
Dcompress.c599 BYTE *const oend = ostart + dstCapacity; in ZSTD_compressSequences_internal() local
630 if ((oend - op) < 3 /*max nbSeq Size*/ + 1 /*seqHead */) in ZSTD_compressSequences_internal()
672 …size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protect… in ZSTD_compressSequences_internal()
704 …size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protect… in ZSTD_compressSequences_internal()
736 …size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow protect… in ZSTD_compressSequences_internal()
756 …CHECK_E(BIT_initCStream(&blockStream, op, oend - op), dstSize_tooSmall); /* not enough space remai… in ZSTD_compressSequences_internal()
3136 char *const oend = ostart + *dstCapacityPtr; in ZSTD_compressStream_generic() local
3161 size_t oSize = oend - op; in ZSTD_compressStream_generic()
3188 …size_t const flushed = ZSTD_limitCopy(op, oend - op, zcs->outBuff + zcs->outBuffFlushedSize, toFlu… in ZSTD_compressStream_generic()
3253 BYTE *const oend = (BYTE *)(output->dst) + output->size; in ZSTD_endStream() local
[all …]