函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_decompressSequencesLong

函数原型:static size_t ZSTD_decompressSequencesLong(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *seqStart, size_t seqSize)

返回类型:size_t

参数:

类型参数名称
ZSTD_DCtx *dctx
void *dst
size_tmaxDstSize
const void *seqStart
size_tseqSize
1350  ip等于seqStart
1351  iend等于ipseqSize
1352  ostart等于dst
1353  oend等于ostartmaxDstSize
1354  op等于ostart
1355  litPtr等于litPtr
1356  litEnd等于litPtrlitSize
1357  base等于base
1358  vBase等于vBase
1359  dictEnd等于dictEnd
1360  windowSize等于windowSize
1365  seqHSize等于ZSTD_decodeSeqHeaders(dctx, & nbSeq, ip, seqSize)
1366  如果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.则返回:seqHSize
1368  ip加等于seqHSize
1372  如果nbSeq
1376  sequences等于workspace
1377  seqAdvance等于-************************************** shared macros(nbSeq, ADVANCED_SEQS)
1381  fseEntropy等于1
1384 i小于umber of repcodes 循环prevOffset[i]等于rep[i]
1387  base等于base
1388  pos等于opbase
1389  gotoDict等于dictEndbase
1391  FSE_initDState( & stateLL, & DStream, LLTptr)
1392  FSE_initDState( & stateOffb, & DStream, OFTptr)
1393  FSE_initDState( & stateML, & DStream, MLTptr)
1399  如果seqNb小于seqAdvance则返回:-***************************************** Error codes handling(corruption_detected)
1411  op加等于oneSeqSize
1413  如果seqNb小于nbSeq则返回:-***************************************** Error codes handling(corruption_detected)
1417  seqNb减等于seqAdvance
1418 seqNb小于nbSeq循环
1422  op加等于oneSeqSize
1428 i小于umber of repcodes 循环rep[i]等于prevOffset[i]
1435  lastLLSize等于litEndlitPtr
1436  如果lastLLSize大于oendop则返回:-***************************************** Error codes handling(dstSize_tooSmall)
1438  内存复制(op, litPtr, lastLLSize)
1439  op加等于lastLLSize
1442  返回:opostart
调用者
名称描述
ZSTD_decompressBlock_internal