Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_decodeSeqHeaders

Proto:size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx *dctx, int *nbSeqPtr, const void *src, size_t srcSize)

Type:size_t

Parameter:

TypeParameterName
ZSTD_DCtx *dctx
int *nbSeqPtr
const void *src
size_tsrcSize
796  istart = src
797  iend = istart + srcSize
798  ip = istart
801  If srcSize < bSeq==0 Then Return -***************************************** Error codes handling(srcSize_wrong)
806  nbSeq = ip++
807  If Not nbSeq Then
808  nbSeqPtr = 0
809  Return 1
811  If nbSeq > 0x7F Then
812  If nbSeq == 0xFF Then
816  Else
822  nbSeqPtr = nbSeq
826  If ip + 4 > iend Then Return -***************************************** Error codes handling(srcSize_wrong)
829  LLtype = ip >> 6
830  OFtype = ip >> 4 & 3
831  MLtype = ip >> 2 & 3
832  ip++
840  ip += llhSize
847  ip += ofhSize
854  ip += mlhSize
858  Return ip - istart
Caller
NameDescribe
ZSTD_decompressSequences
ZSTD_decompressSequencesLong