Searched refs:cctx (Results 1 – 2 of 2) sorted by relevance
111 ZSTD_CCtx *cctx; in ZSTD_createCCtx_advanced() local114 cctx = (ZSTD_CCtx *)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()115 if (!cctx) in ZSTD_createCCtx_advanced()117 memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_createCCtx_advanced()118 cctx->customMem = customMem; in ZSTD_createCCtx_advanced()119 return cctx; in ZSTD_createCCtx_advanced()125 ZSTD_CCtx *cctx = ZSTD_createCCtx_advanced(stackMem); in ZSTD_initCCtx() local126 if (cctx) { in ZSTD_initCCtx()127 cctx->workSpace = ZSTD_stackAllocAll(cctx->customMem.opaque, &cctx->workSpaceSize); in ZSTD_initCCtx()129 return cctx; in ZSTD_initCCtx()[all …]
264 void ZSTD_invalidateRepCodes(ZSTD_CCtx *cctx);266 size_t ZSTD_freeCCtx(ZSTD_CCtx *cctx);