/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 84 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced() 862 &cctx->requestedParams, ZSTD_CONTENTSIZE_UNKNOWN, dl->dictSize); in ZSTD_initLocalDict() 1040 if (dictSize && srcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_adjustCParams_internal() 1070 if (srcSize == 0) srcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_adjustCParams() 1081 if (srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN && CCtxParams->srcSizeHint > 0) { in ZSTD_getCParamsFromCCtxParams() 1130 ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0); in ZSTD_estimateCCtxSize_usingCCtxParams() 1175 …Parameters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, 0); in ZSTD_estimateCCtxSize_internal() 1194 ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0); in ZSTD_estimateCStreamSize_usingCCtxParams() 1214 …Parameters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, 0); in ZSTD_estimateCStreamSize_internal() 1518 if (pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_resetCCtx_internal() [all …]
|
/freebsd/sys/contrib/zstd/examples/ |
H A D | simple_decompression.c | 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress()
|
H A D | dictionary_decompression.c | 42 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress.c | 112 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced() 1290 assert(srcSize != ZSTD_CONTENTSIZE_UNKNOWN); /* Handled in ZSTD_adjustCParams_internal() */ in ZSTD_dictAndWindowLog() 1337 if (dictSize && srcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_adjustCParams_internal() 1361 if (srcSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_adjustCParams_internal() 1381 if (srcSize == 0) srcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_adjustCParams() 1405 if (srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN && CCtxParams->srcSizeHint > 0) { in ZSTD_getCParamsFromCCtxParams() 1506 … ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_cpm_noAttachDict); in ZSTD_estimateCCtxSize_usingCCtxParams() 1515 &cParams, ¶ms->ldmParams, 1, useRowMatchFinder, 0, 0, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateCCtxSize_usingCCtxParams() 1539 …tatic const unsigned long long srcSizeTiers[4] = {16 KB, 128 KB, 256 KB, ZSTD_CONTENTSIZE_UNKNOWN}; in ZSTD_estimateCCtxSize_internal() 1564 … ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_cpm_noAttachDict); in ZSTD_estimateCStreamSize_usingCCtxParams() [all …]
|
H A D | zstdmt_compress.c | 1071 …nParameters cParams = ZSTD_getCParamsFromCCtxParams(cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_… in ZSTDMT_updateCParams_whileCompressing()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 281 U64 frameContentSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getFrameHeader_advanced() 342 return ret == 0 ? ZSTD_CONTENTSIZE_UNKNOWN : ret; in ZSTD_getFrameContentSize() 429 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_getDecompressedSize() 520 frameSizeInfo.decompressedBound = (zfh.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_findFrameSizeInfo() 674 if (dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_decompressFrame() 991 dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressContinue() 1499 size_t const outBuffSize = ZSTD_decodingBufferSize_min(windowSize, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateDStreamSize() 1678 if (zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream() 1698 && zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 479 U64 frameContentSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getFrameHeader_advanced() 543 return ret == 0 ? ZSTD_CONTENTSIZE_UNKNOWN : ret; in ZSTD_getFrameContentSize() 661 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_ERROR < ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_getDecompressedSize() 761 frameSizeInfo.decompressedBound = (zfh.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_findFrameSizeInfo() 942 if (dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_decompressFrame() 1264 dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressContinue() 1839 size_t const outBuffSize = ZSTD_decodingBufferSize_min(windowSize, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateDStreamSize() 2023 if (zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream() 2043 && zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream()
|
/freebsd/sys/contrib/zstd/lib/deprecated/ |
H A D | zbuff_compress.c | 76 …if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; /* preserve "0 == unknown" beha… in ZBUFF_compressInit_advanced()
|
/freebsd/sys/contrib/zstd/zlibWrapper/ |
H A D | zstd_zlibwrapper.c | 353 { int res = ZWRAP_initializeCStream(zwc, dictionary, dictLength, ZSTD_CONTENTSIZE_UNKNOWN); in z_deflateSetDictionary() 378 …P_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in : ZSTD_CONTENTSIZE_UNKNOWN); in z_deflate() 397 …P_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in : ZSTD_CONTENTSIZE_UNKNOWN); in z_deflate()
|
/freebsd/sys/kern/ |
H A D | subr_compressor.c | 344 ZSTD_CONTENTSIZE_UNKNOWN); in zstdio_reset()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/ |
H A D | zstd.h | 152 #define ZSTD_CONTENTSIZE_UNKNOWN (0ULL - 1) macro
|
/freebsd/sys/contrib/zstd/lib/ |
H A D | zstd.h | 158 #define ZSTD_CONTENTSIZE_UNKNOWN (0ULL - 1) macro
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | fileio.c | 1348 U64 pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; in FIO_compressZstdFrame() 2982 || frameContentSize == ZSTD_CONTENTSIZE_UNKNOWN ) { in FIO_analyzeFrames()
|
/freebsd/sys/contrib/zstd/ |
H A D | CHANGELOG | 382 api : change : when setting `pledgedSrcSize`, use `ZSTD_CONTENTSIZE_UNKNOWN` macro value to mean "u…
|