Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c380 size_t const minInputSize = ZSTD_startingInputLength(format); in ZSTD_frameHeaderSize_internal() local
381 RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, ""); in ZSTD_frameHeaderSize_internal()
383 { BYTE const fhd = ((const BYTE*)src)[minInputSize-1]; in ZSTD_frameHeaderSize_internal()
387 return minInputSize + !singleSegment in ZSTD_frameHeaderSize_internal()
412 size_t const minInputSize = ZSTD_startingInputLength(format); in ZSTD_getFrameHeader_advanced() local
415 if (srcSize < minInputSize) return minInputSize; in ZSTD_getFrameHeader_advanced()
438 { BYTE const fhdByte = ip[minInputSize-1]; in ZSTD_getFrameHeader_advanced()
439 size_t pos = minInputSize; in ZSTD_getFrameHeader_advanced()