| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | lz4.c | 536 (length >> 8) > oend)) in LZ4_compressCtx() 629 oend) in LZ4_compressCtx() 725 (length >> 8) > oend)) in LZ4_compress64kCtx() 818 oend) in LZ4_compress64kCtx() 916 if ((cpy > oend - COPYLENGTH) || in LZ4_uncompress_unknownOutputSize() 918 if (cpy > oend) in LZ4_uncompress_unknownOutputSize() 979 if (cpy > oend - COPYLENGTH) { in LZ4_uncompress_unknownOutputSize() 980 if (cpy > oend) in LZ4_uncompress_unknownOutputSize() 987 if ((ref + COPYLENGTH) > oend) in LZ4_uncompress_unknownOutputSize() 990 (op + COPYLENGTH) > oend) in LZ4_uncompress_unknownOutputSize() [all …]
|
| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A D | huf_compress.c | 66 BYTE* const oend = ostart + dstSize; in HUF_compressWeights() local 567 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body() local 664 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal() local 671 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 680 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 689 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 698 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 752 BYTE* const oend = ostart + dstSize; in HUF_compress_internal() local 770 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal() 789 return HUF_compressCTable_internal(ostart, op, oend, in HUF_compress_internal() [all …]
|
| H A D | zstd_compress_superblock.c | 186 BYTE* const oend = ostart + sizeof(fseMetadata->fseTablesBuffer); in ZSTD_buildSuperBlockEntropy_sequences() local 247 DEBUGLOG(5, "Building ML table (remaining space : %i)", (int)(oend-op)); in ZSTD_buildSuperBlockEntropy_sequences() 328 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal() local 446 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_sequences() local 454 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/, in ZSTD_compressSubBlock_sequences() 485 op, oend - op, in ZSTD_compressSubBlock_sequences() 549 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock() local 565 op, oend-op, in ZSTD_compressSubBlock() 720 BYTE* const oend = ostart + dstCapacity; in ZSTD_compressSubBlock_multi() local 768 op, oend-op, in ZSTD_compressSubBlock_multi() [all …]
|
| H A D | fse_compress.c | 203 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic() local 231 if ((!writeIsSafe) && (out > oend-2)) in FSE_writeNCount_generic() 246 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 268 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 282 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 640 BYTE* const oend = ostart + dstSize; in FSE_compress_wksp() local 666 { CHECK_V_F(nc_err, FSE_writeNCount(op, oend-op, norm, maxSymbolValue, tableLog) ); in FSE_compress_wksp() 672 { CHECK_V_F(cSize, FSE_compress_usingCTable(op, oend - op, src, srcSize, CTable) ); in FSE_compress_wksp()
|
| H A D | zstd_compress_sequences.c | 245 const BYTE* const oend = op + dstCapacity; in ZSTD_buildCTable() local 271 …{ size_t const NCountSize = FSE_writeNCount(op, oend - op, norm, max, tableLog); /* overflow p… in ZSTD_buildCTable()
|
| H A D | zstd_compress.c | 2213 assert(op <= oend); in ZSTD_entropyCompressSequences_internal() 2222 assert(op <= oend); in ZSTD_entropyCompressSequences_internal() 2239 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal() 2250 assert(op <= oend); in ZSTD_entropyCompressSequences_internal() 2267 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal() 2278 assert(op <= oend); in ZSTD_entropyCompressSequences_internal() 2293 op, (size_t)(oend - op), in ZSTD_entropyCompressSequences_internal() 2304 assert(op <= oend); in ZSTD_entropyCompressSequences_internal() 2318 assert(op <= oend); in ZSTD_entropyCompressSequences_internal() 4199 size_t oSize = oend-op; in ZSTD_compressStream_generic() [all …]
|
| H A D | zstdmt_compress.c | 722 BYTE* oend = op + dstBuff.capacity; in ZSTDMT_compressionJob() local 728 size_t const cSize = ZSTD_compressContinue(cctx, op, oend-op, ip, chunkSize); in ZSTDMT_compressionJob() 731 op += cSize; assert(op < oend); in ZSTDMT_compressionJob() 748 ZSTD_compressEnd (cctx, op, oend-op, ip, lastBlockSize) : in ZSTDMT_compressionJob() 749 ZSTD_compressContinue(cctx, op, oend-op, ip, lastBlockSize); in ZSTDMT_compressionJob()
|
| /f-stack/freebsd/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 722 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() 821 assert(oend_w < oend /* No underflow */); in ZSTD_execSequence() 1072 BYTE const* op, BYTE const* oend, in ZSTD_assertValidSequence() argument 1082 assert(op <= oend); in ZSTD_assertValidSequence() 1112 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences_body() local [all …]
|
| H A D | zstd_decompress.c | 624 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame() local 662 decodedSize = ZSTD_copyRawBlock(op, (size_t)(oend-op), ip, cBlockSize); in ZSTD_decompressFrame() 665 decodedSize = ZSTD_setRleBlock(op, (size_t)(oend-op), *ip, blockProperties.origSize); in ZSTD_decompressFrame() 1605 ZSTD_DStream* zds, char** op, char* oend, in ZSTD_decompressContinueStream() argument 1621 size_t const dstSize = isSkipFrame ? 0 : (size_t)(oend - *op); in ZSTD_decompressContinueStream() 1627 assert(*op <= oend); in ZSTD_decompressContinueStream() 1641 char* const oend = output->size != 0 ? dst + output->size : dst; in ZSTD_decompressStream() local 1725 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream() 1744 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream() 1816 … FORWARD_IF_ERROR(ZSTD_decompressContinueStream(zds, &op, oend, ip, neededInSize), ""); in ZSTD_decompressStream() [all …]
|
| H A D | huf_decompress.c | 333 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() 788 BYTE* const oend = ostart + dstSize; in HUF_decompress1X2_usingDTable_internal_body() local 792 HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X2_usingDTable_internal_body() 812 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal_body() local 813 BYTE* const olimit = oend - (sizeof(size_t)-1); in HUF_decompress4X2_usingDTable_internal_body() 906 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable_internal_body()
|
| /f-stack/freebsd/contrib/zstd/lib/legacy/ |
| H A D | zstd_v01.c | 1375 BYTE* const oend = op + length; in ZSTD_wildcopy() local 1376 while (op < oend) COPY8(op, ip); in ZSTD_wildcopy() 1502 BYTE* const oend = op + maxDstSize; in ZSTD_decompressLiterals() local 1512 op = oend - litSize; in ZSTD_decompressLiterals() 1553 *litStart = oend - rleSize; in ZSTDv01_decodeLiteralsBlock() 1776 if (((size_t)(*litPtr - op) < 8) || ((size_t)(oend-litEnd) < 8) || (op+litLength > oend-8)) in ZSTD_execSequence() 1800 if ((endMatch + qutt) > oend) qutt = oend-endMatch; in ZSTD_execSequence() 1817 if (endMatch > oend-(16-MINMATCH)) in ZSTD_execSequence() 1819 if (op < oend-8) in ZSTD_execSequence() 1822 match += (oend-8) - op; in ZSTD_execSequence() [all …]
|
| H A D | zstd_v06.c | 551 BYTE* const oend = op + length; in ZSTDv06_wildcopy() local 554 while (op < oend); in ZSTDv06_wildcopy() 2102 BYTE* const oend = op + dstSize; in HUFv06_decompress1X2_usingDTable() local 2144 BYTE* const oend = ostart + dstSize; in HUFv06_decompress4X2_usingDTable() local 2475 BYTE* const oend = ostart + dstSize; in HUFv06_decompress1X4_usingDTable() local 2519 BYTE* const oend = ostart + dstSize; in HUFv06_decompress4X4_usingDTable() local 3373 BYTE* const oend_8 = oend-8; in ZSTDv06_execSequence() 3427 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence() 3449 BYTE* const oend = ostart + maxDstSize; in ZSTDv06_decompressSequences() local 3566 BYTE* const oend = ostart + dstCapacity; in ZSTDv06_decompressFrame() local [all …]
|
| H A D | zstd_v05.c | 516 BYTE* const oend = op + length; in ZSTDv05_wildcopy() local 519 while (op < oend); in ZSTDv05_wildcopy() 1966 BYTE* const oend = op + dstSize; in HUFv05_decompress1X2_usingDTable() local 2010 BYTE* const oend = ostart + dstSize; in HUFv05_decompress4X2_usingDTable() local 2346 BYTE* const oend = ostart + dstSize; in HUFv05_decompress1X4_usingDTable() local 2392 BYTE* const oend = ostart + dstSize; in HUFv05_decompress4X4_usingDTable() local 3237 BYTE* const oend_8 = oend-8; in ZSTDv05_execSequence() 3291 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence() 3315 BYTE* const oend = ostart + maxDstSize; in ZSTDv05_decompressSequences() local 3428 BYTE* const oend = ostart + maxDstSize; in ZSTDv05_decompress_continueDCtx() local [all …]
|
| H A D | zstd_v04.c | 402 BYTE* const oend = op + length; in ZSTD_wildcopy() local 405 while (op < oend); in ZSTD_wildcopy() 1880 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable() local 1954 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable() 2238 BYTE* const oend = ostart + dstSize; in HUF_decompress4X4_usingDTable() local 2312 HUF_decodeStreamX4(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X4_usingDTable() 2879 BYTE* const oend_8 = oend-8; in ZSTD_execSequence() 2936 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence() 2963 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences() local 3069 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompress_usingDict() local [all …]
|
| H A D | zstd_v03.c | 1728 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable() local 1803 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable() 2090 BYTE* const oend = ostart + dstSize; in HUF_decompress4X4_usingDTable() local 2165 HUF_decodeStreamX4(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X4_usingDTable() 2401 BYTE* const oend = op + length; in ZSTD_wildcopy() local 2402 do COPY8(op, ip) while (op < oend); in ZSTD_wildcopy() 2751 BYTE* const base, BYTE* const oend) in ZSTD_execSequence() argument 2758 BYTE* const oend_8 = oend-8; in ZSTD_execSequence() 2798 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence() 2827 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences() local [all …]
|
| H A D | zstd_v02.c | 1731 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable() local 1806 HUF_decodeStreamX2(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X2_usingDTable() 2093 BYTE* const oend = ostart + dstSize; in HUF_decompress4X4_usingDTable() local 2168 HUF_decodeStreamX4(op4, &bitD4, oend, dt, dtLog); in HUF_decompress4X4_usingDTable() 2448 BYTE* const oend = ostart + dstSize; in HUF_decompress4X6_usingDTable() local 2760 BYTE* const oend = op + length; in ZSTD_wildcopy() local 2761 do COPY8(op, ip) while (op < oend); in ZSTD_wildcopy() 3117 BYTE* const oend_8 = oend-8; in ZSTD_execSequence() 3157 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence() 3186 BYTE* const oend = ostart + maxDstSize; in ZSTD_decompressSequences() local [all …]
|
| H A D | zstd_v07.c | 1877 BYTE* const oend = op + dstSize; in HUFv07_decompress1X2_usingDTable_internal() local 1934 BYTE* const oend = ostart + dstSize; in HUFv07_decompress4X2_usingDTable_internal() local 2293 BYTE* const oend = ostart + dstSize; in HUFv07_decompress1X4_usingDTable_internal() local 2344 BYTE* const oend = ostart + dstSize; in HUFv07_decompress4X4_usingDTable_internal() local 2785 BYTE* const oend = op + length; in ZSTDv07_wildcopy() local 2788 while (op < oend); in ZSTDv07_wildcopy() 3601 BYTE* const oend_w = oend-WILDCOPY_OVERLENGTH; in ZSTDv07_execSequence() 3654 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence() 3676 BYTE* const oend = ostart + maxDstSize; in ZSTDv07_decompressSequences() local 3803 BYTE* const oend = ostart + dstCapacity; in ZSTDv07_decompressFrame() local [all …]
|
| /f-stack/freebsd/contrib/zstd/lib/common/ |
| H A D | zstd_internal.h | 284 BYTE* const oend = op + length; in ZSTD_wildcopy() local 292 } while (op < oend); in ZSTD_wildcopy() 305 while (op < oend); in ZSTD_wildcopy() 315 while (op < oend); in ZSTD_wildcopy()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 6588 while (op < oend); in ZSTD_wildcopy() 6596 while (op < oend); in ZSTD_wildcopy() 8932 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 8941 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 8950 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 8959 assert(op <= oend); in HUF_compress4X_usingCTable_internal() 15107 assert(op <= oend); in ZSTD_compressSequences_internal() 15116 assert(op <= oend); in ZSTD_compressSequences_internal() 15212 assert(op <= oend); in ZSTD_compressSequences_internal() 27029 if (oend <= oend_w) { in ZSTD_safecopy() [all …]
|