Home
last modified time | relevance | path

Searched refs:blockSizeMax (Results 1 – 4 of 4) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_decompress.c321 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()
/external/zstd/lib/dictBuilder/
Dzdict.c619 size_t const blockSizeMax = MIN (ZSTD_BLOCKSIZE_MAX, 1 << params->cParams.windowLog); in ZDICT_countEStats() local
622 if (srcSize > blockSizeMax) srcSize = blockSizeMax; /* protection vs large samples */ in ZDICT_countEStats()
/external/zstd/lib/
Dzstd.h2315 unsigned blockSizeMax; member
/external/zstd/lib/compress/
Dzstd_compress.c3067 { size_t const blockSizeMax = ZSTD_getBlockSize(cctx); in ZSTD_compressBlock() local
3068 RETURN_ERROR_IF(srcSize > blockSizeMax, srcSize_wrong, "input is larger than a block"); } in ZSTD_compressBlock()