Lines Matching refs:pCur
107 register struct pollfd *pCur; /* current array element */ in map_poll_spec() local
114 for (i = 0, pCur = pArray; i < n_fds; i++, pCur++) in map_poll_spec()
118 if (pCur->fd < 0) in map_poll_spec()
121 if (pCur->events & POLLIN) in map_poll_spec()
124 FD_SET (pCur->fd, pReadSet); in map_poll_spec()
127 if (pCur->events & POLLOUT) in map_poll_spec()
130 FD_SET (pCur->fd, pWriteSet); in map_poll_spec()
133 if (pCur->events & POLLPRI) in map_poll_spec()
139 FD_SET (pCur->fd, pExceptSet); in map_poll_spec()
142 max_fd = MAX (max_fd, pCur->fd); in map_poll_spec()
210 register struct pollfd *pCur; /* current array element */ in map_select_results() local
212 for (i = 0, pCur = pArray; i < n_fds; i++, pCur++) in map_select_results()
216 if (pCur->fd < 0) in map_select_results()
221 pCur->revents = 0; in map_select_results()
222 if (FD_ISSET (pCur->fd, pExceptSet)) in map_select_results()
223 pCur->revents |= POLLPRI; in map_select_results()
225 else if (FD_ISSET (pCur->fd, pReadSet)) in map_select_results()
226 pCur->revents |= POLLIN; in map_select_results()
228 if (FD_ISSET (pCur->fd, pWriteSet)) in map_select_results()
229 pCur->revents |= POLLOUT; in map_select_results()