Home
last modified time | relevance | path

Searched refs:fParams (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c342 … const ZSTD_DDict* frameDDict = ZSTD_DDictHashSet_getDDict(dctx->ddictSet, dctx->fParams.dictID); in ZSTD_DCtx_selectFrameDDict()
346 dctx->dictID = dctx->fParams.dictID; in ZSTD_DCtx_selectFrameDDict()
603 …size_t const result = ZSTD_getFrameHeader_advanced(&(dctx->fParams), src, headerSize, dctx->format… in ZSTD_decodeFrameHeader()
616 RETURN_ERROR_IF(dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID), in ZSTD_decodeFrameHeader()
619 dctx->validateChecksum = (dctx->fParams.checksumFlag && !dctx->forceIgnoreChecksum) ? 1 : 0; in ZSTD_decodeFrameHeader()
851 if (dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_decompressFrame()
852 RETURN_ERROR_IF((U64)(op-ostart) != dctx->fParams.frameContentSize, in ZSTD_decompressFrame()
855 if (dctx->fParams.checksumFlag) { /* Frame content checksum verification */ in ZSTD_decompressFrame()
1087 …RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds … in ZSTD_decompressContinue()
1097 if (dctx->fParams.checksumFlag) { in ZSTD_decompressContinue()
[all …]
Dzstd_decompress_internal.h122 ZSTD_frameHeader fParams; member
Dzstd_decompress_block.c1057 size_t const windowSize = dctx->fParams.windowSize; in ZSTD_dictionaryIsActive()
1077 size_t const windowSize = dctx->fParams.windowSize; in ZSTD_assertValidSequence()
1460 …nst isLongOffset = (ZSTD_longOffset_e)(MEM_32bits() && (!frame || (dctx->fParams.windowSize > (1UL… in ZSTD_decompressBlock_internal()
1494 && (!frame || (dctx->fParams.windowSize > (1<<24))) in ZSTD_decompressBlock_internal()
/linux-6.1.9/lib/zstd/
Dzstd_compress_module.c49 cctx, ZSTD_c_contentSizeFlag, parameters->fParams.contentSizeFlag)); in zstd_cctx_init()
51 cctx, ZSTD_c_checksumFlag, parameters->fParams.checksumFlag)); in zstd_cctx_init()
53 cctx, ZSTD_c_dictIDFlag, !parameters->fParams.noDictIDFlag)); in zstd_cctx_init()
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c258 cctxParams->fParams.contentSizeFlag = 1; in ZSTD_CCtxParams_init()
273 cctxParams->fParams = params->fParams; in ZSTD_CCtxParams_init_internal()
297 cctxParams->fParams = params->fParams; in ZSTD_CCtxParams_setZstdParams()
650 CCtxParams->fParams.contentSizeFlag = value != 0; in ZSTD_CCtxParams_setParameter()
651 return CCtxParams->fParams.contentSizeFlag; in ZSTD_CCtxParams_setParameter()
655 CCtxParams->fParams.checksumFlag = value != 0; in ZSTD_CCtxParams_setParameter()
656 return CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_setParameter()
660 CCtxParams->fParams.noDictIDFlag = !value; in ZSTD_CCtxParams_setParameter()
661 return !CCtxParams->fParams.noDictIDFlag; in ZSTD_CCtxParams_setParameter()
803 *value = CCtxParams->fParams.contentSizeFlag; in ZSTD_CCtxParams_getParameter()
[all …]
Dzstd_compress_internal.h217 ZSTD_frameParameters fParams; member
/linux-6.1.9/include/linux/
Dzstd_lib.h1177 ZSTD_frameParameters fParams; member
1610 ZSTD_frameParameters fParams);
2141 ZSTD_frameParameters fParams,
2274 …x* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long lo…