Searched refs:IOEventRef (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.h | 33 typedef IOEvent* IOEventRef; typedef 52 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback, 57 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback, 71 IOEventRef AddPeriodicEvent(timeval duration, const std::function<bool()>& callback, 75 IOEventRef AddOneTimeEvent(timeval duration, const std::function<bool()>& callback, 86 static bool DisableEvent(IOEventRef ref); 88 static bool EnableEvent(IOEventRef ref); 91 static bool DelEvent(IOEventRef ref); 95 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
|
D | IOEventLoop.cpp | 106 IOEventRef IOEventLoop::AddReadEvent(int fd, const std::function<bool()>& callback, in AddReadEvent() 114 IOEventRef IOEventLoop::AddWriteEvent(int fd, const std::function<bool()>& callback, in AddWriteEvent() 137 IOEventRef IOEventLoop::AddPeriodicEvent(timeval duration, const std::function<bool()>& callback, in AddPeriodicEvent() 142 IOEventRef IOEventLoop::AddOneTimeEvent(timeval duration, const std::function<bool()>& callback, in AddOneTimeEvent() 147 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, int16_t events, timeval* timeout, in AddEvent() 195 bool IOEventLoop::DisableEvent(IOEventRef ref) { in DisableEvent() 206 bool IOEventLoop::EnableEvent(IOEventRef ref) { in EnableEvent() 219 bool IOEventLoop::DelEvent(IOEventRef ref) { in DelEvent()
|
D | IOEventLoop_test.cpp | 193 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST() 219 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST() 257 IOEventRef wait_ref = loop.AddPeriodicEvent(tv, [&]() { return loop.ExitLoop(); }); in TEST() 264 IOEventRef ref = loop.AddPeriodicEvent(tv, [&]() { in TEST()
|
D | event_fd.h | 148 IOEventRef ioevent_ref_;
|
D | JITDebugReader.h | 235 IOEventRef read_event_ = nullptr;
|