Home
last modified time | relevance | path

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

12

/external/zstd/lib/
Dzstd.h202 typedef struct ZSTD_CCtx_s ZSTD_CCtx; typedef
203 ZSTDLIB_API ZSTD_CCtx* ZSTD_createCCtx(void);
204 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* accept NULL pointer */
214 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
471 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
488 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
510 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
522 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
671 typedef ZSTD_CCtx ZSTD_CStream; /**< CCtx and CStream are now effectively same object (>= v1.3.0) …
713 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
[all …]
/external/zstd/lib/compress/
Dzstd_compress.c92 ZSTD_CCtx* ZSTD_createCCtx(void) in ZSTD_createCCtx()
97 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx()
109 ZSTD_CCtx* ZSTD_createCCtx_advanced(ZSTD_customMem customMem) in ZSTD_createCCtx_advanced()
114 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
121 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
124 ZSTD_CCtx* cctx; in ZSTD_initStaticCCtx()
125 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx()
129 cctx = (ZSTD_CCtx*)ZSTD_cwksp_reserve_object(&ws, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
132 ZSTD_memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_initStaticCCtx()
148 static void ZSTD_clearAllDicts(ZSTD_CCtx* cctx) in ZSTD_clearAllDicts()
[all …]
Dzstd_compress_superblock.h27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
/external/zstd/tests/
Dfuzzer.c212 ZSTD_CCtx* const cctx = ZSTD_createCCtx_advanced(cMem); in FUZ_mallocTests_internal()
225 ZSTD_CCtx* const cstream = ZSTD_createCStream_advanced(cMem); in FUZ_mallocTests_internal()
244 ZSTD_CCtx* const cctx = ZSTD_createCCtx_advanced(cMem); in FUZ_mallocTests_internal()
262 ZSTD_CCtx* const cctx = ZSTD_createCCtx_advanced(cMem); in FUZ_mallocTests_internal()
342 ZSTD_CCtx* cctx;
378 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in threadPoolTests()
415 ZSTD_CCtx* cctx1 = ZSTD_createCCtx(); in threadPoolTests()
416 ZSTD_CCtx* cctx2 = ZSTD_createCCtx(); in threadPoolTests()
524 { ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in basicUnitTests()
591 { ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in basicUnitTests()
[all …]
Dbigdict.c22 compress(ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in compress()
65 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in main()
/external/zstd/tests/fuzz/
Dzstd_helpers.c24 static void set(ZSTD_CCtx *cctx, ZSTD_cParameter param, int value) in set()
29 static void setRand(ZSTD_CCtx *cctx, ZSTD_cParameter param, unsigned min, in setRand()
68 void FUZZ_setRandomParameters(ZSTD_CCtx *cctx, size_t srcSize, FUZZ_dataProducer_t *producer) in FUZZ_setRandomParameters()
Dzstd_helpers.h30 void FUZZ_setRandomParameters(ZSTD_CCtx *cctx, size_t srcSize, FUZZ_dataProducer_t *producer);
Dsimple_compress.c26 static ZSTD_CCtx *cctx = NULL;
Ddecompress_dstSize_tooSmall.c26 static ZSTD_CCtx *cctx = NULL;
Dblock_round_trip.c27 static ZSTD_CCtx *cctx = NULL;
Draw_dictionary_round_trip.c25 static ZSTD_CCtx *cctx = NULL;
Ddictionary_loader.c34 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in compress()
Dsimple_round_trip.c26 static ZSTD_CCtx *cctx = NULL;
/external/squashfs-tools/squashfs-tools/
Dzstd_wrapper.c187 ZSTD_CCtx *cctx = ZSTD_createCCtx(); in zstd_init()
202 const size_t res = ZSTD_compressCCtx((ZSTD_CCtx*)strm, dest, block_size, in zstd_compress()
/external/zstd/programs/
Dbenchzstd.c165 BMK_initCCtx(ZSTD_CCtx* ctx, in BMK_initCCtx()
203 ZSTD_CCtx* cctx;
236 ZSTD_CCtx* const cctx = (ZSTD_CCtx*)addArgs; in local_defaultCompress()
314 ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in BMK_benchMemAdvancedNoAlloc()
585 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in BMK_benchMemAdvanced()
Dzstdcli_trace.c127 ZSTD_TraceCtx ZSTD_trace_compress_begin(ZSTD_CCtx const* cctx) in ZSTD_trace_compress_begin()
/external/zstd/tests/regression/
Dmethod.c163 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in compress_cctx_compress()
314 ZSTD_CCtx* cctx, in advanced_config()
342 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in advanced_one_pass_compress_output_adjustment()
399 ZSTD_CCtx* cctx = ZSTD_createCCtx(); in advanced_streaming_compress()
/external/zstd/lib/common/
Dzstd_internal.h354 const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
459 void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get thi…
/external/zstd/examples/
Ddictionary_compression.c43 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compress()
Dstreaming_compression.c37 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in compressFile_orDie()
Dstreaming_memory_usage.c84 ZSTD_CCtx* const cctx = ZSTD_createCCtx(); in main()
Dmultiple_simple_compression.c22 ZSTD_CCtx* cctx;
Dmultiple_streaming_compression.c28 ZSTD_CCtx* cctx;
/external/trace-cmd/lib/trace-cmd/
Dtrace-compress-zstd.c16 ZSTD_CCtx *ctx_c;
/external/zstd/contrib/linux-kernel/
Dlinux_zstd.h141 typedef ZSTD_CCtx zstd_cctx;

12