Searched refs:toLoad (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/lib/zstd/decompress/ |
H A D | zstd_decompress.c | 1926 … size_t const toLoad = hSize - zds->lhSize; /* if hSize!=0, hSize > zds->lhSize */ in ZSTD_decompressStream() local 1929 if (toLoad > remainingInput) { /* not enough input to load full header */ in ZSTD_decompressStream() 1938 … ZSTD_memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad; in ZSTD_decompressStream() 2047 size_t const toLoad = neededInSize - zds->inPos; in ZSTD_decompressStream() local 2053 loadedSize = MIN(toLoad, (size_t)(iend-ip)); in ZSTD_decompressStream() 2055 RETURN_ERROR_IF(toLoad > zds->inBuffSize - zds->inPos, in ZSTD_decompressStream() 2058 … loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, (size_t)(iend-ip)); in ZSTD_decompressStream() 2062 … if (loadedSize < toLoad) { someMoreWork = 0; break; } /* not enough input, wait for more */ in ZSTD_decompressStream()
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress.c | 5260 size_t const toLoad = zcs->inBuffTarget - zcs->inBuffPos; in ZSTD_compressStream_generic() local 5262 zcs->inBuff + zcs->inBuffPos, toLoad, in ZSTD_compressStream_generic()
|