Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dzstd_lib.h259 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
260 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
261 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* compatible with NULL pointer */
271 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
549 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
566 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
588 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
602 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
755 typedef ZSTD_CCtx ZSTD_CStream; /*< CCtx and CStream are now effectively same object (>= v1.3.0) */
802 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
[all …]
H A Dzstd.h175 typedef ZSTD_CCtx zstd_cctx;
/linux/lib/zstd/compress/
H A Dzstd_compress.c95 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
100 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
112 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
117 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
124 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
127 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
128 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
132 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
135 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
152 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts()
[all …]
H A Dzstd_compress_internal.h140 const SeqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
1516 size_t ZSTD_convertBlockSequences(ZSTD_CCtx* cctx,
1559 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
1569 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
1593 void ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
1602 void ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize);
1615 size_t ZSTD_compressBegin_usingCDict_deprecated(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict);
1617 size_t ZSTD_compressContinue_public(ZSTD_CCtx* cctx,
1621 size_t ZSTD_compressEnd_public(ZSTD_CCtx* cctx,
1625 size_t ZSTD_compressBlock_deprecated(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* sr…
H A Dzstd_compress_superblock.h28 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
H A Dzstd_compress_superblock.c666 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, in ZSTD_compressSuperBlock()
/linux/lib/zstd/common/
H A Dzstd_internal.h288 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…