Lines Matching refs:num
191 int num; in Curl_socket_check() local
205 num = 0; in Curl_socket_check()
207 pfd[num].fd = readfd0; in Curl_socket_check()
208 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
209 pfd[num].revents = 0; in Curl_socket_check()
210 num++; in Curl_socket_check()
213 pfd[num].fd = readfd1; in Curl_socket_check()
214 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
215 pfd[num].revents = 0; in Curl_socket_check()
216 num++; in Curl_socket_check()
219 pfd[num].fd = writefd; in Curl_socket_check()
220 pfd[num].events = POLLWRNORM|POLLOUT|POLLPRI; in Curl_socket_check()
221 pfd[num].revents = 0; in Curl_socket_check()
222 num++; in Curl_socket_check()
225 r = Curl_poll(pfd, (unsigned int)num, timeout_ms); in Curl_socket_check()
230 num = 0; in Curl_socket_check()
232 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
234 if(pfd[num].revents & (POLLPRI|POLLNVAL)) in Curl_socket_check()
236 num++; in Curl_socket_check()
239 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
241 if(pfd[num].revents & (POLLPRI|POLLNVAL)) in Curl_socket_check()
243 num++; in Curl_socket_check()
246 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) in Curl_socket_check()
248 if(pfd[num].revents & (POLLERR|POLLHUP|POLLPRI|POLLNVAL)) in Curl_socket_check()
477 for(i = 0; i < ps->num; i++) { in Curl_pollfds_add_ps()
531 for(i = 0; i < ps->num; i++) { in Curl_waitfds_add_ps()