Home
last modified time | relevance | path

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

/lib/zstd/
Ddecompress.c88 ZSTD_frameParams fParams; member
300 ZSTD_frameParams fParams; in ZSTD_getFrameContentSize() local
301 if (ZSTD_getFrameParams(&fParams, src, srcSize) != 0) in ZSTD_getFrameContentSize()
303 if (fParams.windowSize == 0) { in ZSTD_getFrameContentSize()
306 } else if (fParams.frameContentSize != 0) { in ZSTD_getFrameContentSize()
307 return fParams.frameContentSize; in ZSTD_getFrameContentSize()
374 size_t const result = ZSTD_getFrameParams(&(dctx->fParams), src, headerSize); in ZSTD_decodeFrameHeader()
379 if (dctx->fParams.dictID && (dctx->dictID != dctx->fParams.dictID)) in ZSTD_decodeFrameHeader()
381 if (dctx->fParams.checksumFlag) in ZSTD_decodeFrameHeader()
1360 unsigned const windowSize = dctx->fParams.windowSize; in ZSTD_decompressSequencesLong()
[all …]
Dcompress.c356 params.fParams.contentSizeFlag = (pledgedSrcSize > 0); in ZSTD_copyCCtx()
2364 if (cctx->params.fParams.checksumFlag && srcSize) in ZSTD_compress_generic()
2435 U32 const checksumFlag = params.fParams.checksumFlag > 0; in ZSTD_writeFrameHeader()
2437 U32 const singleSegment = params.fParams.contentSizeFlag && (windowSize >= pledgedSrcSize); in ZSTD_writeFrameHeader()
2440 …params.fParams.contentSizeFlag ? (pledgedSrcSize >= 256) + (pledgedSrcSize >= 65536 + 256) + (pled… in ZSTD_writeFrameHeader()
2634 cctx->dictID = cctx->params.fParams.noDictIDFlag ? 0 : ZSTD_readLE32(dictPtr); in ZSTD_loadZstdDictionary()
2794 if (cctx->params.fParams.checksumFlag) { in ZSTD_writeEpilogue()
2920 params.fParams.contentSizeFlag = (pledgedSrcSize > 0); in ZSTD_compressBegin_usingCDict()
2934 if (cdict->refContext->params.fParams.contentSizeFlag == 1) { in ZSTD_compress_usingCDict()
2935 cctx->params.fParams.contentSizeFlag = 1; in ZSTD_compress_usingCDict()
[all …]