Lines Matching refs:pfds
42 struct pollfd pfds = {.fd = fd, .events = POLLIN}; in read() local
61 int count = poll(&pfds, 1, remainingTime); in read()
70 if ((pfds.revents & POLLERR) != 0) { in read()
125 struct pollfd pfds[] = { in readProcessedDataInStream() local
159 int count = poll(pfds, 3, remainingTime); in readProcessedDataInStream()
171 if ((pfds[i].revents & POLLERR) != 0) { in readProcessedDataInStream()
182 if (cirSize != BUFFER_SIZE && pfds[0].fd != -1) { in readProcessedDataInStream()
196 pfds[0].fd = -1; // reach EOF so don't have to poll pfds[0]. in readProcessedDataInStream()
204 if (cirSize > 0 && pfds[1].fd != -1) { in readProcessedDataInStream()
223 if (cirSize == 0 && pfds[0].fd == -1 && pfds[1].fd != -1) { in readProcessedDataInStream()
226 pfds[1].fd = -1; in readProcessedDataInStream()