Searched refs:mPollFds (Results 1 – 2 of 2) sorted by relevance
42 mPollFds[i].fd = -1; in SocketServer()43 mPollFds[i].events = POLLIN; in SocketServer()143 if (mPollFds[i].fd < 0) { in acceptClientConnection()144 mPollFds[i].fd = clientSocket; in acceptClientConnection()197 if (mPollFds[i].fd == clientSocket) { in disconnectClient()198 mPollFds[i].fd = -1; in disconnectClient()234 mPollFds[kListenIndex].fd = mSockFd; in serviceSocket()235 mPollFds[kListenIndex].events = POLLIN; in serviceSocket()246 int ret = ppoll(mPollFds, 1 + kMaxActiveClients, nullptr, &signalMask); in serviceSocket()258 if (mPollFds[kListenIndex].revents & POLLIN) { in serviceSocket()[all …]
108 struct pollfd mPollFds[1 + kMaxActiveClients] = {}; variable