Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Dzstd_lib.h185 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
186 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
187 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* accept NULL pointer */
197 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
451 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
468 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
490 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
502 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
651 typedef ZSTD_CCtx ZSTD_CStream; /*< CCtx and CStream are now effectively same object (>= v1.3.0) */
693 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
[all …]
Dzstd.h141 typedef ZSTD_CCtx zstd_cctx;
/Linux-v6.1/lib/zstd/compress/
Dzstd_compress.c74 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
79 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
91 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
96 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
103 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
106 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
107 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
111 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
114 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
130 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts()
[all …]
Dzstd_compress_superblock.h27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
Dzstd_compress_internal.h1142 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
1152 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
1177 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
1186 void ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize);
Dzstd_compress_superblock.c830 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, in ZSTD_compressSuperBlock()
/Linux-v6.1/lib/zstd/common/
Dzstd_internal.h394 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
427 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…