Lines Matching refs:blockSize

72 	size_t blockSize;  member
92 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << cParams.windowLog); in ZSTD_CCtxWorkspaceBound() local
94 size_t const maxNbSeq = blockSize / divider; in ZSTD_CCtxWorkspaceBound()
95 size_t const tokenSpace = blockSize + 11 * maxNbSeq; in ZSTD_CCtxWorkspaceBound()
252 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << params.cParams.windowLog); in ZSTD_resetCCtx_advanced() local
254 size_t const maxNbSeq = blockSize / divider; in ZSTD_resetCCtx_advanced()
255 size_t const tokenSpace = blockSize + 11 * maxNbSeq; in ZSTD_resetCCtx_advanced()
298 zc->blockSize = blockSize; in ZSTD_resetCCtx_advanced()
2357 size_t blockSize = cctx->blockSize; in ZSTD_compress_generic() local
2368 U32 const lastBlock = lastFrameChunk & (blockSize >= remaining); in ZSTD_compress_generic()
2373 if (remaining < blockSize) in ZSTD_compress_generic()
2374 blockSize = remaining; in ZSTD_compress_generic()
2394 if ((U32)(ip + blockSize - cctx->base) > cctx->loadedDictEnd + maxDist) { in ZSTD_compress_generic()
2396 U32 const newLowLimit = (U32)(ip + blockSize - cctx->base) - maxDist; in ZSTD_compress_generic()
2403 …Block_internal(cctx, op + ZSTD_blockHeaderSize, dstCapacity - ZSTD_blockHeaderSize, ip, blockSize); in ZSTD_compress_generic()
2408 U32 const cBlockHeader24 = lastBlock + (((U32)bt_raw) << 1) + (U32)(blockSize << 3); in ZSTD_compress_generic()
2409 if (blockSize + ZSTD_blockHeaderSize > dstCapacity) in ZSTD_compress_generic()
2412 memcpy(op + ZSTD_blockHeaderSize, ip, blockSize); in ZSTD_compress_generic()
2413 cSize = ZSTD_blockHeaderSize + blockSize; in ZSTD_compress_generic()
2420 remaining -= blockSize; in ZSTD_compress_generic()
2422 ip += blockSize; in ZSTD_compress_generic()
2959 size_t blockSize; member
2976 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, inBuffSize); in ZSTD_CStreamWorkspaceBound() local
2977 size_t const outBuffSize = ZSTD_compressBound(blockSize) + 1; in ZSTD_CStreamWorkspaceBound()
3038 zcs->inBuffTarget = zcs->blockSize; in ZSTD_resetCStream_internal()
3067 zcs->blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, neededInBuffSize); in ZSTD_initCStream_advanced()
3069 if (zcs->outBuffSize < ZSTD_compressBound(zcs->blockSize) + 1) { in ZSTD_initCStream_advanced()
3070 zcs->outBuffSize = ZSTD_compressBound(zcs->blockSize) + 1; in ZSTD_initCStream_advanced()
3173 zcs->inBuffTarget = zcs->inBuffPos + zcs->blockSize; in ZSTD_compressStream_generic()
3175 zcs->inBuffPos = 0, zcs->inBuffTarget = zcs->blockSize; /* note : inBuffSize >= blockSize */ in ZSTD_compressStream_generic()
3217 hintInSize = zcs->blockSize; in ZSTD_compressStream_generic()