Home
last modified time | relevance | path

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

12

/external/zstd/lib/
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,
574 ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value);
582 ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset);
785 typedef ZSTD_DCtx ZSTD_DStream; /**< DCtx and DStream are now effectively same object (>= v1.3.0) …
828 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx,
883 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx,
997 ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
[all …]
/external/zstd/lib/decompress/
Dzstd_decompress.c78 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx()
86 size_t ZSTD_estimateDCtxSize(void) { return sizeof(ZSTD_DCtx); } in ZSTD_estimateDCtxSize()
97 static void ZSTD_DCtx_resetParameters(ZSTD_DCtx* dctx) in ZSTD_DCtx_resetParameters()
106 static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal()
130 ZSTD_DCtx* ZSTD_initStaticDCtx(void *workspace, size_t workspaceSize) in ZSTD_initStaticDCtx()
132 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx()
135 if (workspaceSize < sizeof(ZSTD_DCtx)) return NULL; /* minimum size */ in ZSTD_initStaticDCtx()
143 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced()
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()
[all …]
Dzstd_decompress_block.c74 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx,
79 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock()
577 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr, in ZSTD_decodeSeqHeaders()
1055 MEM_STATIC int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* … in ZSTD_dictionaryIsActive()
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()
1329 ZSTD_decompressSequencesLong_default(ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_default()
1346 ZSTD_decompressSequences_bmi2(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_bmi2()
[all …]
Dzstd_ddict.h40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
Dzstd_decompress_block.h42 size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
/external/zstd/lib/legacy/
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);
287 static void ZSTD_decompress_insertDictionary(ZSTD_DCtx* ctx, const void* src, size_t srcSize);
289 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx);
290 static size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize, const void* sr…
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()
[all …]
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()
3055 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) in ZSTD_nextSrcSizeToDecompress()
3060 static size_t ZSTD_decompressContinue(ZSTD_DCtx* ctx, void* dst, size_t maxDstSize, const void* src… in ZSTD_decompressContinue()
[all …]
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()
3413 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) in ZSTD_nextSrcSizeToDecompress()
3418 static size_t ZSTD_decompressContinue(ZSTD_DCtx* ctx, void* dst, size_t maxDstSize, const void* src… in ZSTD_decompressContinue()
[all …]
/external/zstd/tests/
Dbigdict.c22 compress(ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in compress()
66 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in main()
Dfuzzer.c482 ZSTD_DCtx* const dctx = ZSTD_createDCtx_advanced(ZSTD_defaultCMem); in basicUnitTests()
499 ZSTD_DCtx* dctx, const ZSTD_DCtx* preparedDCtx) = ZSTD_copyDCtx; in basicUnitTests()
500 ZSTD_nextInputType_e (* const funcptr_nextInputType)(ZSTD_DCtx* dctx) = in basicUnitTests()
531 { ZSTD_DCtx* const dctx = ZSTD_createDCtx(); assert(dctx != NULL); in basicUnitTests()
543 { ZSTD_DCtx* const dctx = ZSTD_createDCtx(); assert(dctx != NULL); in basicUnitTests()
594 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in basicUnitTests()
647 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in basicUnitTests()
704 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in basicUnitTests()
730 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in basicUnitTests()
773 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in basicUnitTests()
[all …]
/external/zstd/tests/fuzz/
Dblock_decompress.c24 static ZSTD_DCtx *dctx = NULL;
Dsimple_decompress.c23 static ZSTD_DCtx *dctx = NULL;
Ddecompress_dstSize_tooSmall.c27 static ZSTD_DCtx *dctx = NULL;
Ddictionary_decompress.c24 static ZSTD_DCtx *dctx = NULL;
Dblock_round_trip.c28 static ZSTD_DCtx *dctx = NULL;
Ddictionary_loader.c54 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in decompress()
Dsimple_round_trip.c27 static ZSTD_DCtx *dctx = NULL;
Draw_dictionary_round_trip.c26 static ZSTD_DCtx *dctx = NULL;
Ddictionary_round_trip.c26 static ZSTD_DCtx *dctx = NULL;
/external/zstd/contrib/linux-kernel/test/
Dstatic_test.c37 ZSTD_DCtx* dctx = zstd_init_dctx(wksp, wkspSize); in test_decompress_unzstd()
/external/zstd/programs/
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()
/external/zstd/examples/
Dstreaming_decompression.c26 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompressFile_orDie()
Ddictionary_decompression.c62 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompress()
Dstreaming_memory_usage.c98 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in main()
/external/zstd/contrib/diagnose_corruption/
Dcheck_flipped_bits.c38 ZSTD_DCtx* dctx;
280 ZSTD_DCtx* dctx = stuff->dctx; in test_decompress()

12