Lines Matching refs:zfh
508 { ZSTD_frameHeader zfh; in ZSTD_getFrameContentSize() local
509 if (ZSTD_getFrameHeader(&zfh, src, srcSize) != 0) in ZSTD_getFrameContentSize()
511 if (zfh.frameType == ZSTD_skippableFrame) { in ZSTD_getFrameContentSize()
514 return zfh.frameContentSize; in ZSTD_getFrameContentSize()
650 ZSTD_frameHeader zfh; in ZSTD_findFrameSizeInfo() local
653 { size_t const ret = ZSTD_getFrameHeader(&zfh, src, srcSize); in ZSTD_findFrameSizeInfo()
660 ip += zfh.headerSize; in ZSTD_findFrameSizeInfo()
661 remainingSize -= zfh.headerSize; in ZSTD_findFrameSizeInfo()
681 if (zfh.checksumFlag) { in ZSTD_findFrameSizeInfo()
688 frameSizeInfo.decompressedBound = (zfh.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_findFrameSizeInfo()
689 ? zfh.frameContentSize in ZSTD_findFrameSizeInfo()
690 : nbBlocks * zfh.blockSizeMax; in ZSTD_findFrameSizeInfo()
1730 ZSTD_frameHeader zfh; in ZSTD_estimateDStreamSize_fromFrame() local
1731 size_t const err = ZSTD_getFrameHeader(&zfh, src, srcSize); in ZSTD_estimateDStreamSize_fromFrame()
1734 RETURN_ERROR_IF(zfh.windowSize > windowSizeMax, in ZSTD_estimateDStreamSize_fromFrame()
1736 return ZSTD_estimateDStreamSize((size_t)zfh.windowSize); in ZSTD_estimateDStreamSize_fromFrame()