Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c401 U32 const singleSegment = (fhd >> 5) & 1; in ZSTD_frameHeaderSize_internal() local
403 return minInputSize + !singleSegment in ZSTD_frameHeaderSize_internal()
405 + (singleSegment && !fcsId); in ZSTD_frameHeaderSize_internal()
458 U32 const singleSegment = (fhdByte>>5)&1; in ZSTD_getFrameHeader_advanced() local
466 if (!singleSegment) { in ZSTD_getFrameHeader_advanced()
488 case 0 : if (singleSegment) frameContentSize = ip[pos]; break; in ZSTD_getFrameHeader_advanced()
493 if (singleSegment) windowSize = frameContentSize; in ZSTD_getFrameHeader_advanced()
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress.c3928 U32 const singleSegment = params->fParams.contentSizeFlag && (windowSize >= pledgedSrcSize); in ZSTD_writeFrameHeader() local
3932 …eHeaderDescriptionByte = (BYTE)(dictIDSizeCode + (checksumFlag<<2) + (singleSegment<<5) + (fcsCode… in ZSTD_writeFrameHeader()
3945 if (!singleSegment) op[pos++] = windowLogByte; in ZSTD_writeFrameHeader()
3961 case 0 : if (singleSegment) op[pos++] = (BYTE)(pledgedSrcSize); break; in ZSTD_writeFrameHeader()