Searched refs:pollfds (Results 1 – 5 of 5) sorted by relevance
220 static std::string dump_pollfds(const std::vector<adb_pollfd>& pollfds) { in dump_pollfds() argument222 for (const auto& pollfd : pollfds) { in dump_pollfds()236 std::vector<adb_pollfd> pollfds; in fdevent_process() local238 pollfds.push_back(pair.second.pollfd); in fdevent_process()240 CHECK_GT(pollfds.size(), 0u); in fdevent_process()241 D("poll(), pollfds = %s", dump_pollfds(pollfds).c_str()); in fdevent_process()242 int ret = adb_poll(&pollfds[0], pollfds.size(), -1); in fdevent_process()247 for (const auto& pollfd : pollfds) { in fdevent_process()
75 void PreparePollForEventFiles(std::vector<pollfd>* pollfds);
253 void EventSelectionSet::PreparePollForEventFiles(std::vector<pollfd>* pollfds) { in PreparePollForEventFiles() argument258 pollfds->push_back(poll_fd); in PreparePollForEventFiles()
242 std::vector<pollfd> pollfds; in Run() local243 event_selection_set_.PreparePollForEventFiles(&pollfds); in Run()265 poll(&pollfds[0], pollfds.size(), -1); in Run()
198 pollfd pollfds[1]; in read_request() local199 pollfds[0].fd = fd; in read_request()200 pollfds[0].events = POLLIN; in read_request()201 pollfds[0].revents = 0; in read_request()202 status = TEMP_FAILURE_RETRY(poll(pollfds, 1, 3000)); in read_request()