Home
last modified time | relevance | path

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

/linux/lib/zstd/decompress/
A Dzstd_ddict.c190 size_t const neededSpace = sizeof(ZSTD_DDict) in ZSTD_initStaticDDict() local
196 if (sBufferSize < neededSpace) return NULL; in ZSTD_initStaticDDict()
/linux/lib/zstd/compress/
A Dzstd_compress.c1288 size_t const neededSpace = in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local
1298 DEBUGLOG(5, "estimate workspace : %u", (U32)neededSpace); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1299 return neededSpace; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1594 size_t const neededSpace = in ZSTD_resetCCtx_internal() local
1598 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal()
1604 int const workspaceTooSmall = ZSTD_cwksp_sizeof(ws) < neededSpace; in ZSTD_resetCCtx_internal()
1605 int const workspaceWasteful = ZSTD_cwksp_check_wasteful(ws, neededSpace); in ZSTD_resetCCtx_internal()
1607 DEBUGLOG(4, "Need %zu B workspace", neededSpace); in ZSTD_resetCCtx_internal()
1613 neededSpace >> 10); in ZSTD_resetCCtx_internal()
1712 assert(ZSTD_cwksp_used(ws) >= neededSpace && in ZSTD_resetCCtx_internal()
[all …]

Completed in 15 milliseconds