Searched refs:pollFds (Results 1 – 2 of 2) sorted by relevance
86 …private final UnsafeArrayList<StructPollfd> pollFds = new UnsafeArrayList<StructPollfd>(StructPoll… field in SelectorImpl101 pollFds.add(new StructPollfd()); in SelectorImpl()184 rc = Libcore.os.poll(pollFds.array(), (int) timeout); in selectInternal()205 StructPollfd pollFd = pollFds.get(i); in setPollFd()230 while (pollFds.size() < mutableKeys.size() + 1) { in ensurePollFdsCapacity()231 pollFds.add(new StructPollfd()); in ensurePollFdsCapacity()239 if (pollFds.get(0).revents == POLLIN) { in processPollFds()247 for (int i = 1; i < pollFds.size(); ++i) { in processPollFds()248 StructPollfd pollFd = pollFds.get(i); in processPollFds()
212 StructPollfd[] pollFds = new StructPollfd[] { new StructPollfd() }; in isConnected() local213 pollFds[0].fd = fd; in isConnected()214 pollFds[0].events = (short) POLLOUT; in isConnected()215 int rc = Libcore.os.poll(pollFds, remainingTimeoutMs); in isConnected()