Home
last modified time | relevance | path

Searched refs:iSize (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/lib/zstd/common/
Dentropy_common.c268 size_t iSize; in HUF_readStats_body() local
272 iSize = ip[0]; in HUF_readStats_body()
275 if (iSize >= 128) { /* special header */ in HUF_readStats_body()
276 oSize = iSize - 127; in HUF_readStats_body()
277 iSize = ((oSize+1)/2); in HUF_readStats_body()
278 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); in HUF_readStats_body()
287 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); in HUF_readStats_body()
289 … oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); in HUF_readStats_body()
322 return iSize+1; in HUF_readStats_body()
/linux-6.12.1/lib/zstd/decompress/
Dhuf_decompress.c342 size_t iSize; in HUF_readDTableX1_wksp_bmi2() local
353iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &… in HUF_readDTableX1_wksp_bmi2()
354 if (HUF_isError(iSize)) return iSize; in HUF_readDTableX1_wksp_bmi2()
473 return iSize; in HUF_readDTableX1_wksp_bmi2()
1055 size_t iSize; in HUF_readDTableX2_wksp_bmi2() local
1072iSize = HUF_readStats_wksp(wksp->weightList, HUF_SYMBOLVALUE_MAX + 1, wksp->rankStats, &nbSymbols,… in HUF_readDTableX2_wksp_bmi2()
1073 if (HUF_isError(iSize)) return iSize; in HUF_readDTableX2_wksp_bmi2()
1130 return iSize; in HUF_readDTableX2_wksp_bmi2()
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress.c5286 size_t const iSize = inputBuffered in ZSTD_compressStream_generic() local
5289 … if (oSize >= ZSTD_compressBound(iSize) || zcs->appliedParams.outBufferMode == ZSTD_bm_stable) in ZSTD_compressStream_generic()
5297 zcs->inBuff + zcs->inToCompress, iSize) : in ZSTD_compressStream_generic()
5299 zcs->inBuff + zcs->inToCompress, iSize); in ZSTD_compressStream_generic()
5312 unsigned const lastBlock = (ip + iSize == iend); in ZSTD_compressStream_generic()
5315 ZSTD_compressEnd(zcs, cDst, oSize, ip, iSize) : in ZSTD_compressStream_generic()
5316 ZSTD_compressContinue(zcs, cDst, oSize, ip, iSize); in ZSTD_compressStream_generic()
5318 if (iSize > 0) in ZSTD_compressStream_generic()
5319 ip += iSize; in ZSTD_compressStream_generic()