Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_decompressBlock_internal

Proto:static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize)

Type:size_t

Parameter:

TypeParameterName
ZSTD_DCtx *dctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
1447  ip = src
1449  If srcSize >= Define for static allocation Then Return -***************************************** Error codes handling(srcSize_wrong)
1454  litCSize = : nb of bytes read from src (< srcSize )
1455  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 litCSize
1457  ip += litCSize
1458  srcSize -= litCSize
1460  If sizeof(size_t) > 4 Then If windowSize > 1 << 23 Then
1465  Return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize)
1466  Return ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize)
Caller
NameDescribe
ZSTD_decompressBlock
ZSTD_decompressFrame! ZSTD_decompressFrame() :*@dctx must be properly initialized
ZSTD_decompressContinue : nb of bytes generated into `dst` (necessarily <= `dstCapacity)