Home
last modified time | relevance | path

Searched refs:IOEventRef (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
DIOEventLoop.h28 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,
DIOEventLoop.cpp112 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()
DIOEventLoop_test.cpp164 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()
Devent_fd.h146 IOEventRef ioevent_ref_;
DJITDebugReader.h213 IOEventRef read_event_ = nullptr;