| /freebsd-12-stable/sys/contrib/zstd/lib/ |
| D | zstd.h | 147 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/ |
| D | zstd_compress.c | 62 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 …]
|
| D | zstd_compress_internal.h | 672 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);
|
| D | zstdmt_compress.c | 323 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/ |
| D | zstd_helpers.c | 16 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()
|
| D | zstd_helpers.h | 24 void FUZZ_setRandomParameters(ZSTD_CCtx *cctx, size_t srcSize, uint32_t *state);
|
| D | block_round_trip.c | 26 static ZSTD_CCtx *cctx = NULL;
|
| D | simple_round_trip.c | 26 static ZSTD_CCtx *cctx = NULL;
|
| D | stream_round_trip.c | 24 ZSTD_CCtx *cctx = NULL;
|
| /freebsd-12-stable/sys/contrib/zstd/tests/ |
| D | fuzzer.c | 193 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 …]
|
| D | paramgrill.c | 155 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()
|
| D | roundTripCrash.c | 85 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in cctxParamRoundTripTest()
|
| D | zstreamtest.c | 153 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()
|
| D | fullbench.c | 231 static ZSTD_CCtx* g_zcc = NULL;
|
| /freebsd-12-stable/sys/contrib/zstd/lib/common/ |
| D | zstd_internal.h | 234 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/ |
| D | subr_compressor.c | 257 ZSTD_CCtx *zst_stream; 275 ZSTD_CCtx *dump_compressor; in zstdio_init()
|
| /freebsd-12-stable/sys/contrib/zstd/lib/dictBuilder/ |
| D | zdict.c | 584 ZSTD_CCtx* ref; /* contains reference to dictionary */ 585 ZSTD_CCtx* zc; /* working context */
|
| D | cover.c | 876 ZSTD_CCtx *cctx; in COVER_tryParameters()
|
| /freebsd-12-stable/sys/contrib/zstd/zlibWrapper/ |
| D | README.md | 119 | 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/ |
| D | bench.c | 204 ZSTD_CCtx* const ctx = ZSTD_createCCtx(); in BMK_benchMem()
|
| /freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/ |
| D | zwrapbench.c | 161 ZSTD_CCtx* const ctx = ZSTD_createCCtx(); in BMK_benchMem()
|
| /freebsd-12-stable/sys/contrib/zstd/lib/legacy/ |
| D | zstd_v03.c | 865 typedef struct ZSTD_CCtx_s ZSTD_CCtx; /* incomplete type */ typedef
|
| D | zstd_v02.c | 864 typedef struct ZSTD_CCtx_s ZSTD_CCtx; /* incomplete type */ typedef
|