Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/decompress/
Dzstd_decompress.c422 if (srcSize < ZSTD_SKIPPABLEHEADERSIZE) in ZSTD_getFrameHeader_advanced()
423 return ZSTD_SKIPPABLEHEADERSIZE; /* magic number + frame length */ in ZSTD_getFrameHeader_advanced()
520 size_t const skippableHeaderSize = ZSTD_SKIPPABLEHEADERSIZE; in readSkippableFrameSize()
523 RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, ""); in readSkippableFrameSize()
526 RETURN_ERROR_IF((U32)(sizeU32 + ZSTD_SKIPPABLEHEADERSIZE) < sizeU32, in readSkippableFrameSize()
639 if ((srcSize >= ZSTD_SKIPPABLEHEADERSIZE) in ZSTD_findFrameSizeInfo()
1064 …dctx->expected = ZSTD_SKIPPABLEHEADERSIZE - srcSize; /* remaining to load to get full skippable f… in ZSTD_decompressContinue()
1187 assert(srcSize <= ZSTD_SKIPPABLEHEADERSIZE); in ZSTD_decompressContinue()
1188 …ZSTD_memcpy(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complet… in ZSTD_decompressContinue()
/linux-5.19.10/include/linux/
Dzstd_lib.h1065 #define ZSTD_SKIPPABLEHEADERSIZE 8 macro
/linux-5.19.10/lib/zstd/compress/
Dzstd_compress.c2919 RETURN_ERROR_IF(dstCapacity < srcSize + ZSTD_SKIPPABLEHEADERSIZE /* Skippable frame overhead */, in ZSTD_writeSkippableFrame()
2927 return srcSize + ZSTD_SKIPPABLEHEADERSIZE; in ZSTD_writeSkippableFrame()