Home
last modified time | relevance | path

Searched refs:ZSTD_SKIPPABLEHEADERSIZE (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/lib/zstd/decompress/
H A Dzstd_decompress.c438 if (srcSize < ZSTD_SKIPPABLEHEADERSIZE) in ZSTD_getFrameHeader_advanced()
439 return ZSTD_SKIPPABLEHEADERSIZE; /* magic number + frame length */ in ZSTD_getFrameHeader_advanced()
535 size_t const skippableHeaderSize = ZSTD_SKIPPABLEHEADERSIZE; in readSkippableFrameSize()
538 RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, ""); in readSkippableFrameSize()
541 RETURN_ERROR_IF((U32)(sizeU32 + ZSTD_SKIPPABLEHEADERSIZE) < sizeU32, in readSkippableFrameSize()
566 size_t skippableContentSize = skippableFrameSize - ZSTD_SKIPPABLEHEADERSIZE; in ZSTD_readSkippableFrame()
570 …RETURN_ERROR_IF(skippableFrameSize < ZSTD_SKIPPABLEHEADERSIZE || skippableFrameSize > srcSize, src… in ZSTD_readSkippableFrame()
575 ZSTD_memcpy(dst, (const BYTE *)src + ZSTD_SKIPPABLEHEADERSIZE, skippableContentSize); in ZSTD_readSkippableFrame()
685 if ((srcSize >= ZSTD_SKIPPABLEHEADERSIZE) in ZSTD_findFrameSizeInfo()
1252 assert(srcSize <= ZSTD_SKIPPABLEHEADERSIZE); in ZSTD_decompressContinue()
[all …]
/openbmc/linux/include/linux/
H A Dzstd_lib.h1105 #define ZSTD_SKIPPABLEHEADERSIZE 8 macro
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress.c3978 RETURN_ERROR_IF(dstCapacity < srcSize + ZSTD_SKIPPABLEHEADERSIZE /* Skippable frame overhead */, in ZSTD_writeSkippableFrame()
3986 return srcSize + ZSTD_SKIPPABLEHEADERSIZE; in ZSTD_writeSkippableFrame()