Searched refs:IOEventRef (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.h | 28 typedef IOEvent* IOEventRef; typedef 45 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback); 49 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback); 61 IOEventRef AddPeriodicEvent(timeval duration, const std::function<bool()>& callback); 71 static bool DisableEvent(IOEventRef ref); 73 static bool EnableEvent(IOEventRef ref); 76 static bool DelEvent(IOEventRef ref); 80 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
|
D | IOEventLoop.cpp | 112 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent() 120 IOEventRef IOEventLoop::AddWriteEvent(int fd, in AddWriteEvent() 143 IOEventRef IOEventLoop::AddPeriodicEvent(timeval duration, const std::function<bool()>& callback) { in AddPeriodicEvent() 147 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, int16_t events, timeval* timeout, in AddEvent() 194 bool IOEventLoop::DisableEvent(IOEventRef ref) { in DisableEvent() 205 bool IOEventLoop::EnableEvent(IOEventRef ref) { in EnableEvent() 218 bool IOEventLoop::DelEvent(IOEventRef ref) { in DelEvent()
|
D | IOEventLoop_test.cpp | 164 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST() 189 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST() 226 IOEventRef wait_ref = loop.AddPeriodicEvent(tv, [&]() { return loop.ExitLoop(); }); in TEST() 233 IOEventRef ref = loop.AddPeriodicEvent(tv, [&]() { in TEST()
|
D | UnixSocket.h | 228 IOEventRef read_event_; 235 IOEventRef write_event_;
|
D | event_fd.h | 126 IOEventRef ioevent_ref_;
|
D | JITDebugReader.h | 173 IOEventRef read_event_ = nullptr;
|