Home
last modified time | relevance | path

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

/lib/zstd/
Dcompress.c71 size_t workSpaceSize; member
127 cctx->workSpace = ZSTD_stackAllocAll(cctx->customMem.opaque, &cctx->workSpaceSize); in ZSTD_initCCtx()
269 if (zc->workSpaceSize < neededSpace) { in ZSTD_resetCCtx_advanced()
274 zc->workSpaceSize = neededSpace; in ZSTD_resetCCtx_advanced()
Ddecompress.c157 …size_t const workSpaceSize = (ZSTD_BLOCKSIZE_ABSOLUTEMAX + WILDCOPY_OVERLENGTH) + ZSTD_frameHeader… in ZSTD_copyDCtx() local
158 memcpy(dstDCtx, srcDCtx, sizeof(ZSTD_DCtx) - workSpaceSize); /* no need to copy workspace */ in ZSTD_copyDCtx()