Home
last modified time | relevance | path

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

/external/zstd/lib/decompress/
Dzstd_decompress.c223 size_t const minInputSize = ZSTD_startingInputLength(format); in ZSTD_frameHeaderSize_internal() local
224 RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, ""); in ZSTD_frameHeaderSize_internal()
226 { BYTE const fhd = ((const BYTE*)src)[minInputSize-1]; in ZSTD_frameHeaderSize_internal()
230 return minInputSize + !singleSegment in ZSTD_frameHeaderSize_internal()
255 size_t const minInputSize = ZSTD_startingInputLength(format); in ZSTD_getFrameHeader_advanced() local
258 if (srcSize < minInputSize) return minInputSize; in ZSTD_getFrameHeader_advanced()
281 { BYTE const fhdByte = ip[minInputSize-1]; in ZSTD_getFrameHeader_advanced()
282 size_t pos = minInputSize; in ZSTD_getFrameHeader_advanced()