/linux-6.3-rc2/lib/lz4/ |
A D | lz4_decompress.c | 87 BYTE * const oend = op + outputSize; in LZ4_decompress_generic() local 100 const BYTE *const shortoend = oend - 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() 308 assert(oend > op); in LZ4_decompress_generic() 309 assert(oend - op >= 4); in LZ4_decompress_generic() 385 assert(op <= oend); in LZ4_decompress_generic() [all …]
|
A D | lz4hc_compress.c | 269 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()
|
A D | lz4_compress.c | 539 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.3-rc2/lib/zstd/decompress/ |
A D | zstd_decompress_block.c | 794 BYTE* const oend = op + length; in ZSTD_safecopy() local 801 while (op < oend) *op++ = *ip++; in ZSTD_safecopy() 810 assert(op <= oend); in ZSTD_safecopy() 813 if (oend <= oend_w) { in ZSTD_safecopy() 820 assert(oend > oend_w); in ZSTD_safecopy() 826 while (op < oend) *op++ = *ip++; in ZSTD_safecopy() 834 BYTE* const oend = op + length; in ZSTD_safecopyDstBeforeSrc() local 849 while (op < oend) *op++ = *ip++; in ZSTD_safecopyDstBeforeSrc() 862 BYTE* const oend, seq_t sequence, in ZSTD_execSequenceEnd() argument 954 BYTE* const oend, seq_t sequence, in ZSTD_execSequence() argument [all …]
|
A D | huf_decompress.c | 152 BYTE* oend; member 169 BYTE* const oend = (BYTE*)dst + dstSize; in HUF_DecompressAsmArgs_init() local 220 if (args->op[3] >= oend) in HUF_DecompressAsmArgs_init() 241 args->oend = oend; in HUF_DecompressAsmArgs_init() 532 BYTE* const oend = op + dstSize; in HUF_decompress1X1_usingDTable_internal_body() local 559 BYTE* const oend = ostart + dstSize; in HUF_decompress4X1_usingDTable_internal_body() local 560 BYTE* const olimit = oend - 3; in HUF_decompress4X1_usingDTable_internal_body() 693 assert(args.op[3] <= oend); in HUF_decompress4X1_usingDTable_internal_bmi2_asm() 706 segmentEnd = oend; in HUF_decompress4X1_usingDTable_internal_bmi2_asm() 1405 assert(args.op[3] <= oend); in HUF_decompress4X2_usingDTable_internal_bmi2_asm() [all …]
|
A D | zstd_decompress.c | 838 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame() local 876 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame() 879 decodedSize = ZSTD_setRleBlock(op, (size_t)(oend-op), *ip, blockProperties.origSize); in ZSTD_decompressFrame() 1831 ZSTD_DStream* zds, char** op, char* oend, in ZSTD_decompressContinueStream() argument 1847 size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op); in ZSTD_decompressContinueStream() 1853 assert(*op <= oend); in ZSTD_decompressContinueStream() 1867 char* const oend = output->size != 0 ? dst + output->size : dst; in ZSTD_decompressStream() local 1926 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream() 1945 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream() 2017 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream() [all …]
|
/linux-6.3-rc2/lib/zstd/compress/ |
A D | zstd_compress_superblock.c | 50 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal() local 80 …{ const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize,… in ZSTD_compressSubBlock_literal() 81 … : HUF_compress4X_usingCTable(op, oend-op, literals, litSize, hufTable); in ZSTD_compressSubBlock_literal() 169 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_sequences() local 177 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences() 208 op, oend - op, in ZSTD_compressSubBlock_sequences() 272 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock() local 288 op, oend-op, in ZSTD_compressSubBlock() 444 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_multi() local 492 op, oend-op, in ZSTD_compressSubBlock_multi() [all …]
|
A D | huf_compress.c | 93 BYTE* const oend = ostart + dstSize; in HUF_compressWeights() local 971 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body() local 1088 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal() local 1095 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1103 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1111 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1119 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 1185 BYTE* const oend = ostart + dstSize; in HUF_compress_internal() local 1202 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal() 1236 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal() [all …]
|
A D | fse_compress.c | 239 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local 267 if ((!writeIsSafe) && (out > oend-2)) in FSE_writeNCount_generic() 282 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 304 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 318 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic()
|
A D | zstd_compress_sequences.c | 252 const BYTE* const oend = op + dstCapacity; in ZSTD_buildCTable() local 279 assert(oend >= op); in ZSTD_buildCTable() 280 …{ size_t const NCountSize = FSE_writeNCount(op, (size_t)(oend - op), wksp->norm, max, tableLog);… in ZSTD_buildCTable()
|
A D | zstd_compress.c | 2366 const BYTE* const oend = dstEnd; in ZSTD_buildSequencesStatistics() local 2379 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2394 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics() 2409 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2426 op, (size_t)(oend - op), in ZSTD_buildSequencesStatistics() 2441 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2471 assert(op <= oend); in ZSTD_buildSequencesStatistics() 2548 assert(op <= oend); in ZSTD_entropyCompressSeqStore_internal() 2578 assert(op <= oend); in ZSTD_entropyCompressSeqStore_internal() 5283 size_t oSize = oend-op; in ZSTD_compressStream_generic() [all …]
|
/linux-6.3-rc2/lib/zstd/common/ |
A D | zstd_internal.h | 213 BYTE* const oend = op + length; in ZSTD_wildcopy() local 219 } while (op < oend); in ZSTD_wildcopy() 232 while (op < oend); in ZSTD_wildcopy() 242 while (op < oend); in ZSTD_wildcopy()
|
/linux-6.3-rc2/fs/erofs/ |
A D | decompressor.c | 24 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()
|