Searched refs:AddReadEvent (Results 1 – 5 of 5) sorted by relevance
31 ASSERT_NE(nullptr, loop.AddReadEvent(fd[0], [&]() { in TEST()152 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST()
41 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback);
77 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent() function in IOEventLoop
111 read_event_ = loop.AddReadEvent(fd_, [&]() { return ReadData(); }); in PrepareForIO()
266 ioevent_ref_ = loop.AddReadEvent(perf_event_fd_, callback); in StartPolling()