Home
last modified time | relevance | path

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

/external/u-boot/lib/zstd/
Ddecompress.c2308 size_t const toLoad = hSize - zds->lhSize; /* if hSize!=0, hSize > zds->lhSize */ in ZSTD_decompressStream() local
2309 if (toLoad > (size_t)(iend - ip)) { /* not enough input to load full header */ in ZSTD_decompressStream()
2316 memcpy(zds->headerBuffer + zds->lhSize, ip, toLoad); in ZSTD_decompressStream()
2318 ip += toLoad; in ZSTD_decompressStream()
2400 …size_t const toLoad = neededInSize - zds->inPos; /* should always be <= remaining space within inB… in ZSTD_decompressStream() local
2402 if (toLoad > zds->inBuffSize - zds->inPos) in ZSTD_decompressStream()
2404 loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, iend - ip); in ZSTD_decompressStream()
2407 if (loadedSize < toLoad) { in ZSTD_decompressStream()