Lines Matching refs:mPollFds
63 mPollFds[i].fd = -1; in SocketServer()
64 mPollFds[i].events = POLLIN; in SocketServer()
164 if (mPollFds[i].fd < 0) { in acceptClientConnection()
165 mPollFds[i].fd = clientSocket; in acceptClientConnection()
215 if (mPollFds[i].fd == clientSocket) { in disconnectClient()
216 mPollFds[i].fd = -1; in disconnectClient()
252 mPollFds[kListenIndex].fd = mSockFd; in serviceSocket()
253 mPollFds[kListenIndex].events = POLLIN; in serviceSocket()
270 int ret = ppoll(mPollFds, 1 + kMaxActiveClients, nullptr, &signalMask); in serviceSocket()
277 if (mPollFds[kListenIndex].revents & POLLIN) { in serviceSocket()
282 if (mPollFds[i].fd < 0) { in serviceSocket()
286 if (mPollFds[i].revents & POLLIN) { in serviceSocket()
287 handleClientData(mPollFds[i].fd); in serviceSocket()