Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/lz4/
Dlz4_decompress.c87 BYTE * const oend = op + outputSize; in LZ4_decompress_generic() local
100 const BYTE *const shortoend = oend - in LZ4_decompress_generic()
224 if (((endOnInput) && ((cpy > oend - MFLIMIT) in LZ4_decompress_generic()
226 || ((!endOnInput) && (cpy > oend - WILDCOPYLENGTH))) { in LZ4_decompress_generic()
228 if (cpy > oend) { in LZ4_decompress_generic()
233 cpy = oend; in LZ4_decompress_generic()
234 length = oend - op; in LZ4_decompress_generic()
247 && (cpy != oend)) { in LZ4_decompress_generic()
257 || (cpy > oend))) { in LZ4_decompress_generic()
275 if (!partialDecoding || (cpy == oend)) 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()
/kernel/linux/linux-5.10/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()
587 BYTE *const oend = ostart + dstSize; in HUF_compress4X_usingCTable() local
597 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); in HUF_compress4X_usingCTable()
606 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); in HUF_compress4X_usingCTable()
615 CHECK_V_F(cSize, HUF_compress1X_usingCTable(op, oend - op, ip, segmentSize, CTable)); in HUF_compress4X_usingCTable()
624 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()
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()
Dzstd_internal.h146 BYTE* const oend = op + length; in ZSTD_wildcopy() local
161 } while (op < oend); in ZSTD_wildcopy()
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()
3189 …size_t const flushed = ZSTD_limitCopy(op, oend - op, zcs->outBuff + zcs->outBuffFlushedSize, toFlu… in ZSTD_compressStream_generic()
3254 BYTE *const oend = (BYTE *)(output->dst) + output->size; in ZSTD_endStream() local
[all …]
/kernel/linux/linux-5.10/fs/erofs/
Ddecompressor.c145 const uint oend = (rq->pageofs_out + in z_erofs_lz4_decompress() local
152 rq->inputsize - oend < in z_erofs_lz4_decompress()