Searched refs:IOEventLoop (Results 1 – 17 of 17) sorted by relevance
/system/extras/simpleperf/ |
D | IOEventLoop.cpp | 25 IOEventLoop* loop; 30 IOEvent(IOEventLoop* loop, const std::function<bool()>& callback) in IOEvent() 40 IOEventLoop::IOEventLoop() : ebase_(nullptr), has_error_(false) {} in IOEventLoop() function in IOEventLoop 42 IOEventLoop::~IOEventLoop() { in ~IOEventLoop() 49 bool IOEventLoop::EnsureInit() { in EnsureInit() 60 void IOEventLoop::EventCallbackFn(int, short, void* arg) { in EventCallbackFn() 77 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent() 85 IOEventRef IOEventLoop::AddWriteEvent(int fd, in AddWriteEvent() 93 bool IOEventLoop::AddSignalEvent(int sig, in AddSignalEvent() 98 bool IOEventLoop::AddSignalEvents(std::vector<int> sigs, in AddSignalEvents() [all …]
|
D | IOEventLoop_test.cpp | 25 TEST(IOEventLoop, read) { in TEST() argument 28 IOEventLoop loop; in TEST() 64 TEST(IOEventLoop, write) { in TEST() argument 67 IOEventLoop loop; in TEST() 100 TEST(IOEventLoop, signal) { in TEST() argument 101 IOEventLoop loop; in TEST() 122 TEST(IOEventLoop, periodic) { in TEST() argument 127 IOEventLoop loop; in TEST() 147 TEST(IOEventLoop, read_and_del_event) { in TEST() argument 150 IOEventLoop loop; in TEST() [all …]
|
D | IOEventLoop.h | 33 class IOEventLoop { 35 IOEventLoop(); 36 ~IOEventLoop();
|
D | workload_test.cpp | 26 IOEventLoop loop; in TEST() 45 IOEventLoop loop; in run_signaled_workload() 66 IOEventLoop loop; in run_exit_nonzero_workload()
|
D | InplaceSamplerClient.h | 36 bool StartPolling(IOEventLoop& loop, const std::function<bool(Record*)>& record_callback, 38 bool StopProfiling(IOEventLoop& loop, const std::function<bool()>& close_callback);
|
D | UnixSocket_test.cpp | 83 IOEventLoop loop; in ClientToTestUndelayedMessage() 112 IOEventLoop loop; in TEST() 146 IOEventLoop loop; in ClientToTestBufferedMessage() 181 IOEventLoop loop; in TEST()
|
D | event_selection_set.h | 70 : for_stat_cmd_(for_stat_cmd), mmap_pages_(0), loop_(new IOEventLoop) {} in EventSelectionSet() 108 IOEventLoop* GetIOEventLoop() { in GetIOEventLoop() 164 std::unique_ptr<IOEventLoop> loop_;
|
D | UnixSocket.h | 157 bool PrepareForIO(IOEventLoop& loop, 195 if (!IOEventLoop::EnableEvent(write_event_)) { in EnableWriteEventWithLock() 205 if (!IOEventLoop::DisableEvent(write_event_)) { in DisableWriteEventWithLock()
|
D | UnixSocket.cpp | 106 IOEventLoop& loop, const std::function<bool(const UnixSocketMessage&)>& in PrepareForIO() 211 if (!IOEventLoop::DisableEvent(read_event_)) { in CloseConnection()
|
D | InplaceSamplerClient.cpp | 70 bool InplaceSamplerClient::StartPolling(IOEventLoop& loop, in StartPolling() 125 bool InplaceSamplerClient::StopProfiling(IOEventLoop& loop, in StopProfiling()
|
D | event_fd.h | 82 bool StartPolling(IOEventLoop& loop, const std::function<bool()>& callback);
|
D | event_fd.cpp | 264 bool EventFd::StartPolling(IOEventLoop& loop, in StartPolling() 270 bool EventFd::StopPolling() { return IOEventLoop::DelEvent(ioevent_ref_); } in StopPolling()
|
D | inplace_sampler_lib.cpp | 93 IOEventLoop loop_;
|
D | Android.mk | 114 IOEventLoop.cpp \
|
D | cmd_stat.cpp | 397 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()
|
D | event_selection_set.cpp | 640 loop_.reset(new IOEventLoop); in FinishReadMmapEventData()
|
D | cmd_record.cpp | 304 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()
|