函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\decompress.c Create Date:2022-07-27 08:05:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ZSTD_decompressMultiFrame

函数原型: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)

返回类型:size_t

参数:

类型参数名称
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  如果ddict
1649  如果dict
1654  dict等于ZSTD_DDictDictContent(ddict)
1655  dictSize等于ZSTD_DDictDictSize(ddict)
1658 srcSize大于等于ZSTD_frameHeaderSize_prefix循环
1661  magicNumber等于ZSTD_readLE32(src)
1662  如果magicNumber不等于>= v0.8.0
1663  如果magicNumber按位与0xFFFFFFF0U的值恒等于ZSTD_MAGIC_SKIPPABLE_START
1675  否则
1680  如果ddict
1683  否则
1696  dst等于dstres
1697  dstCapacity减等于res
1701  如果srcSize则返回:-***************************************** Error codes handling(srcSize_wrong)
1704  返回:dstdststart
调用者
名称描述
ZSTD_decompress_usingDict
ZSTD_decompress_usingDDict! ZSTD_decompress_usingDDict() :* Decompression using a pre-digested Dictionary* Use dictionary without significant overhead.