Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/contrib/zstd/lib/
Dzstd.h147 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
148 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
149 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx);
153 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* ctx,
182 ZSTDLIB_API size_t ZSTD_compress_usingDict(ZSTD_CCtx* ctx,
221 ZSTDLIB_API size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
306 typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) …
496 ZSTDLIB_API size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx);
566 ZSTDLIB_API ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize);
595 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem);
[all …]
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
Dzstd_compress.c62 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
67 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
72 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_calloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
82 ZSTD_CCtx* ZSTD_initStaticCCtx(void *workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
84 ZSTD_CCtx* const cctx = (ZSTD_CCtx*) workspace; in ZSTD_initStaticCCtx()
85 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
90 cctx->workSpaceSize = workspaceSize - sizeof(ZSTD_CCtx); in ZSTD_initStaticCCtx()
105 size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx) in ZSTD_freeCCtx()
119 static size_t ZSTD_sizeof_mtctx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_mtctx()
130 size_t ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx) in ZSTD_sizeof_CCtx()
[all …]
Dzstd_compress_internal.h672 size_t ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx,
681 size_t ZSTD_compress_advanced_internal(ZSTD_CCtx* cctx,
706 size_t ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq);
Dzstdmt_compress.c323 ZSTD_CCtx* cctx[1]; /* variable size */
342 sizeof(ZSTDMT_CCtxPool) + (nbWorkers-1)*sizeof(ZSTD_CCtx*), cMem); in ZSTDMT_createCCtxPool()
364 + (nbWorkers-1) * sizeof(ZSTD_CCtx*); in ZSTDMT_sizeof_CCtxPool()
376 static ZSTD_CCtx* ZSTDMT_getCCtx(ZSTDMT_CCtxPool* cctxPool) in ZSTDMT_getCCtx()
382 { ZSTD_CCtx* const cctx = cctxPool->cctx[cctxPool->availCCtx]; in ZSTDMT_getCCtx()
391 static void ZSTDMT_releaseCCtx(ZSTDMT_CCtxPool* pool, ZSTD_CCtx* cctx) in ZSTDMT_releaseCCtx()
502 ZSTD_CCtx* jobCCtx, rawSeqStore_t seqStore, in ZSTDMT_serialState_update()
601 ZSTD_CCtx* const cctx = ZSTDMT_getCCtx(job->cctxPool); in ZSTDMT_compressionJob()
1082 ZSTD_CCtx* const cctx = mtctx->cctxPool->cctx[0]; in ZSTDMT_compress_advanced_internal()
/freebsd-12-stable/sys/contrib/zstd/tests/fuzz/
Dzstd_helpers.c16 static void set(ZSTD_CCtx *cctx, ZSTD_cParameter param, unsigned value) in set()
21 static void setRand(ZSTD_CCtx *cctx, ZSTD_cParameter param, unsigned min, in setRand()
61 void FUZZ_setRandomParameters(ZSTD_CCtx *cctx, size_t srcSize, uint32_t *state) in FUZZ_setRandomParameters()
Dzstd_helpers.h24 void FUZZ_setRandomParameters(ZSTD_CCtx *cctx, size_t srcSize, uint32_t *state);
Dblock_round_trip.c26 static ZSTD_CCtx *cctx = NULL;
Dsimple_round_trip.c26 static ZSTD_CCtx *cctx = NULL;
Dstream_round_trip.c24 ZSTD_CCtx *cctx = NULL;
/freebsd-12-stable/sys/contrib/zstd/tests/
Dfuzzer.c193 ZSTD_CCtx* const cctx = ZSTD_createCCtx_advanced(cMem); in FUZ_mallocTests()
206 ZSTD_CCtx* const cstream = ZSTD_createCStream_advanced(cMem); in FUZ_mallocTests()
225 ZSTD_CCtx* const cctx = ZSTD_createCCtx_advanced(cMem); in FUZ_mallocTests()
245 ZSTD_CCtx* const cctx = ZSTD_createCCtx_advanced(cMem); in FUZ_mallocTests()
308 { ZSTD_CCtx* cctx = ZSTD_createCCtx(); in basicUnitTests()
372 { ZSTD_CCtx* cctx = ZSTD_createCCtx(); in basicUnitTests()
381 { ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in basicUnitTests()
398 { ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in basicUnitTests()
426 { ZSTD_CCtx* staticCCtx = ZSTD_initStaticCCtx(staticCCtxBuffer, staticCCtxSize); in basicUnitTests()
593 { ZSTD_CCtx* const ctxOrig = ZSTD_createCCtx(); in basicUnitTests()
[all …]
Dparamgrill.c155 ZSTD_CCtx* ctx, in BMK_benchParam()
355 ZSTD_CCtx* ctx) in BMK_seed()
517 ZSTD_CCtx* ctx) in playAround()
565 ZSTD_CCtx* ctx) in BMK_selectRandomStart()
580 ZSTD_CCtx* const ctx = ZSTD_createCCtx(); in BMK_benchMem()
777 { ZSTD_CCtx* const ctx = ZSTD_createCCtx(); in optimizeForSize()
DroundTripCrash.c85 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in cctxParamRoundTripTest()
Dzstreamtest.c153 static size_t SEQ_roundTrip(ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in SEQ_roundTrip()
190 static size_t SEQ_generateRoundTrip(ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in SEQ_generateRoundTrip()
593 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in basicUnitTests()
1492 static size_t setCCtxParameter(ZSTD_CCtx* zc, ZSTD_CCtx_params* cctxParams, in setCCtxParameter()
1519 ZSTD_CCtx* zc = ZSTD_createCCtx(); /* will be reset sometimes */ in fuzzerTests_newAPI()
Dfullbench.c231 static ZSTD_CCtx* g_zcc = NULL;
/freebsd-12-stable/sys/contrib/zstd/lib/common/
Dzstd_internal.h234 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
271 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…
/freebsd-12-stable/sys/kern/
Dsubr_compressor.c257 ZSTD_CCtx *zst_stream;
275 ZSTD_CCtx *dump_compressor; in zstdio_init()
/freebsd-12-stable/sys/contrib/zstd/lib/dictBuilder/
Dzdict.c584 ZSTD_CCtx* ref; /* contains reference to dictionary */
585 ZSTD_CCtx* zc; /* working context */
Dcover.c876 ZSTD_CCtx *cctx; in COVER_tryParameters()
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
DREADME.md119 | zstd 1.1.0 using ZSTD_CCtx | 68.35 MB/s | 430.9 MB/s | 6868521 | 3.43…
/freebsd-12-stable/sys/contrib/zstd/programs/
Dbench.c204 ZSTD_CCtx* const ctx = ZSTD_createCCtx(); in BMK_benchMem()
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/
Dzwrapbench.c161 ZSTD_CCtx* const ctx = ZSTD_createCCtx(); in BMK_benchMem()
/freebsd-12-stable/sys/contrib/zstd/lib/legacy/
Dzstd_v03.c865 typedef struct ZSTD_CCtx_s ZSTD_CCtx; /* incomplete type */ typedef
Dzstd_v02.c864 typedef struct ZSTD_CCtx_s ZSTD_CCtx; /* incomplete type */ typedef