Searched refs:ZSTD_SKIPPABLEHEADERSIZE (Results 1 – 3 of 3) sorted by relevance
438 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 …]
1105 #define ZSTD_SKIPPABLEHEADERSIZE 8 macro
3978 RETURN_ERROR_IF(dstCapacity < srcSize + ZSTD_SKIPPABLEHEADERSIZE /* Skippable frame overhead */, in ZSTD_writeSkippableFrame()3986 return srcSize + ZSTD_SKIPPABLEHEADERSIZE; in ZSTD_writeSkippableFrame()