Searched refs:maxWindowSize (Results 1 – 4 of 4) sorted by relevance
236 dctx->maxWindowSize = ZSTD_MAXWINDOWSIZE_DEFAULT; in ZSTD_DCtx_resetParameters()1631 size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize) in ZSTD_DCtx_setMaxWindowSize() argument1637 RETURN_ERROR_IF(maxWindowSize < min, parameter_outOfBound, ""); in ZSTD_DCtx_setMaxWindowSize()1638 RETURN_ERROR_IF(maxWindowSize > max, parameter_outOfBound, ""); in ZSTD_DCtx_setMaxWindowSize()1639 dctx->maxWindowSize = maxWindowSize; in ZSTD_DCtx_setMaxWindowSize()1699 *value = (int)ZSTD_highbit32((U32)dctx->maxWindowSize); in ZSTD_DCtx_getParameter()1725 dctx->maxWindowSize = ((size_t)1) << value; in ZSTD_DCtx_setParameter()1984 (U32)(zds->maxWindowSize >> 10) ); in ZSTD_decompressStream()1986 RETURN_ERROR_IF(zds->fParams.windowSize > zds->maxWindowSize, in ZSTD_decompressStream()
173 size_t maxWindowSize; member
2060 ZSTDLIB_STATIC_API size_t ZSTD_DCtx_setMaxWindowSize(ZSTD_DCtx* dctx, size_t maxWindowSize);
1215 const U64 maxWindowSize = 1ULL << ZSTD_WINDOWLOG_MAX; in ZSTD_dictAndWindowLog() local1231 } else if (dictAndWindowSize >= maxWindowSize) { in ZSTD_dictAndWindowLog()