Lines Matching refs:inBuff
1318 ZSTD_inBuffer inBuff = { ress.srcBuffer, inSize, 0 }; in FIO_compressZstdFrame() local
1326 while ((inBuff.pos != inBuff.size) /* input buffer must be entirely ingested */ in FIO_compressZstdFrame()
1329 size_t const oldIPos = inBuff.pos; in FIO_compressZstdFrame()
1332 CHECK_V(stillToFlush, ZSTD_compressStream2(ress.cctx, &outBuff, &inBuff, directive)); in FIO_compressZstdFrame()
1336 …if (oldIPos == inBuff.pos) inputBlocked++; /* input buffer is full and can't take any more : inpu… in FIO_compressZstdFrame()
1341 … (unsigned)directive, (unsigned)inBuff.pos, (unsigned)inBuff.size, (unsigned)outBuff.pos); in FIO_compressZstdFrame()
2114 ZSTD_inBuffer inBuff = { ress->srcBuffer, ress->srcBufferLoaded, 0 }; in FIO_decompressZstdFrame() local
2116 size_t const readSizeHint = ZSTD_decompressStream(ress->dctx, &outBuff, &inBuff); in FIO_decompressZstdFrame()
2144 if (inBuff.pos > 0) { in FIO_decompressZstdFrame()
2145 memmove(ress->srcBuffer, (char*)ress->srcBuffer + inBuff.pos, inBuff.size - inBuff.pos); in FIO_decompressZstdFrame()
2146 ress->srcBufferLoaded -= inBuff.pos; in FIO_decompressZstdFrame()