Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\decompress.c Create Date:2022-07-28 07:07:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ZSTD_decompressMultiFrame

Proto:static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const void *dict, size_t dictSize, const ZSTD_DDict *ddict)

Type:size_t

Parameter:

TypeParameterName
ZSTD_DCtx *dctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
const void *dict
size_tdictSize
const ZSTD_DDict *ddict
1646  dststart = dst
1648  If ddict Then
1649  If dict Then
1654  dict = ZSTD_DDictDictContent(ddict)
1655  dictSize = ZSTD_DDictDictSize(ddict)
1658  When srcSize >= ZSTD_frameHeaderSize_prefix cycle
1661  magicNumber = ZSTD_readLE32(src)
1662  If magicNumber != >= v0.8.0 Then
1663  If (magicNumber & 0xFFFFFFF0U) == ZSTD_MAGIC_SKIPPABLE_START Then
1675  Else
1680  If ddict Then
1683  Else
1696  dst = dst + res
1697  dstCapacity -= res
1701  If srcSize Then Return -***************************************** Error codes handling(srcSize_wrong)
1704  Return dst - dststart
Caller
NameDescribe
ZSTD_decompress_usingDict
ZSTD_decompress_usingDDict! ZSTD_decompress_usingDDict() :* Decompression using a pre-digested Dictionary* Use dictionary without significant overhead.