Lines Matching refs:cbToRead
860 static DECLCALLBACK(int) rtZipPkzipFssIosReadHelper(void *pvThis, void *pvBuf, size_t cbToRead, size_t *pcbRead)
864 if (!cbToRead)
867 && cbToRead > 0)
872 cbToRead--;
875 if (cbToRead > 0)
880 RT_MIN(cbToRead, cbAvail), true /*fBlocking*/, &cbRead);
882 && cbToRead > cbAvail)
910 size_t cbToRead = pSgBuf->paSegs[0].cbSeg;
911 if (cbToRead > cbLeft)
915 cbToRead = (size_t)cbLeft;
974 int rc = RTZipDecompress(pThis->pZip, pSgBuf->paSegs[0].pvSeg, cbToRead, pcbRead);