Searched refs:staticSize (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/lib/zstd/decompress/ |
D | zstd_decompress.c | 244 dctx->staticSize = 0; in ZSTD_initDCtx_internal() 274 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx() 312 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx"); in ZSTD_freeDCtx() 1621 … assert(!dctx->staticSize); /* Impossible: ddictSet cannot have been allocated if static dctx */ in ZSTD_DCtx_refDDict() 1741 if (dctx->staticSize != 0) { in ZSTD_DCtx_setParameter() 2006 if (zds->staticSize) { /* static DCtx */ in ZSTD_decompressStream() 2007 DEBUGLOG(4, "staticSize : %u", (U32)zds->staticSize); in ZSTD_decompressStream() 2008 assert(zds->staticSize >= sizeof(ZSTD_DCtx)); /* controlled at init */ in ZSTD_decompressStream() 2010 bufferSize > zds->staticSize - sizeof(ZSTD_DCtx), in ZSTD_decompressStream()
|
D | zstd_decompress_internal.h | 154 size_t staticSize; member
|
/linux-6.12.1/lib/zstd/compress/ |
D | zstd_compress.c | 131 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx() 164 assert(cctx->staticSize == 0); in ZSTD_freeCCtxContent() 172 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_freeCCtx() 634 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported, in ZSTD_CCtx_setParameter() 1076 RETURN_ERROR_IF(cctx->staticSize, memory_allocation, in ZSTD_CCtx_loadDictionary_advanced() 1797 … ¶ms->cParams, ¶ms->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal() 1803 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal() 1817 RETURN_ERROR_IF(zc->staticSize, memory_allocation, "static cctx : no resize"); in ZSTD_resetCCtx_internal()
|
D | zstd_compress_internal.h | 376 size_t staticSize; member
|