函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_decompressBlock_internal

函数原型:static size_t ZSTD_decompressBlock_internal(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize)

返回类型:size_t

参数:

类型参数名称
ZSTD_DCtx *dctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
1447  ip等于src
1449  如果srcSize大于等于Define for static allocation 则返回:-***************************************** Error codes handling(srcSize_wrong)
1454  litCSize等于 : nb of bytes read from src (< srcSize )
1455  如果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.则返回:litCSize
1457  ip加等于litCSize
1458  srcSize减等于litCSize
1460  如果sizeof(size_t)大于4则如果windowSize大于1左移23位则
1465  返回:ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize)
1466  返回:ZSTD_decompressSequences(dctx, dst, dstCapacity, ip, srcSize)
调用者
名称描述
ZSTD_decompressBlock
ZSTD_decompressFrame! ZSTD_decompressFrame() :*@dctx must be properly initialized
ZSTD_decompressContinue : nb of bytes generated into `dst` (necessarily <= `dstCapacity)