Searched refs:neededSpace (Results 1 – 2 of 2) sorted by relevance
193 size_t const neededSpace = sizeof(ZSTD_DDict) in ZSTD_initStaticDDict() local199 if (sBufferSize < neededSpace) return NULL; in ZSTD_initStaticDDict()
1328 size_t const neededSpace = in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local1338 DEBUGLOG(5, "estimate workspace : %u", (U32)neededSpace); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()1339 return neededSpace; in ZSTD_estimateCCtxSize_usingCCtxParams_internal()1637 size_t const neededSpace = in ZSTD_resetCCtx_internal() local1641 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal()1647 int const workspaceTooSmall = ZSTD_cwksp_sizeof(ws) < neededSpace; in ZSTD_resetCCtx_internal()1648 int const workspaceWasteful = ZSTD_cwksp_check_wasteful(ws, neededSpace); in ZSTD_resetCCtx_internal()1650 DEBUGLOG(4, "Need %zu B workspace", neededSpace); in ZSTD_resetCCtx_internal()1656 neededSpace >> 10); in ZSTD_resetCCtx_internal()1754 assert(ZSTD_cwksp_used(ws) >= neededSpace && in ZSTD_resetCCtx_internal()[all …]