/freebsd/sys/contrib/openzfs/module/zstd/lib/ |
H A D | zstd.h | 218 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef 219 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void); 220 ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx); 227 ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx, 551 ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value); 559 ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset); 761 typedef ZSTD_DCtx ZSTD_DStream; /**< DCtx and DStream are now effectively same object (>= v1.3.0) … 804 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx, 859 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx, 973 ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize); [all …]
|
/freebsd/sys/contrib/zstd/lib/ |
H A D | zstd.h | 225 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef 226 ZSTDLIB_API ZSTD_DCtx* ZSTD_createDCtx(void); 227 ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx); /* accept NULL pointer */ 234 ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* dctx, 581 ZSTDLIB_API size_t ZSTD_DCtx_setParameter(ZSTD_DCtx* dctx, ZSTD_dParameter param, int value); 589 ZSTDLIB_API size_t ZSTD_DCtx_reset(ZSTD_DCtx* dctx, ZSTD_ResetDirective reset); 792 typedef ZSTD_DCtx ZSTD_DStream; /**< DCtx and DStream are now effectively same object (>= v1.3.0) … 835 ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* dctx, 892 ZSTDLIB_API size_t ZSTD_decompress_usingDDict(ZSTD_DCtx* dctx, 1012 ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize); [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A 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_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal() 122 ZSTD_DCtx* ZSTD_initStaticDCtx(void *workspace, size_t workspaceSize) in ZSTD_initStaticDCtx() 124 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx() 127 if (workspaceSize < sizeof(ZSTD_DCtx)) return NULL; /* minimum size */ in ZSTD_initStaticDCtx() 135 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced() 139 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_malloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_advanced() 147 ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx() 153 static void ZSTD_clearDict(ZSTD_DCtx* dctx) in ZSTD_clearDict() [all …]
|
H A D | zstd_decompress_block.c | 74 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, 79 size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx* dctx, in ZSTD_decodeLiteralsBlock() 480 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr, in ZSTD_decodeSeqHeaders() 938 static int ZSTD_dictionaryIsActive(ZSTD_DCtx const* dctx, BYTE const* prefixStart, BYTE const* oLit… in ZSTD_dictionaryIsActive() 954 ZSTD_DCtx const* dctx, in ZSTD_assertValidSequence() 982 ZSTD_decompressSequences_body( ZSTD_DCtx* dctx, in ZSTD_decompressSequences_body() 1103 ZSTD_decompressSequences_default(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_default() 1134 ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_body() 1227 ZSTD_decompressSequencesLong_default(ZSTD_DCtx* dctx, in ZSTD_decompressSequencesLong_default() 1244 ZSTD_decompressSequences_bmi2(ZSTD_DCtx* dctx, in ZSTD_decompressSequences_bmi2() [all …]
|
H A D | zstd_ddict.h | 40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
|
H A D | zstd_decompress_block.h | 42 size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
|
H A D | zstd_decompress_internal.h | 186 void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst);
|
H A D | zstd_ddict.c | 58 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 219 size_t ZSTD_sizeof_DCtx (const ZSTD_DCtx* dctx) in ZSTD_sizeof_DCtx() 227 size_t ZSTD_estimateDCtxSize(void) { return sizeof(ZSTD_DCtx); } in ZSTD_estimateDCtxSize() 238 static void ZSTD_DCtx_resetParameters(ZSTD_DCtx* dctx) in ZSTD_DCtx_resetParameters() 248 static void ZSTD_initDCtx_internal(ZSTD_DCtx* dctx) in ZSTD_initDCtx_internal() 276 ZSTD_DCtx* ZSTD_initStaticDCtx(void *workspace, size_t workspaceSize) in ZSTD_initStaticDCtx() 278 ZSTD_DCtx* const dctx = (ZSTD_DCtx*) workspace; in ZSTD_initStaticDCtx() 281 if (workspaceSize < sizeof(ZSTD_DCtx)) return NULL; /* minimum size */ in ZSTD_initStaticDCtx() 289 static ZSTD_DCtx* ZSTD_createDCtx_internal(ZSTD_customMem customMem) { in ZSTD_createDCtx_internal() 292 { ZSTD_DCtx* const dctx = (ZSTD_DCtx*)ZSTD_customMalloc(sizeof(*dctx), customMem); in ZSTD_createDCtx_internal() 300 ZSTD_DCtx* ZSTD_createDCtx_advanced(ZSTD_customMem customMem) in ZSTD_createDCtx_advanced() [all …]
|
H A D | zstd_decompress_block.c | 73 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 …]
|
H A D | zstd_ddict.h | 40 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict);
|
H A D | zstd_decompress_block.h | 48 size_t ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
|
H A D | zstd_decompress_internal.h | 233 void ZSTD_checkContinuity(ZSTD_DCtx* dctx, const void* dst, size_t dstSize);
|
H A D | zstd_ddict.c | 58 void ZSTD_copyDDictParameters(ZSTD_DCtx* dctx, const ZSTD_DDict* ddict) in ZSTD_copyDDictParameters()
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v04.c | 265 typedef ZSTDv04_Dctx ZSTD_DCtx; typedef 273 static size_t ZSTD_decompress_usingDict(ZSTD_DCtx* ctx, 282 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx); 284 static void ZSTD_decompress_insertDictionary(ZSTD_DCtx* ctx, const void* src, size_t srcSize); 286 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx); 287 static size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t maxDstSize, const void* sr… 2514 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx() 2525 static ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx() 2527 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx() 2533 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx() [all …]
|
H A D | zstd_v03.c | 927 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef 2512 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decodeLiteralsBlock() 2818 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decompressSequences() 2963 ZSTD_DCtx ctx; in ZSTD_decompress() 3028 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx() 3037 static ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx() 3039 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx() 3045 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx() 3051 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) in ZSTD_nextSrcSizeToDecompress() 3056 static size_t ZSTD_decompressContinue(ZSTD_DCtx* ctx, void* dst, size_t maxDstSize, const void* src… in ZSTD_decompressContinue() [all …]
|
H A D | zstd_v02.c | 926 typedef struct ZSTD_DCtx_s ZSTD_DCtx; typedef 2871 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decodeLiteralsBlock() 3177 ZSTD_DCtx* dctx = (ZSTD_DCtx*)ctx; in ZSTD_decompressSequences() 3322 ZSTD_DCtx ctx; in ZSTD_decompress() 3386 static size_t ZSTD_resetDCtx(ZSTD_DCtx* dctx) in ZSTD_resetDCtx() 3395 static ZSTD_DCtx* ZSTD_createDCtx(void) in ZSTD_createDCtx() 3397 ZSTD_DCtx* dctx = (ZSTD_DCtx*)malloc(sizeof(ZSTD_DCtx)); in ZSTD_createDCtx() 3403 static size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx) in ZSTD_freeDCtx() 3409 static size_t ZSTD_nextSrcSizeToDecompress(ZSTD_DCtx* dctx) in ZSTD_nextSrcSizeToDecompress() 3414 static size_t ZSTD_decompressContinue(ZSTD_DCtx* ctx, void* dst, size_t maxDstSize, const void* src… in ZSTD_decompressContinue() [all …]
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | benchzstd.c | 195 static void BMK_initDCtx(ZSTD_DCtx* dctx, in BMK_initDCtx() 218 ZSTD_DCtx* dctx; 247 ZSTD_DCtx* const dctx = (ZSTD_DCtx*)addArgs; in local_defaultDecompress() 314 ZSTD_CCtx* cctx, ZSTD_DCtx* dctx, in BMK_benchMemAdvancedNoAlloc() 586 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in BMK_benchMemAdvanced()
|
H A D | zstdcli_trace.c | 145 ZSTD_TraceCtx ZSTD_trace_decompress_begin(ZSTD_DCtx const* dctx) in ZSTD_trace_decompress_begin()
|
/freebsd/sys/contrib/zstd/examples/ |
H A D | streaming_decompression.c | 26 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompressFile_orDie()
|
H A D | dictionary_decompression.c | 62 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in decompress()
|
H A D | streaming_memory_usage.c | 98 ZSTD_DCtx* const dctx = ZSTD_createDCtx(); in main()
|
/freebsd/usr.bin/gzip/ |
H A D | unzstd.c | 36 ZSTD_DCtx *zds; in unzstd()
|
/freebsd/sys/geom/uzip/ |
H A D | g_uzip_zstd.c | 51 ZSTD_DCtx *guz_dctx;
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | zstd_internal.h | 438 size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
|