Searched refs:blockSizeMax (Results 1 – 4 of 4) sorted by relevance
321 zfhPtr->blockSizeMax = (unsigned) MIN(windowSize, ZSTD_BLOCKSIZE_MAX); in ZSTD_getFrameHeader_advanced()531 : nbBlocks * zfh.blockSizeMax; in ZSTD_findFrameSizeInfo()935 …RETURN_ERROR_IF(cBlockSize > dctx->fParams.blockSizeMax, corruption_detected, "Block Size Exceeds … in ZSTD_decompressContinue()986 …RETURN_ERROR_IF(rSize > dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size … in ZSTD_decompressContinue()1770 … { size_t const neededInBuffSize = MAX(zds->fParams.blockSizeMax, 4 /* frame checksum */); in ZSTD_decompressStream()1858 && (zds->outStart + zds->fParams.blockSizeMax > zds->outBuffSize) ) { in ZSTD_decompressStream()1861 (U32)zds->fParams.blockSizeMax); in ZSTD_decompressStream()
619 size_t const blockSizeMax = MIN (ZSTD_BLOCKSIZE_MAX, 1 << params->cParams.windowLog); in ZDICT_countEStats() local622 if (srcSize > blockSizeMax) srcSize = blockSizeMax; /* protection vs large samples */ in ZDICT_countEStats()
2315 unsigned blockSizeMax; member
3067 { size_t const blockSizeMax = ZSTD_getBlockSize(cctx); in ZSTD_compressBlock() local3068 RETURN_ERROR_IF(srcSize > blockSizeMax, srcSize_wrong, "input is larger than a block"); } in ZSTD_compressBlock()