Lines Matching refs:mPollFds
63 mPollFds[i].fd = -1; in SocketServer()
64 mPollFds[i].events = POLLIN; in SocketServer()
165 if (mPollFds[i].fd < 0) { in acceptClientConnection()
166 mPollFds[i].fd = clientSocket; in acceptClientConnection()
214 if (mPollFds[i].fd == clientSocket) { in disconnectClient()
215 mPollFds[i].fd = -1; in disconnectClient()
250 mPollFds[kListenIndex].fd = mSockFd; in serviceSocket()
251 mPollFds[kListenIndex].events = POLLIN; in serviceSocket()
268 int ret = ppoll(mPollFds, 1 + kMaxActiveClients, nullptr, &signalMask); in serviceSocket()
275 if (mPollFds[kListenIndex].revents & POLLIN) { in serviceSocket()
280 if (mPollFds[i].fd < 0) { in serviceSocket()
284 if (mPollFds[i].revents & POLLIN) { in serviceSocket()
285 handleClientData(mPollFds[i].fd); in serviceSocket()