Home
last modified time | relevance | path

Searched refs:windowSize (Results 1 – 5 of 5) sorted by relevance

/linux/lib/zstd/decompress/
A Dzstd_decompress.c444 U64 windowSize = 0; in ZSTD_getFrameHeader_advanced() local
454 windowSize = (1ULL << windowLog); in ZSTD_getFrameHeader_advanced()
455 windowSize += (windowSize >> 3) * (wlByte&7); in ZSTD_getFrameHeader_advanced()
477 if (singleSegment) windowSize = frameContentSize; in ZSTD_getFrameHeader_advanced()
481 zfhPtr->windowSize = windowSize; in ZSTD_getFrameHeader_advanced()
1719 size_t ZSTD_estimateDStreamSize(size_t windowSize) in ZSTD_estimateDStreamSize() argument
1721 size_t const blockSize = MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_estimateDStreamSize()
1734 RETURN_ERROR_IF(zfh.windowSize > windowSizeMax, in ZSTD_estimateDStreamSize_fromFrame()
1736 return ZSTD_estimateDStreamSize((size_t)zfh.windowSize); in ZSTD_estimateDStreamSize_fromFrame()
1918 (U32)(zds->fParams.windowSize >>10), in ZSTD_decompressStream()
[all …]
A Dzstd_decompress_block.c1057 size_t const windowSize = dctx->fParams.windowSize; in ZSTD_dictionaryIsActive() local
1065 if ((size_t)(oLitEnd - prefixStart) >= windowSize) return 0; in ZSTD_dictionaryIsActive()
1077 size_t const windowSize = dctx->fParams.windowSize; in ZSTD_assertValidSequence() local
1089 assert(seq.offset <= windowSize + dictSize); in ZSTD_assertValidSequence()
1092 assert(seq.offset <= windowSize); in ZSTD_assertValidSequence()
1460 …Offset = (ZSTD_longOffset_e)(MEM_32bits() && (!frame || (dctx->fParams.windowSize > (1ULL << STREA… in ZSTD_decompressBlock_internal()
1494 && (!frame || (dctx->fParams.windowSize > (1<<24))) in ZSTD_decompressBlock_internal()
/linux/lib/
A Ddecompress_unzstd.c256 if (header.windowSize > ZSTD_WINDOWSIZE_MAX) { in __unzstd()
266 wksp_size = zstd_dstream_workspace_bound(header.windowSize); in __unzstd()
268 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size); in __unzstd()
/linux/include/linux/
A Dzstd_lib.h1442 ZSTDLIB_API size_t ZSTD_estimateDStreamSize(size_t windowSize);
2358 unsigned long long windowSize; /* can be very large, up to <= frameContentSize */ member
2376 ZSTDLIB_API size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long long fr…
/linux/lib/zstd/compress/
A Dzstd_compress.c1106 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog() local
1107 U64 const dictAndWindowSize = dictSize + windowSize; in ZSTD_dictAndWindowLog()
1112 if (windowSize >= dictSize + srcSize) { in ZSTD_dictAndWindowLog()
1266 size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << cParams->windowLog), pledgedSrcSize)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local
1267 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1579 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize); in ZSTD_resetCCtx_internal()
1586 ? windowSize + blockSize in ZSTD_resetCCtx_internal()
1608 DEBUGLOG(4, "windowSize: %zu - blockSize: %zu", windowSize, blockSize); in ZSTD_resetCCtx_internal()
2868 U32 const windowSize = (U32)1 << params->cParams.windowLog; in ZSTD_writeFrameHeader() local
4443 U32 windowSize = 1 << windowLog; in ZSTD_validateSequence() local
[all …]

Completed in 34 milliseconds