/external/zstd/lib/ |
D | zstd.h | 223 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/ |
D | zstd_decompress.c | 78 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 …]
|
D | zstd_decompress_block.c | 74 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 …]
|
D | zstd_ddict.h | 40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
|
D | zstd_decompress_block.h | 42 size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
|
/external/zstd/lib/legacy/ |
D | zstd_v04.c | 268 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 …]
|
D | zstd_v03.c | 931 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 …]
|
D | zstd_v02.c | 930 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/ |
D | bigdict.c | 22 compress(ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in compress() 66 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in main()
|
D | fuzzer.c | 482 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/ |
D | block_decompress.c | 24 static ZSTD_DCtx *dctx = NULL;
|
D | simple_decompress.c | 23 static ZSTD_DCtx *dctx = NULL;
|
D | decompress_dstSize_tooSmall.c | 27 static ZSTD_DCtx *dctx = NULL;
|
D | dictionary_decompress.c | 24 static ZSTD_DCtx *dctx = NULL;
|
D | block_round_trip.c | 28 static ZSTD_DCtx *dctx = NULL;
|
D | dictionary_loader.c | 54 ZSTD_DCtx* dctx = ZSTD_createDCtx(); in decompress()
|
D | simple_round_trip.c | 27 static ZSTD_DCtx *dctx = NULL;
|
D | raw_dictionary_round_trip.c | 26 static ZSTD_DCtx *dctx = NULL;
|
D | dictionary_round_trip.c | 26 static ZSTD_DCtx *dctx = NULL;
|
/external/zstd/contrib/linux-kernel/test/ |
D | static_test.c | 37 ZSTD_DCtx* dctx = zstd_init_dctx(wksp, wkspSize); in test_decompress_unzstd()
|
/external/zstd/programs/ |
D | benchzstd.c | 194 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/ |
D | streaming_decompression.c | 26 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompressFile_orDie()
|
D | dictionary_decompression.c | 62 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompress()
|
D | streaming_memory_usage.c | 98 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in main()
|
/external/zstd/contrib/diagnose_corruption/ |
D | check_flipped_bits.c | 38 ZSTD_DCtx* dctx; 280 ZSTD_DCtx* dctx = stuff->dctx; in test_decompress()
|