Searched refs:loadedSize (Results 1 – 7 of 7) sorted by relevance
/external/zstd/programs/ |
D | dibio.c | 286 size_t loadedSize = (size_t) MIN ((unsigned long long)maxMem, fs.totalSizeToLoad); in DiB_trainFromFiles() local 287 void* const srcBuffer = malloc(loadedSize+NOISELENGTH); in DiB_trainFromFiles() 310 if (loadedSize < fs.totalSizeToLoad) in DiB_trainFromFiles() 311 … DISPLAYLEVEL(1, "Not enough memory; training on %u MB only...\n", (unsigned)(loadedSize >> 20)); in DiB_trainFromFiles() 317 …DiB_loadFiles(srcBuffer, &loadedSize, sampleSizes, fs.nbSamples, fileNamesTable, nbFiles, chunkSiz… in DiB_trainFromFiles() 321 …DiB_fillNoise((char*)srcBuffer + loadedSize, NOISELENGTH); /* guard band, for end of buffer cond… in DiB_trainFromFiles()
|
/external/zstd/contrib/largeNbDicts/ |
D | largeNbDicts.c | 393 size_t const loadedSize = (size_t)totalSizeToLoad; in createBufferCollection_fromFiles() local 394 assert(loadedSize > 0); in createBufferCollection_fromFiles() 395 void* const srcBuffer = malloc(loadedSize); in createBufferCollection_fromFiles() 403 int const errorCode = loadFiles(srcBuffer, loadedSize, in createBufferCollection_fromFiles() 414 for ( ; (pos < loadedSize) && (fileNb < nbFiles); fileNb++) { in createBufferCollection_fromFiles() 418 assert(pos == loadedSize); in createBufferCollection_fromFiles() 424 buffer.capacity = loadedSize; in createBufferCollection_fromFiles() 425 buffer.size = loadedSize; in createBufferCollection_fromFiles()
|
/external/zstd/lib/decompress/ |
D | zstd_decompress.c | 1829 size_t loadedSize; in ZSTD_decompressStream() local 1833 loadedSize = MIN(toLoad, (size_t)(iend-ip)); in ZSTD_decompressStream() 1838 … loadedSize = ZSTD_limitCopy(zds->inBuff + zds->inPos, toLoad, ip, (size_t)(iend-ip)); in ZSTD_decompressStream() 1840 ip += loadedSize; in ZSTD_decompressStream() 1841 zds->inPos += loadedSize; in ZSTD_decompressStream() 1842 … if (loadedSize < toLoad) { someMoreWork = 0; break; } /* not enough input, wait for more */ in ZSTD_decompressStream()
|
/external/zstd/lib/legacy/ |
D | zstd_v04.c | 3536 size_t loadedSize; in ZBUFF_decompressContinue() local 3538 loadedSize = ZBUFF_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip); in ZBUFF_decompressContinue() 3539 ip += loadedSize; in ZBUFF_decompressContinue() 3540 zbc->inPos += loadedSize; in ZBUFF_decompressContinue() 3541 … if (loadedSize < toLoad) { notDone = 0; break; } /* not enough input, wait for more */ in ZBUFF_decompressContinue()
|
D | zstd_v05.c | 3997 size_t loadedSize; in ZBUFFv05_decompressContinue() local 3999 loadedSize = ZBUFFv05_limitCopy(zbc->inBuff + zbc->inPos, toLoad, ip, iend-ip); in ZBUFFv05_decompressContinue() 4000 ip += loadedSize; in ZBUFFv05_decompressContinue() 4001 zbc->inPos += loadedSize; in ZBUFFv05_decompressContinue() 4002 … if (loadedSize < toLoad) { notDone = 0; break; } /* not enough input, wait for more */ in ZBUFFv05_decompressContinue()
|
D | zstd_v06.c | 4104 size_t loadedSize; in ZBUFFv06_decompressContinue() local 4106 loadedSize = ZBUFFv06_limitCopy(zbd->inBuff + zbd->inPos, toLoad, ip, iend-ip); in ZBUFFv06_decompressContinue() 4107 ip += loadedSize; in ZBUFFv06_decompressContinue() 4108 zbd->inPos += loadedSize; in ZBUFFv06_decompressContinue() 4109 … if (loadedSize < toLoad) { notDone = 0; break; } /* not enough input, wait for more */ in ZBUFFv06_decompressContinue()
|
D | zstd_v07.c | 4490 size_t loadedSize; in ZBUFFv07_decompressContinue() local 4492 loadedSize = ZBUFFv07_limitCopy(zbd->inBuff + zbd->inPos, toLoad, ip, iend-ip); in ZBUFFv07_decompressContinue() 4493 ip += loadedSize; in ZBUFFv07_decompressContinue() 4494 zbd->inPos += loadedSize; in ZBUFFv07_decompressContinue() 4495 … if (loadedSize < toLoad) { notDone = 0; break; } /* not enough input, wait for more */ in ZBUFFv07_decompressContinue()
|