Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c396 size_t const minInputSize = ZSTD_startingInputLength(format); in ZSTD_frameHeaderSize_internal() local
397 RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, ""); in ZSTD_frameHeaderSize_internal()
399 { BYTE const fhd = ((const BYTE*)src)[minInputSize-1]; in ZSTD_frameHeaderSize_internal()
403 return minInputSize + !singleSegment in ZSTD_frameHeaderSize_internal()
428 size_t const minInputSize = ZSTD_startingInputLength(format); in ZSTD_getFrameHeader_advanced() local
431 if (srcSize < minInputSize) return minInputSize; in ZSTD_getFrameHeader_advanced()
454 { BYTE const fhdByte = ip[minInputSize-1]; in ZSTD_getFrameHeader_advanced()
455 size_t pos = minInputSize; in ZSTD_getFrameHeader_advanced()