Lines Matching refs:hSize
1909 size_t const hSize = HUFv07_readDTableX2 (DCtx, cSrc, cSrcSize); in HUFv07_decompress1X2_DCtx() local
1910 if (HUFv07_isError(hSize)) return hSize; in HUFv07_decompress1X2_DCtx()
1911 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUFv07_decompress1X2_DCtx()
1912 ip += hSize; cSrcSize -= hSize; in HUFv07_decompress1X2_DCtx()
2032 size_t const hSize = HUFv07_readDTableX2 (dctx, cSrc, cSrcSize); in HUFv07_decompress4X2_DCtx() local
2033 if (HUFv07_isError(hSize)) return hSize; in HUFv07_decompress4X2_DCtx()
2034 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUFv07_decompress4X2_DCtx()
2035 ip += hSize; cSrcSize -= hSize; in HUFv07_decompress4X2_DCtx()
2321 size_t const hSize = HUFv07_readDTableX4 (DCtx, cSrc, cSrcSize); in HUFv07_decompress1X4_DCtx() local
2322 if (HUFv07_isError(hSize)) return hSize; in HUFv07_decompress1X4_DCtx()
2323 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUFv07_decompress1X4_DCtx()
2324 ip += hSize; cSrcSize -= hSize; in HUFv07_decompress1X4_DCtx()
2443 size_t hSize = HUFv07_readDTableX4 (dctx, cSrc, cSrcSize); in HUFv07_decompress4X4_DCtx() local
2444 if (HUFv07_isError(hSize)) return hSize; in HUFv07_decompress4X4_DCtx()
2445 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUFv07_decompress4X4_DCtx()
2446 ip += hSize; cSrcSize -= hSize; in HUFv07_decompress4X4_DCtx()
4102 { size_t const hSize = HUFv07_readDTableX4(dctx->hufTable, dict, dictSize); in ZSTDv07_loadEntropy() local
4103 if (HUFv07_isError(hSize)) return ERROR(dictionary_corrupted); in ZSTDv07_loadEntropy()
4104 dictPtr += hSize; in ZSTDv07_loadEntropy()
4419 … { size_t const hSize = ZSTDv07_getFrameParams(&(zbd->fParams), zbd->headerBuffer, zbd->lhSize); in ZBUFFv07_decompressContinue() local
4420 if (ZSTDv07_isError(hSize)) return hSize; in ZBUFFv07_decompressContinue()
4421 if (hSize != 0) { in ZBUFFv07_decompressContinue()
4422 … size_t const toLoad = hSize - zbd->lhSize; /* if hSize!=0, hSize > zbd->lhSize */ in ZBUFFv07_decompressContinue()
4427 …return (hSize - zbd->lhSize) + ZSTDv07_blockHeaderSize; /* remaining header bytes + next block h… in ZBUFFv07_decompressContinue()
4429 … memcpy(zbd->headerBuffer + zbd->lhSize, ip, toLoad); zbd->lhSize = hSize; ip += toLoad; in ZBUFFv07_decompressContinue()