Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DIOEventLoop.h27 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,
DIOEventLoop.cpp77 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()
DIOEventLoop_test.cpp152 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST()
177 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST()
DUnixSocket.h228 IOEventRef read_event_;
235 IOEventRef write_event_;
Devent_fd.h124 IOEventRef ioevent_ref_;