Lines Matching refs:pvBuf
92 * @param pvBuf Where to put the bytes we read.
98 static DECLCALLBACK(int) dbgcTcpBackRead(PDBGCBACK pBack, void *pvBuf, size_t cbBuf, size_t *pcbRead)
103 int rc = RTTcpRead(pDbgcTcp->Sock, pvBuf, cbBuf, pcbRead);
116 * @param pvBuf What to write.
121 static DECLCALLBACK(int) dbgcTcpBackWrite(PDBGCBACK pBack, const void *pvBuf, size_t cbBuf, size_t *pcbWritten)
136 if (*(const char *)pvBuf == '\n')
144 const char *pszNL = (const char *)memchr(pvBuf, '\n', cbLeft);
146 cb = (uintptr_t)pszNL - (uintptr_t)pvBuf;
147 rc = RTTcpWrite(pDbgcTcp->Sock, pvBuf, cb);
157 pvBuf = (const char *)pvBuf + cb;