Lines Matching refs:zfh
523 { ZSTD_frameHeader zfh; in ZSTD_getFrameContentSize() local
524 if (ZSTD_getFrameHeader(&zfh, src, srcSize) != 0) in ZSTD_getFrameContentSize()
526 if (zfh.frameType == ZSTD_skippableFrame) { in ZSTD_getFrameContentSize()
529 return zfh.frameContentSize; in ZSTD_getFrameContentSize()
696 ZSTD_frameHeader zfh; in ZSTD_findFrameSizeInfo() local
699 { size_t const ret = ZSTD_getFrameHeader(&zfh, src, srcSize); in ZSTD_findFrameSizeInfo()
706 ip += zfh.headerSize; in ZSTD_findFrameSizeInfo()
707 remainingSize -= zfh.headerSize; in ZSTD_findFrameSizeInfo()
727 if (zfh.checksumFlag) { in ZSTD_findFrameSizeInfo()
734 frameSizeInfo.decompressedBound = (zfh.frameContentSize != ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_findFrameSizeInfo()
735 ? zfh.frameContentSize in ZSTD_findFrameSizeInfo()
736 : nbBlocks * zfh.blockSizeMax; in ZSTD_findFrameSizeInfo()
1796 ZSTD_frameHeader zfh; in ZSTD_estimateDStreamSize_fromFrame() local
1797 size_t const err = ZSTD_getFrameHeader(&zfh, src, srcSize); in ZSTD_estimateDStreamSize_fromFrame()
1800 RETURN_ERROR_IF(zfh.windowSize > windowSizeMax, in ZSTD_estimateDStreamSize_fromFrame()
1802 return ZSTD_estimateDStreamSize((size_t)zfh.windowSize); in ZSTD_estimateDStreamSize_fromFrame()