Home
last modified time | relevance | path

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

/linux-6.15/lib/lz4/
H A Dlz4_decompress.c86 BYTE * const oend = op + outputSize; in LZ4_decompress_generic() local
99 const BYTE *const shortoend = oend - in LZ4_decompress_generic()
227 if (cpy > oend) { in LZ4_decompress_generic()
232 cpy = oend; in LZ4_decompress_generic()
233 length = oend - op; in LZ4_decompress_generic()
246 && (cpy != oend)) { in LZ4_decompress_generic()
256 || (cpy > oend))) { in LZ4_decompress_generic()
307 assert(oend > op); in LZ4_decompress_generic()
308 assert(oend - op >= 4); in LZ4_decompress_generic()
384 assert(op <= oend); in LZ4_decompress_generic()
[all …]
H A Dlz4hc_compress.c268 BYTE *oend) in LZ4HC_encodeSequence() argument
279 + length + (2 + 1 + LASTLITERALS)) > oend)) { in LZ4HC_encodeSequence()
307 + (1 + LASTLITERALS) > oend)) { in LZ4HC_encodeSequence()
354 BYTE * const oend = op + maxOutputSize; in LZ4HC_compress_generic() local
402 &anchor, ml, ref, limit, oend)) in LZ4HC_compress_generic()
468 ml, ref, limit, oend)) in LZ4HC_compress_generic()
472 ml2, ref2, limit, oend)) in LZ4HC_compress_generic()
498 ml, ref, limit, oend)) in LZ4HC_compress_generic()
539 ref, limit, oend)) in LZ4HC_compress_generic()
H A Dlz4_compress.c538 BYTE * const oend = op + targetDstSize; in LZ4_compress_destSize_generic() local
693 + lastRunSize /* literals */ > oend) { in LZ4_compress_destSize_generic()
695 lastRunSize = (oend - op) - 1; in LZ4_compress_destSize_generic()
/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress_block.c840 BYTE* const oend = op + length; in ZSTD_safecopy() local
847 while (op < oend) *op++ = *ip++; in ZSTD_safecopy()
856 assert(op <= oend); in ZSTD_safecopy()
859 if (oend <= oend_w) { in ZSTD_safecopy()
866 assert(oend > oend_w); in ZSTD_safecopy()
872 while (op < oend) *op++ = *ip++; in ZSTD_safecopy()
880 BYTE* const oend = op + length; in ZSTD_safecopyDstBeforeSrc() local
895 while (op < oend) *op++ = *ip++; in ZSTD_safecopyDstBeforeSrc()
909 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument
1003 BYTE* const oend, seq_t sequence, in ZSTD_execSequence() argument
[all …]
H A Dhuf_decompress.c176 BYTE* oend; member
250 if (args->op[3] >= oend) in HUF_DecompressFastArgs_init()
272 args->oend = oend; in HUF_DecompressFastArgs_init()
724 BYTE* const oend = args->oend; in HUF_decompress4X1_usingDTable_internal_fast_c_loop() local
864 assert(args.op[3] <= oend); in HUF_decompress4X1_usingDTable_internal_fast()
1526 BYTE* oend[4]; in HUF_decompress4X2_usingDTable_internal_fast_c_loop() local
1535 oend[0] = op[1]; in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
1536 oend[1] = op[2]; in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
1537 oend[2] = op[3]; in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
1538 oend[3] = args->oend; in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
[all …]
H A Dzstd_decompress.c916 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame() local
943 BYTE* oBlockEnd = oend; in ZSTD_decompressFrame()
978 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame()
1981 ZSTD_DStream* zds, char** op, char* oend, in ZSTD_decompressContinueStream() argument
1997 size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op); in ZSTD_decompressContinueStream()
2003 assert(*op <= oend); in ZSTD_decompressContinueStream()
2017 char* const oend = output->size != 0 ? dst + output->size : dst; in ZSTD_decompressStream() local
2081 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream()
2101 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream()
2176 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream()
[all …]
/linux-6.15/lib/zstd/compress/
H A Dzstd_compress_superblock.c52 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal() local
174 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_sequences() local
182 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences()
213 op, (size_t)(oend - op), in ZSTD_compressSubBlock_sequences()
277 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock() local
283 op, (size_t)(oend-op), in ZSTD_compressSubBlock()
294 op, (size_t)(oend-op), in ZSTD_compressSubBlock()
501 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_multi() local
556 op, (size_t)(oend-op), in ZSTD_compressSubBlock_multi()
600 op, (size_t)(oend-op), in ZSTD_compressSubBlock_multi()
[all …]
H A Dhuf_compress.c151 BYTE* const oend = ostart + dstSize; in HUF_compressWeights() local
1062 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body() local
1174 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal() local
1181 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
1189 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
1197 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
1205 assert(op <= oend); in HUF_compress4X_usingCTable_internal()
1340 BYTE* const oend = ostart + dstSize; in HUF_compress_internal() local
1358 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal()
1394 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal()
[all …]
H A Dfse_compress.c241 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local
269 if ((!writeIsSafe) && (out > oend-2)) in FSE_writeNCount_generic()
284 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
306 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
320 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
H A Dzstd_compress_sequences.c253 const BYTE* const oend = op + dstCapacity; in ZSTD_buildCTable() local
280 assert(oend >= op); in ZSTD_buildCTable()
281 …{ size_t const NCountSize = FSE_writeNCount(op, (size_t)(oend - op), wksp->norm, max, tableLog);… in ZSTD_buildCTable()
H A Dzstd_compress.c2685 const BYTE* const oend = dstEnd; in ZSTD_buildSequencesStatistics() local
2698 assert(op <= oend); in ZSTD_buildSequencesStatistics()
2713 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics()
2728 assert(op <= oend); in ZSTD_buildSequencesStatistics()
2745 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics()
2760 assert(op <= oend); in ZSTD_buildSequencesStatistics()
2775 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics()
2790 assert(op <= oend); in ZSTD_buildSequencesStatistics()
2867 assert(op <= oend); in ZSTD_entropyCompressSeqStore_internal()
2897 assert(op <= oend); in ZSTD_entropyCompressSeqStore_internal()
[all …]
/linux-6.15/lib/zstd/common/
H A Dzstd_internal.h215 BYTE* const oend = op + length; in ZSTD_wildcopy() local
221 } while (op < oend); in ZSTD_wildcopy()
238 while (op < oend); in ZSTD_wildcopy()
/linux-6.15/fs/erofs/
H A Ddecompressor.c112 unsigned int oend, omargin, total, i; in z_erofs_lz4_handle_overlap() local
117 oend = rq->pageofs_out + rq->outputsize; in z_erofs_lz4_handle_overlap()
118 omargin = PAGE_ALIGN(oend) - oend; in z_erofs_lz4_handle_overlap()