Searched refs:IOEventRef (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.h | 27 typedef IOEvent* IOEventRef; typedef 41 IOEventRef AddReadEvent(int fd, const std::function<bool()>& callback); 45 IOEventRef AddWriteEvent(int fd, const std::function<bool()>& callback); 68 static bool DisableEvent(IOEventRef ref); 70 static bool EnableEvent(IOEventRef ref); 73 static bool DelEvent(IOEventRef ref); 77 IOEventRef AddEvent(int fd_or_sig, short events, timeval* timeout,
|
D | IOEventLoop.cpp | 77 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent() 85 IOEventRef IOEventLoop::AddWriteEvent(int fd, in AddWriteEvent() 113 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, short events, timeval* timeout, in AddEvent() 152 bool IOEventLoop::DisableEvent(IOEventRef ref) { in DisableEvent() 163 bool IOEventLoop::EnableEvent(IOEventRef ref) { in EnableEvent() 174 bool IOEventLoop::DelEvent(IOEventRef ref) { in DelEvent()
|
D | IOEventLoop_test.cpp | 152 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST() 177 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST()
|
D | UnixSocket.h | 228 IOEventRef read_event_; 235 IOEventRef write_event_;
|
D | event_fd.h | 124 IOEventRef ioevent_ref_;
|