Lines Matching refs:hSize
1239 size_t const hSize = HUF_readDTableX1_wksp(entropy->hufTable, in ZSTD_loadDEntropy() local
1243 size_t const hSize = HUF_readDTableX2_wksp(entropy->hufTable, in ZSTD_loadDEntropy() local
1247 RETURN_ERROR_IF(HUF_isError(hSize), dictionary_corrupted, ""); in ZSTD_loadDEntropy()
1248 dictPtr += hSize; in ZSTD_loadDEntropy()
1852 …{ size_t const hSize = ZSTD_getFrameHeader_advanced(&zds->fParams, zds->headerBuffer, zds->lhSiz… in ZSTD_decompressStream() local
1856 DEBUGLOG(5, "header size : %u", (U32)hSize); in ZSTD_decompressStream()
1857 if (ZSTD_isError(hSize)) { in ZSTD_decompressStream()
1858 return hSize; /* error */ in ZSTD_decompressStream()
1860 if (hSize != 0) { /* need more input */ in ZSTD_decompressStream()
1861 … size_t const toLoad = hSize - zds->lhSize; /* if hSize!=0, hSize > zds->lhSize */ in ZSTD_decompressStream()
1870 …return (MAX((size_t)ZSTD_FRAMEHEADERSIZE_MIN(zds->format), hSize) - zds->lhSize) + ZSTD_blockHeade… in ZSTD_decompressStream()
1873 … ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad; in ZSTD_decompressStream()