函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\zstd.h Create Date:2022-07-27 07:58:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static __attribute__((unused)) unsigned int ZSTD_isError(size_t code)

返回类型:unsigned int

参数:

类型参数名称
size_tcode
97  返回:code > (size_t) - ZSTD_error_maxCode
调用者
名称描述
ZSTD_compressSequences_internal
ZSTD_compressSequences
ZSTD_compress_generic : compressed size, or an error code
ZSTD_compressContinue_internal
ZSTD_writeEpilogue : nb of bytes written into dst (or an error code)
ZSTD_compressEnd
ZSTD_createCDict_advanced
ZSTD_initCStream
ZSTD_initCStream_usingCDict
ZSTD_compressStream_generic
ZSTD_flushStream : amount of data remaining to flush
ZSTD_findDecompressedSize : decompressed size of the frames contained
ZSTD_decodeFrameHeader : 0 if success, or an error code, which can be tested using ZSTD_isError()
ZSTD_decodeSeqHeaders
ZSTD_decompressSequences
ZSTD_decompressSequencesLong
ZSTD_decompressBlock_internal
ZSTD_findFrameCompressedSize : the compressed size of the frame starting at `src`
ZSTD_decompressFrame! ZSTD_decompressFrame() :*@dctx must be properly initialized
ZSTD_decompressMultiFrame
ZSTD_decompressContinue : nb of bytes generated into `dst` (necessarily <= `dstCapacity)
ZSTD_decompress_insertDictionary
ZSTD_createDDict_advanced
ZSTD_getDictID_fromFrame! ZSTD_getDictID_fromFrame() :* Provides the dictID required to decompressed the frame stored within `src`.* If @return == 0, the dictID could not be decoded.* This could for one of the following reasons :
ZSTD_decompressStream
ZSTD_getErrorCodeZSTD_getErrorCode() - translates an error function result to a ZSTD_ErrorCode*@functionResult: The result of a function for which ZSTD_isError() is true.* Return: The ZSTD_ErrorCode corresponding to the functionResult or 0