Home
last modified time | relevance | path

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

/linux-6.1.9/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()
279 if (!partialDecoding || (cpy == oend) || (ip >= (iend - 2))) 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-6.1.9/lib/zstd/compress/ !
Dhuf_compress.c71 BYTE* const oend = ostart + dstSize; in HUF_compressWeights() local
92 …{ CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), wksp->norm, maxSymbolValue, tableLog) … in HUF_compressWeights()
98 …{ CHECK_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, wksp->… in HUF_compressWeights()
583 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body() local
590 { size_t const initErr = BIT_initCStream(&bitC, op, (size_t)(oend-op)); in HUF_compress1X_usingCTable_internal_body()
683 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal() local
690 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
691 …{ CHECK_V_F(cSize, HUF_compress1X_usingCTable_internal(op, (size_t)(oend-op), ip, segmentSize, C… in HUF_compress4X_usingCTable_internal()
699 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
700 …{ CHECK_V_F(cSize, HUF_compress1X_usingCTable_internal(op, (size_t)(oend-op), ip, segmentSize, C… in HUF_compress4X_usingCTable_internal()
[all …]
Dzstd_compress_superblock.c187 BYTE* const oend = ostart + sizeof(fseMetadata->fseTablesBuffer); in ZSTD_buildSuperBlockEntropy_sequences() local
210 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_LitLength, LLFSELog, (symbolEn… in ZSTD_buildSuperBlockEntropy_sequences()
234 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_OffsetBits, OffFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences()
248 DEBUGLOG(5, "Building ML table (remaining space : %i)", (int)(oend-op)); in ZSTD_buildSuperBlockEntropy_sequences()
256 …{ size_t const countSize = ZSTD_buildCTable(op, oend - op, CTable_MatchLength, MLFSELog, (symbol… in ZSTD_buildSuperBlockEntropy_sequences()
329 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal() local
359 …{ const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize,… in ZSTD_compressSubBlock_literal()
360 … : HUF_compress4X_usingCTable(op, oend-op, literals, litSize, hufTable); in ZSTD_compressSubBlock_literal()
449 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_sequences() local
457 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
[all …]
Dfse_compress.c196 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local
224 if ((!writeIsSafe) && (out > oend-2)) in FSE_writeNCount_generic()
239 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
261 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
275 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
Dzstd_compress.c2119 BYTE* const oend = ostart + dstCapacity; in ZSTD_entropyCompressSequences_internal() local
2149 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_entropyCompressSequences_internal()
2162 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2171 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2188 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal()
2199 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2216 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal()
2227 assert(op <= oend); in ZSTD_entropyCompressSequences_internal()
2233 DEBUGLOG(5, "Building ML table (remaining space : %i)", (int)(oend-op)); in ZSTD_entropyCompressSequences_internal()
2242 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal()
[all …]
Dzstd_compress_sequences.c250 const BYTE* const oend = op + dstCapacity; in ZSTD_buildCTable() local
277 …{ size_t const NCountSize = FSE_writeNCount(op, oend - op, wksp->norm, max, tableLog); /* over… in ZSTD_buildCTable()
/linux-6.1.9/lib/zstd/decompress/ !
Dzstd_decompress_block.c722 BYTE* const oend = op + length; in ZSTD_safecopy() local
729 while (op < oend) *op++ = *ip++; in ZSTD_safecopy()
737 assert(op <= oend); in ZSTD_safecopy()
740 if (oend <= oend_w) { in ZSTD_safecopy()
747 assert(oend > oend_w); in ZSTD_safecopy()
753 while (op < oend) *op++ = *ip++; in ZSTD_safecopy()
766 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument
774 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceEnd()
777 …RETURN_ERROR_IF(sequenceLength > (size_t)(oend - op), dstSize_tooSmall, "last match must fit withi… in ZSTD_execSequenceEnd()
809 BYTE* const oend, seq_t sequence, in ZSTD_execSequence() argument
[all …]
Dzstd_decompress.c792 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame() local
827 …decodedSize = ZSTD_decompressBlock_internal(dctx, op, (size_t)(oend-op), ip, cBlockSize, /* frame … in ZSTD_decompressFrame()
830 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame()
833 decodedSize = ZSTD_setRleBlock(op, (size_t)(oend-op), *ip, blockProperties.origSize); in ZSTD_decompressFrame()
1784 ZSTD_DStream* zds, char** op, char* oend, in ZSTD_decompressContinueStream() argument
1800 size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op); in ZSTD_decompressContinueStream()
1806 assert(*op <= oend); in ZSTD_decompressContinueStream()
1820 char* const oend = output->size != 0 ? dst + output->size : dst; in ZSTD_decompressStream() local
1880 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1884 …e_t const decompressedSize = ZSTD_decompress_usingDDict(zds, op, (size_t)(oend-op), istart, cSize,… in ZSTD_decompressStream()
[all …]
Dhuf_decompress.c333 BYTE* const oend = op + dstSize; in HUF_decompress1X1_usingDTable_internal_body() local
342 HUF_decodeStreamX1(op, &bitD, oend, dt, dtLog); in HUF_decompress1X1_usingDTable_internal_body()
360 BYTE* const oend = ostart + dstSize; in HUF_decompress4X1_usingDTable_internal_body() local
361 BYTE* const olimit = oend - 3; in HUF_decompress4X1_usingDTable_internal_body()
432 HUF_decodeStreamX1(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X1_usingDTable_internal_body()
789 BYTE* const oend = ostart + dstSize; in HUF_decompress1X2_usingDTable_internal_body() local
793 HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X2_usingDTable_internal_body()
813 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal_body() local
814 BYTE* const olimit = oend - (sizeof(size_t)-1); in HUF_decompress4X2_usingDTable_internal_body()
907 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable_internal_body()
/linux-6.1.9/lib/zstd/common/ !
Dzstd_internal.h268 BYTE* const oend = op + length; in ZSTD_wildcopy() local
276 } while (op < oend); in ZSTD_wildcopy()
289 while (op < oend); in ZSTD_wildcopy()
299 while (op < oend); in ZSTD_wildcopy()
/linux-6.1.9/fs/erofs/ !
Ddecompressor.c24 unsigned int oend; member
134 omargin = PAGE_ALIGN(ctx->oend) - ctx->oend; in z_erofs_lz4_handle_overlap()
285 ctx.oend = rq->pageofs_out + rq->outputsize; in z_erofs_lz4_decompress()
286 ctx.outpages = PAGE_ALIGN(ctx.oend) >> PAGE_SHIFT; in z_erofs_lz4_decompress()