Home
last modified time | relevance | path

Searched refs:ZSTD_DCtx (Results 1 – 20 of 20) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.h243 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef
244 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void);
245 ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx);
252 ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx,
829 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
884 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
1027 ZSTDLIB_API size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx* dctx,
1036 ZSTDLIB_API size_t ZSTD_sizeof_DCtx(const ZSTD_DCtx* dctx);
1726 ZSTD_DCtx* dctx,
2058 ZSTDLIB_API size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx);
[all …]
H A Dzstd.c3303 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef
4786 ZSTD_DCtx* dctx,
5126 ZSTDLIB_API void ZSTD_copyDCtx(ZSTD_DCtx* dctx, const ZSTD_DCtx* preparedDCtx);
24630 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx()
24645 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced()
24653 ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx()
24659 static void ZSTD_clearDict(ZSTD_DCtx* dctx) in ZSTD_clearDict()
24667 size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx()
24685 void ZSTD_copyDCtx(ZSTD_DCtx* dstDCtx, const ZSTD_DCtx* srcDCtx) in ZSTD_copyDCtx()
25335 ZSTD_DCtx dctx; in ZSTD_decompress()
[all …]
/f-stack/freebsd/contrib/zstd/lib/
H A Dzstd.h223 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef
224 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void);
225 ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx);
232 ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx,
828 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
883 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
1026 ZSTDLIB_API size_t ZSTD_DCtx_refPrefix(ZSTD_DCtx* dctx,
1035 ZSTDLIB_API size_t ZSTD_sizeof_DCtx(const ZSTD_DCtx* dctx);
2000 ZSTD_DCtx* dctx,
2334 ZSTDLIB_API size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx);
[all …]
/f-stack/freebsd/contrib/zstd/lib/decompress/
H A Dzstd_decompress.c78 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx()
132 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx()
147 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced()
155 ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx()
161 static void ZSTD_clearDict(ZSTD_DCtx* dctx) in ZSTD_clearDict()
169 size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx()
187 void ZSTD_copyDCtx(ZSTD_DCtx* dstDCtx, const ZSTD_DCtx* srcDCtx) in ZSTD_copyDCtx()
832 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in ZSTD_decompress()
838 ZSTD_DCtx dctx; in ZSTD_decompress()
1176 size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx) in ZSTD_decompressBegin()
[all …]
H A Dzstd_decompress_block.c74 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx,
79 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock()
1071 ZSTD_DCtx const* dctx, in ZSTD_assertValidSequence()
1103 ZSTD_decompressSequences_body( ZSTD_DCtx* dctx, in ZSTD_decompressSequences_body()
1224 ZSTD_decompressSequences_default(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_default()
1237 ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_body()
1346 ZSTD_decompressSequences_bmi2(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_bmi2()
1371 ZSTD_DCtx* dctx,
1402 ZSTD_decompressSequencesLong(ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong()
1449 ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx, in ZSTD_decompressBlock_internal()
[all …]
H A Dzstd_ddict.h40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
H A Dzstd_decompress_block.h42 size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
H A Dzstd_decompress_internal.h187 void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst);
H A Dzstd_ddict.c58 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters()
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v04.c268 typedef ZSTDv04_Dctx ZSTD_DCtx; typedef
276 static size_t ZSTD_decompress_usingDict(ZSTD_DCtx* ctx,
285 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx);
2518 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx()
2529 static ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx()
2531 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx()
2537 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx()
2955 ZSTD_DCtx* dctx, in ZSTD_decompressSequences()
3358 ZSTD_DCtx* zc;
3612 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in ZSTDv04_decompress()
[all …]
H A Dzstd_v03.c931 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef
2516 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decodeLiteralsBlock()
2822 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decompressSequences()
2967 ZSTD_DCtx ctx; in ZSTD_decompress()
3032 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx()
3041 static ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx()
3043 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx()
3049 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx()
3148 return ZSTD_freeDCtx((ZSTD_DCtx*)dctx); in ZSTDv03_freeDCtx()
3153 return ZSTD_resetDCtx((ZSTD_DCtx*)dctx); in ZSTDv03_resetDCtx()
[all …]
H A Dzstd_v02.c930 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef
2875 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decodeLiteralsBlock()
3181 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decompressSequences()
3326 ZSTD_DCtx ctx; in ZSTD_decompress()
3390 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx()
3399 static ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx()
3401 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx()
3407 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx()
3506 return ZSTD_freeDCtx((ZSTD_DCtx*)dctx); in ZSTDv02_freeDCtx()
3511 return ZSTD_resetDCtx((ZSTD_DCtx*)dctx); in ZSTDv02_resetDCtx()
[all …]
/f-stack/freebsd/contrib/zstd/programs/
H A Dbenchzstd.c194 static void BMK_initDCtx(ZSTD_DCtx* dctx, in BMK_initDCtx()
217 ZSTD_DCtx* dctx;
246 ZSTD_DCtx* const dctx = (ZSTD_DCtx*)addArgs; in local_defaultDecompress()
313 ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in BMK_benchMemAdvancedNoAlloc()
586 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in BMK_benchMemAdvanced()
/f-stack/freebsd/contrib/zstd/examples/
H A Dstreaming_decompression.c26 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompressFile_orDie()
H A Ddictionary_decompression.c62 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompress()
H A Dstreaming_memory_usage.c98 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in main()
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dzstd_internal.h470 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
/f-stack/freebsd/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c473 ZSTD_DCtx *dctx; in zfs_zstd_decompress_level()
/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c164 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in BMK_benchMem()
/f-stack/freebsd/contrib/zstd/
H A DCHANGELOG65 perf: Automatically downsizes ZSTD_DCtx when too large for too long (#2069, by @bimbashreshta)