Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dzstd.h230 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
240 ZSTD_CCtx *ZSTD_initCCtx(void *workspace, size_t workspaceSize);
256 size_t ZSTD_compressCCtx(ZSTD_CCtx *ctx, void *dst, size_t dstCapacity,
325 size_t ZSTD_compress_usingDict(ZSTD_CCtx *ctx, void *dst, size_t dstCapacity,
406 size_t ZSTD_compress_usingCDict(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
1005 size_t ZSTD_compressBegin(ZSTD_CCtx *cctx, int compressionLevel);
1006 size_t ZSTD_compressBegin_usingDict(ZSTD_CCtx *cctx, const void *dict,
1008 size_t ZSTD_compressBegin_advanced(ZSTD_CCtx *cctx, const void *dict,
1011 size_t ZSTD_copyCCtx(ZSTD_CCtx *cctx, const ZSTD_CCtx *preparedCCtx,
1013 size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx *cctx, const ZSTD_CDict *cdict,
[all …]
/Linux-v4.19/lib/zstd/
Dcompress.c106 return ZSTD_ALIGN(sizeof(ZSTD_stack)) + ZSTD_ALIGN(sizeof(ZSTD_CCtx)) + ZSTD_ALIGN(workspaceSize); in ZSTD_CCtxWorkspaceBound()
109 static ZSTD_CCtx *ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
111 ZSTD_CCtx *cctx; in ZSTD_createCCtx_advanced()
114 cctx = (ZSTD_CCtx *)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
117 memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_createCCtx_advanced()
122 ZSTD_CCtx *ZSTD_initCCtx(void *workspace, size_t workspaceSize) in ZSTD_initCCtx()
125 ZSTD_CCtx *cctx = ZSTD_createCCtx_advanced(stackMem); in ZSTD_initCCtx()
132 size_t ZSTD_freeCCtx(ZSTD_CCtx *cctx) in ZSTD_freeCCtx()
141 const seqStore_t *ZSTD_getSeqStore(const ZSTD_CCtx *ctx) /* hidden interface */ { return &(ctx->seq… in ZSTD_getSeqStore()
143 static ZSTD_parameters ZSTD_getParamsFromCCtx(const ZSTD_CCtx *cctx) { return cctx->params; } in ZSTD_getParamsFromCCtx()
[all …]
Dzstd_internal.h212 const seqStore_t *ZSTD_getSeqStore(const ZSTD_CCtx *ctx);
254 void ZSTD_invalidateRepCodes(ZSTD_CCtx *cctx);
256 size_t ZSTD_freeCCtx(ZSTD_CCtx *cctx);
Dzstd_opt.h215 U32 ZSTD_insertAndFindFirstIndexHash3(ZSTD_CCtx *zc, const BYTE *ip) in ZSTD_insertAndFindFirstIndexHash3()
235 static U32 ZSTD_insertBtAndGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLi… in ZSTD_insertBtAndGetAllMatches()
356 static U32 ZSTD_BtGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLimit, cons… in ZSTD_BtGetAllMatches()
365 static U32 ZSTD_BtGetAllMatches_selectMLS(ZSTD_CCtx *zc, /* Index table will be updated */ in ZSTD_BtGetAllMatches_selectMLS()
380 static U32 ZSTD_BtGetAllMatches_extDict(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLim… in ZSTD_BtGetAllMatches_extDict()
389 static U32 ZSTD_BtGetAllMatches_selectMLS_extDict(ZSTD_CCtx *zc, /* Index table will be updated */ in ZSTD_BtGetAllMatches_selectMLS_extDict()
407 void ZSTD_compressBlock_opt_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const int ultr… in ZSTD_compressBlock_opt_generic()
700 void ZSTD_compressBlock_opt_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const … in ZSTD_compressBlock_opt_extDict_generic()
/Linux-v4.19/crypto/
Dzstd.c29 ZSTD_CCtx *cctx;