Home
last modified time | relevance | path

Searched refs:staticSize (Results 1 – 4 of 4) sorted by relevance

/linux/lib/zstd/decompress/
H A Dzstd_decompress.c249 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
280 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
318 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
1717 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict()
1852 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter()
2146 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
2147 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
2148 assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */ in ZSTD_decompressStream()
2150 bufferSize > zds->staticSize - sizeof(ZSTD_DCtx), in ZSTD_decompressStream()
H A Dzstd_decompress_internal.h156 size_t staticSize; member
/linux/lib/zstd/compress/
H A Dzstd_compress.c137 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
171 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
180 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
703 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
1236 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
2075 … &params->cParams, &params->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal()
2080 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
2094 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
H A Dzstd_compress_internal.h488 size_t staticSize; member