Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/decompress/
Dzstd_decompress.c385 U32 const singleSegment = (fhd >> 5) & 1; in ZSTD_frameHeaderSize_internal() local
387 return minInputSize + !singleSegment in ZSTD_frameHeaderSize_internal()
389 + (singleSegment && !fcsId); in ZSTD_frameHeaderSize_internal()
442 U32 const singleSegment = (fhdByte>>5)&1; in ZSTD_getFrameHeader_advanced() local
450 if (!singleSegment) { in ZSTD_getFrameHeader_advanced()
472 case 0 : if (singleSegment) frameContentSize = ip[pos]; break; in ZSTD_getFrameHeader_advanced()
477 if (singleSegment) windowSize = frameContentSize; in ZSTD_getFrameHeader_advanced()
/linux-5.19.10/lib/zstd/compress/
Dzstd_compress.c2869 U32 const singleSegment = params->fParams.contentSizeFlag && (windowSize >= pledgedSrcSize); in ZSTD_writeFrameHeader() local
2873 …eHeaderDescriptionByte = (BYTE)(dictIDSizeCode + (checksumFlag<<2) + (singleSegment<<5) + (fcsCode… in ZSTD_writeFrameHeader()
2886 if (!singleSegment) op[pos++] = windowLogByte; in ZSTD_writeFrameHeader()
2902 case 0 : if (singleSegment) op[pos++] = (BYTE)(pledgedSrcSize); break; in ZSTD_writeFrameHeader()