Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 4 of 4) sorted by relevance

/art/dt_fd_forward/
Ddt_fd_forward.cc185 struct pollfd pollfd = { read_fd_, POLLRDHUP, 0 }; in ReadUpToMax() local
186 res = TEMP_FAILURE_RETRY(poll(&pollfd, /*nfds*/1, /*timeout*/0)); in ReadUpToMax()
187 if (res < 0 || (pollfd.revents & POLLERR) == POLLERR) { in ReadUpToMax()
191 return ((pollfd.revents & (POLLRDHUP | POLLHUP)) == 0) ? IOResult::kOk : IOResult::kEOF; in ReadUpToMax()
202 struct pollfd pollfds[2]; in ReadFully()
/art/adbconnection/
Dadbconnection.cc533 struct pollfd pollfds[4] = { in RunPollLoop()
553 const struct pollfd& agent_control_sock_poll = pollfds[1]; in RunPollLoop()
554 const struct pollfd& control_sock_poll = pollfds[2]; in RunPollLoop()
555 const struct pollfd& adb_socket_poll = pollfds[3]; in RunPollLoop()
/art/runtime/
Dnative_stack_dump.cc172 struct pollfd read_fd{in, POLLIN, 0}; in Drain()
/art/tools/signal_dumper/
Dsignal_dumper.cc218 struct pollfd read_fd{in, POLLIN, 0}; in Drain()