Home
last modified time | relevance | path

Searched refs:rSize (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/lib/zstd/decompress/ !
Dzstd_decompress.c1179 { size_t rSize; in ZSTD_decompressContinue() local
1184rSize = ZSTD_decompressBlock_internal(dctx, dst, dstCapacity, src, srcSize, /* frame */ 1, is_stre… in ZSTD_decompressContinue()
1189 rSize = ZSTD_copyRawBlock(dst, dstCapacity, src, srcSize); in ZSTD_decompressContinue()
1190 FORWARD_IF_ERROR(rSize, "ZSTD_copyRawBlock failed"); in ZSTD_decompressContinue()
1191 assert(rSize == srcSize); in ZSTD_decompressContinue()
1192 dctx->expected -= rSize; in ZSTD_decompressContinue()
1195 rSize = ZSTD_setRleBlock(dst, dstCapacity, *(const BYTE*)src, dctx->rleSize); in ZSTD_decompressContinue()
1202 FORWARD_IF_ERROR(rSize, ""); in ZSTD_decompressContinue()
1203 …RETURN_ERROR_IF(rSize > dctx->fParams.blockSizeMax, corruption_detected, "Decompressed Block Size … in ZSTD_decompressContinue()
1204 DEBUGLOG(5, "ZSTD_decompressContinue: decoded size from block : %u", (unsigned)rSize); in ZSTD_decompressContinue()
[all …]
/linux-6.6.21/lib/zstd/compress/ !
Dzstd_compress.c6074 U64 const rSize = ZSTD_getCParamRowSize(srcSizeHint, dictSize, mode); in ZSTD_getCParams_internal() local
6075 U32 const tableID = (rSize <= 256 KB) + (rSize <= 128 KB) + (rSize <= 16 KB); in ZSTD_getCParams_internal()