Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dzstd_lib.h216 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef
217 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void);
218 ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx); /* accept NULL pointer */
225 ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx,
572 ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value);
580 ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset);
783 typedef ZSTD_DCtx ZSTD_DStream; /*< DCtx and DStream are now effectively same object (>= v1.3.0) */
826 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
883 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
1003 ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
[all …]
Dzstd.h185 typedef ZSTD_DCtx zstd_dctx;
/linux-6.6.21/lib/zstd/decompress/
Dzstd_decompress.c213 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx()
221 size_t ZSTD_estimateDCtxSize(void) { return sizeof(ZSTD_DCtx); } in ZSTD_estimateDCtxSize()
232 static void ZSTD_DCtx_resetParameters(ZSTD_DCtx* dctx) in ZSTD_DCtx_resetParameters()
242 static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal()
266 ZSTD_DCtx* ZSTD_initStaticDCtx(void *workspace, size_t workspaceSize) in ZSTD_initStaticDCtx()
268 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx()
271 if (workspaceSize < sizeof(ZSTD_DCtx)) return NULL; /* minimum size */ in ZSTD_initStaticDCtx()
279 static ZSTD_DCtx* ZSTD_createDCtx_internal(ZSTD_customMem customMem) { in ZSTD_createDCtx_internal()
282 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_internal()
290 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
[all …]
Dzstd_decompress_block.c73 static void ZSTD_allocateLiteralsBuffer(ZSTD_DCtx* dctx, void* const dst, const size_t dstCapacity,… in ZSTD_allocateLiteralsBuffer()
108 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx,
119 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock()
653 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr, in ZSTD_decodeSeqHeaders()
1272 MEM_STATIC int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* …
1288 ZSTD_DCtx const* dctx,
1322 ZSTD_decompressSequences_bodySplitLitBuffer( ZSTD_DCtx* dctx,
1539 ZSTD_decompressSequences_body(ZSTD_DCtx* dctx,
1627 ZSTD_decompressSequences_default(ZSTD_DCtx* dctx,
1637 ZSTD_decompressSequencesSplitLitBuffer_default(ZSTD_DCtx* dctx,
[all …]
Dzstd_ddict.h40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
Dzstd_decompress_block.h48 size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
Dzstd_decompress_internal.h225 void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst, size_t dstSize);
Dzstd_ddict.c55 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters()
/linux-6.6.21/lib/zstd/common/
Dzstd_internal.h430 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,