Home
last modified time | relevance | path

Searched refs:poll_fds_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/base/
Dunix_task_runner.cc57 &poll_fds_[0], static_cast<nfds_t>(poll_fds_.size()), poll_timeout_ms)); in Run()
88 poll_fds_.clear(); in UpdateWatchTasksLocked()
90 it.second.poll_fd_index = poll_fds_.size(); in UpdateWatchTasksLocked()
91 poll_fds_.push_back({it.first, POLLIN | POLLHUP, 0}); in UpdateWatchTasksLocked()
125 for (size_t i = 0; i < poll_fds_.size(); i++) { in PostFileDescriptorWatches()
126 if (!(poll_fds_[i].revents & (POLLIN | POLLHUP))) in PostFileDescriptorWatches()
128 poll_fds_[i].revents = 0; in PostFileDescriptorWatches()
132 if (poll_fds_[i].fd == event_.fd()) { in PostFileDescriptorWatches()
140 poll_fds_[i].fd)); in PostFileDescriptorWatches()
144 PERFETTO_DCHECK(poll_fds_[i].fd >= 0); in PostFileDescriptorWatches()
[all …]
/external/perfetto/include/perfetto/base/
Dunix_task_runner.h96 std::vector<struct pollfd> poll_fds_; variable