Lines Matching refs:fhSize
4026 size_t fhSize = 0; in ZSTD_compressContinue_internal() local
4034 fhSize = ZSTD_writeFrameHeader(dst, dstCapacity, &cctx->appliedParams, in ZSTD_compressContinue_internal()
4036 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_compressContinue_internal()
4037 assert(fhSize <= dstCapacity); in ZSTD_compressContinue_internal()
4038 dstCapacity -= fhSize; in ZSTD_compressContinue_internal()
4039 dst = (char*)dst + fhSize; in ZSTD_compressContinue_internal()
4043 if (!srcSize) return fhSize; /* do not generate an empty block if no input */ in ZSTD_compressContinue_internal()
4066 cctx->producedCSize += (cSize + fhSize); in ZSTD_compressContinue_internal()
4077 return cSize + fhSize; in ZSTD_compressContinue_internal()
4499 size_t fhSize = 0; in ZSTD_writeEpilogue() local
4506 fhSize = ZSTD_writeFrameHeader(dst, dstCapacity, &cctx->appliedParams, 0, 0); in ZSTD_writeEpilogue()
4507 FORWARD_IF_ERROR(fhSize, "ZSTD_writeFrameHeader failed"); in ZSTD_writeEpilogue()
4508 dstCapacity -= fhSize; in ZSTD_writeEpilogue()
4509 op += fhSize; in ZSTD_writeEpilogue()