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.cc567 struct pollfd pollfds[4] = { in RunPollLoop()
586 const struct pollfd& agent_control_sock_poll = pollfds[1]; in RunPollLoop()
587 const struct pollfd& control_sock_poll = pollfds[2]; in RunPollLoop()
588 const struct pollfd& adb_socket_poll = pollfds[3]; in RunPollLoop()
/art/runtime/
Dnative_stack_dump.cc171 struct pollfd read_fd{in, POLLIN, 0}; in Drain()
/art/tools/timeout_dumper/
Dtimeout_dumper.cc221 struct pollfd read_fd{in, POLLIN, 0}; in Drain()