Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c1861 … size_t const toLoad = hSize - zds->lhSize; /* if hSize!=0, hSize > zds->lhSize */ in ZSTD_decompressStream() local
1864 if (toLoad > remainingInput) { /* not enough input to load full header */ in ZSTD_decompressStream()
1873 … ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad; in ZSTD_decompressStream()
1982 size_t const toLoad = neededInSize - zds->inPos; in ZSTD_decompressStream() local
1988 loadedSize = MIN(toLoad, (size_t)(iend-ip)); in ZSTD_decompressStream()
1990 RETURN_ERROR_IF(toLoad > zds->inBuffSize - zds->inPos, in ZSTD_decompressStream()
1993 … loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, (size_t)(iend-ip)); in ZSTD_decompressStream()
1997 … if (loadedSize < toLoad) { someMoreWork = 0; break; } /* not enough input, wait for more */ in ZSTD_decompressStream()
/linux-6.1.9/lib/zstd/compress/
Dzstd_compress.c4144 size_t const toLoad = zcs->inBuffTarget - zcs->inBuffPos; in ZSTD_compressStream_generic() local
4146 zcs->inBuff + zcs->inBuffPos, toLoad, in ZSTD_compressStream_generic()