Searched refs:socketCallbacksByFd (Results 1 – 1 of 1) sorted by relevance
197 std::map<int, SocketCallbacks> socketCallbacksByFd; in run() local200 auto removePollFdAt = [&socketCallbacksByFd, &pollFds](size_t i) { in run()211 socketCallbacksByFd[pollFds[i].fd].mPollFdIndex = i; in run()232 auto it = socketCallbacksByFd.find(sock); in run()237 if (it == socketCallbacksByFd.end()) { in run()238 socketCallbacksByFd[sock] = { fn, nullptr, pollFds.size() }; in run()254 if (it == socketCallbacksByFd.end()) { in run()255 socketCallbacksByFd[sock] = { nullptr, fn, pollFds.size() }; in run()284 if (it != socketCallbacksByFd.end()) { in run()287 socketCallbacksByFd.erase(it); in run()[all …]