Lines Matching refs:cSize

623 		size_t const cSize = ZSTD_compressLiterals(zc, op, dstCapacity, literals, litSize);
624 if (ZSTD_isError(cSize))
625 return cSize;
626 op += cSize;
834 size_t const cSize = ZSTD_compressSequences_internal(zc, dst, dstCapacity);
841 int const uncompressibleError = cSize == ERROR(dstSize_tooSmall) && srcSize <= dstCapacity;
844 if (ZSTD_isError(cSize) && !uncompressibleError)
845 return cSize;
846 if (cSize >= maxCSize || uncompressibleError) {
853 return cSize;
2369 size_t cSize;
2403 cSize = ZSTD_compressBlock_internal(cctx, op + ZSTD_blockHeaderSize, dstCapacity - ZSTD_blockHeaderSize, ip, blockSize);
2404 if (ZSTD_isError(cSize))
2405 return cSize;
2407 if (cSize == 0) { /* block is not compressible */
2413 cSize = ZSTD_blockHeaderSize + blockSize;
2415 U32 const cBlockHeader24 = lastBlock + (((U32)bt_compressed) << 1) + (U32)(cSize << 3);
2417 cSize += ZSTD_blockHeaderSize;
2421 dstCapacity -= cSize;
2423 op += cSize;
2530 size_t const cSize = frame ? ZSTD_compress_generic(cctx, dst, dstCapacity, src, srcSize, lastFrameChunk)
2532 if (ZSTD_isError(cSize))
2533 return cSize;
2534 return cSize + fhSize;
2809 size_t const cSize = ZSTD_compressContinue_internal(cctx, dst, dstCapacity, src, srcSize, 1, 1);
2810 if (ZSTD_isError(cSize))
2811 return cSize;
2812 endResult = ZSTD_writeEpilogue(cctx, (char *)dst + cSize, dstCapacity - cSize);
2815 return cSize + endResult;
3159 size_t cSize;
3166 cSize = (flush == zsf_end) ? ZSTD_compressEnd(zcs->cctx, cDst, oSize, zcs->inBuff + zcs->inToCompress, iSize)
3168 if (ZSTD_isError(cSize))
3169 return cSize;
3178 op += cSize;
3181 zcs->outBuffContentSize = cSize;