Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_decompressSequences

Proto:static size_t ZSTD_decompressSequences(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *seqStart, size_t seqSize)

Type:size_t

Parameter:

TypeParameterName
ZSTD_DCtx *dctx
void *dst
size_tmaxDstSize
const void *seqStart
size_tseqSize
1095  ip = seqStart
1096  iend = ip + seqSize
1097  ostart = dst
1098  oend = ostart + maxDstSize
1099  op = ostart
1100  litPtr = litPtr
1101  litEnd = litPtr + litSize
1102  base = base
1103  vBase = vBase
1104  dictEnd = dictEnd
1109  seqHSize = ZSTD_decodeSeqHeaders(dctx, & nbSeq, ip, seqSize)
1110  If ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error. Then Return seqHSize
1112  ip += seqHSize
1116  If nbSeq Then
1118  fseEntropy = 1
1153  lastLLSize = litEnd - litPtr
1154  If lastLLSize > oend - op Then Return -***************************************** Error codes handling(dstSize_tooSmall)
1156  No 3D Now!(op, litPtr, lastLLSize)
1157  op += lastLLSize
1160  Return op - ostart
Caller
NameDescribe
ZSTD_decompressBlock_internal