Lines Matching refs:pollable
60 void Poller::addPollable(Pollable* pollable) { in addPollable() argument
61 mPollables.push_back(pollable); in addPollable()
89 for (auto& pollable : mPollables) { in run() local
91 pollable->getPollData(&fds); in run()
92 Pollable::Timestamp pollableDeadline = pollable->getTimeout(); in run()
95 pollables[fds[i].fd] = pollable; in run()
120 auto pollable = pollables.find(fd.fd); in run() local
121 if (pollable == pollables.end()) { in run()
129 if (!pollable->second->onReadAvailable(fd.fd, &status)) { in run()
137 if (!pollable->second->onClose(fd.fd, &status)) { in run()
146 for (const auto& pollable : mPollables) { in run() local
147 if (pollable->getTimeout() <= now) { in run()
149 if (!pollable->onTimeout(&status)) { in run()