Searched refs:staticSize (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/lib/zstd/decompress/ |
D | zstd_decompress_internal.h | 138 size_t staticSize; member
|
D | zstd_decompress.c | 245 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/ |
D | zstd_compress.c | 116 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 ¶ms.cParams, ¶ms.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()
|
D | zstd_compress_internal.h | 286 size_t staticSize; member
|