Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress_internal.h138 size_t staticSize; member
Dzstd_decompress.c245 dctx->staticSize = 0; in ZSTD_initDCtx_internal()
275 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx()
309 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx()
1556 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict()
1676 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter()
1941 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream()
1942 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream()
1943 assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */ in ZSTD_decompressStream()
1945 bufferSize > zds->staticSize - sizeof(ZSTD_DCtx), in ZSTD_decompressStream()
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c116 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx()
149 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent()
157 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx()
544 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter()
959 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced()
1596 &params.cParams, &params.ldmParams, zc->staticSize != 0, in ZSTD_resetCCtx_internal()
1600 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal()
1615 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
Dzstd_compress_internal.h286 size_t staticSize; member