Home
last modified time | relevance | path

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

/dports/games/pokerth/pokerth-1.1.2-rc/src/chatcleaner/
H A Dcleanerserver.cpp45 CleanerServer::CleanerServer(): config(0), blockConnection(false), m_recvBufUsed(0), secondsSinceLa… in CleanerServer()
94 …t64 bytesRead = tcpSocket->read((char *)m_recvBuf + m_recvBufUsed, sizeof(m_recvBuf) - m_recvBufUs… in onRead()
97 m_recvBufUsed += bytesRead; in onRead()
101 if (m_recvBufUsed >= CLEANER_NET_HEADER_SIZE) { in onRead()
107 m_recvBufUsed = 0; in onRead()
109 } else if (m_recvBufUsed >= packetSize + CLEANER_NET_HEADER_SIZE) { in onRead()
114 m_recvBufUsed -= (packetSize + CLEANER_NET_HEADER_SIZE); in onRead()
115 if (m_recvBufUsed) { in onRead()
116 memmove(m_recvBuf, m_recvBuf + packetSize + CLEANER_NET_HEADER_SIZE, m_recvBufUsed); in onRead()
124 m_recvBufUsed = 0; in onRead()
H A Dcleanerserver.h73 size_t m_recvBufUsed; variable
/dports/games/pokerth/pokerth-1.1.2-rc/src/net/common/
H A Dchatcleanermanager.cpp46 m_recvBufUsed(0) in ChatCleanerManager()
175 m_recvBufUsed += bytesRead; in HandleRead()
180 if (m_recvBufUsed >= CLEANER_NET_HEADER_SIZE) { in HandleRead()
186 m_recvBufUsed = 0; in HandleRead()
188 } else if (m_recvBufUsed >= packetSize + CLEANER_NET_HEADER_SIZE) { in HandleRead()
193 m_recvBufUsed -= (packetSize + CLEANER_NET_HEADER_SIZE); in HandleRead()
194 if (m_recvBufUsed) { in HandleRead()
195 memmove(m_recvBuf, m_recvBuf + packetSize + CLEANER_NET_HEADER_SIZE, m_recvBufUsed); in HandleRead()
203 m_recvBufUsed = 0; in HandleRead()
212 boost::asio::buffer(m_recvBuf + m_recvBufUsed, sizeof(m_recvBuf) - m_recvBufUsed), in HandleRead()
/dports/games/pokerth/pokerth-1.1.2-rc/src/net/
H A Dchatcleanermanager.h86 size_t m_recvBufUsed; variable