Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\zstd.h Create Date:2022-07-28 07:01:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static __attribute__((unused)) unsigned int ZSTD_isError(size_t code)

Type:unsigned int

Parameter:

TypeParameterName
size_tcode
97  Return code > (size_t) - ZSTD_error_maxCode
Caller
NameDescribe
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