Home
last modified time | relevance | path

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

/linux-4.19.296/lib/zstd/
Dcompress.c2957 size_t inBuffPos; member
3037 zcs->inBuffPos = 0; in ZSTD_resetCStream_internal()
3147 size_t const toLoad = zcs->inBuffTarget - zcs->inBuffPos; in ZSTD_compressStream_generic()
3148 size_t const loaded = ZSTD_limitCopy(zcs->inBuff + zcs->inBuffPos, toLoad, ip, iend - ip); in ZSTD_compressStream_generic()
3149 zcs->inBuffPos += loaded; in ZSTD_compressStream_generic()
3151 if ((zcs->inBuffPos == zcs->inToCompress) || (!flush && (toLoad != loaded))) { in ZSTD_compressStream_generic()
3160 size_t const iSize = zcs->inBuffPos - zcs->inToCompress; in ZSTD_compressStream_generic()
3173 zcs->inBuffTarget = zcs->inBuffPos + zcs->blockSize; in ZSTD_compressStream_generic()
3175 zcs->inBuffPos = 0, zcs->inBuffTarget = zcs->blockSize; /* note : inBuffSize >= blockSize */ in ZSTD_compressStream_generic()
3176 zcs->inToCompress = zcs->inBuffPos; in ZSTD_compressStream_generic()
[all …]