Lines Matching refs:fParams
342 … 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()
1138 …RETURN_ERROR_IF(rSize > dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size … in ZSTD_decompressContinue()
1152 dctx->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressContinue()
1153 && dctx->decodedSize != dctx->fParams.frameContentSize, in ZSTD_decompressContinue()
1155 if (dctx->fParams.checksumFlag) { /* another round for frame checksum */ in ZSTD_decompressContinue()
1852 …{ size_t const hSize = ZSTD_getFrameHeader_advanced(&zds->fParams, zds->headerBuffer, zds->lhSiz… in ZSTD_decompressStream()
1878 if (zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream()
1879 && zds->fParams.frameType != ZSTD_skippableFrame in ZSTD_decompressStream()
1880 && (U64)(size_t)(oend-op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1897 && zds->fParams.frameType != ZSTD_skippableFrame in ZSTD_decompressStream()
1898 && zds->fParams.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_decompressStream()
1899 && (U64)(size_t)(oend-op) < zds->fParams.frameContentSize) { in ZSTD_decompressStream()
1918 (U32)(zds->fParams.windowSize >>10), in ZSTD_decompressStream()
1920 … zds->fParams.windowSize = MAX(zds->fParams.windowSize, 1U << ZSTD_WINDOWLOG_ABSOLUTEMIN); in ZSTD_decompressStream()
1921 RETURN_ERROR_IF(zds->fParams.windowSize > zds->maxWindowSize, in ZSTD_decompressStream()
1925 … { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */); in ZSTD_decompressStream()
1927 … ? ZSTD_decodingBufferSize_min(zds->fParams.windowSize, zds->fParams.frameContentSize) in ZSTD_decompressStream()
2012 if ( (zds->outBuffSize < zds->fParams.frameContentSize) in ZSTD_decompressStream()
2013 && (zds->outStart + zds->fParams.blockSizeMax > zds->outBuffSize) ) { in ZSTD_decompressStream()
2016 (U32)zds->fParams.blockSizeMax); in ZSTD_decompressStream()