Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dcompress.c100 size_t const tableSpace = (chainSize + hSize + h3Size) * sizeof(U32); in ZSTD_CCtxWorkspaceBound() local
103 size_t const workspaceSize = tableSpace + (256 * sizeof(U32)) /* huffTable */ + tokenSpace + in ZSTD_CCtxWorkspaceBound()
260 size_t const tableSpace = (chainSize + hSize + h3Size) * sizeof(U32); in ZSTD_resetCCtx_advanced() local
267 size_t const neededSpace = tableSpace + (256 * sizeof(U32)) /* huffTable */ + tokenSpace + in ZSTD_resetCCtx_advanced()
279 memset(zc->workSpace, 0, tableSpace); /* reset tables only */ in ZSTD_resetCCtx_advanced()
365 size_t const tableSpace = (chainSize + hSize + h3Size) * sizeof(U32); in ZSTD_copyCCtx() local
366 memcpy(dstCCtx->workSpace, srcCCtx->workSpace, tableSpace); in ZSTD_copyCCtx()