Lines Matching refs:events

208     pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI;  in Curl_socket_check()
214 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
220 pfd[num].events = POLLWRNORM|POLLOUT|POLLPRI; in Curl_socket_check()
342 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI| in Curl_poll()
346 if(ufds[i].events & (POLLRDNORM|POLLIN)) in Curl_poll()
348 if(ufds[i].events & (POLLWRNORM|POLLOUT)) in Curl_poll()
350 if(ufds[i].events & (POLLRDBAND|POLLPRI)) in Curl_poll()
375 if(ufds[i].events & POLLRDNORM) in Curl_poll()
377 if(ufds[i].events & POLLIN) in Curl_poll()
381 if(ufds[i].events & POLLWRNORM) in Curl_poll()
383 if(ufds[i].events & POLLOUT) in Curl_poll()
387 if(ufds[i].events & POLLRDBAND) in Curl_poll()
389 if(ufds[i].events & POLLPRI) in Curl_poll()
441 curl_socket_t sock, short events, bool fold) in cpfds_add_sock() argument
448 cpfds->pfds[i].events |= events; in cpfds_add_sock()
459 cpfds->pfds[cpfds->n].events = events; in cpfds_add_sock()
465 curl_socket_t sock, short events) in Curl_pollfds_add_sock() argument
467 return cpfds_add_sock(cpfds, sock, events, FALSE); in Curl_pollfds_add_sock()
478 short events = 0; in Curl_pollfds_add_ps() local
480 events |= POLLIN; in Curl_pollfds_add_ps()
482 events |= POLLOUT; in Curl_pollfds_add_ps()
483 if(events) { in Curl_pollfds_add_ps()
484 if(cpfds_add_sock(cpfds, ps->sockets[i], events, TRUE)) in Curl_pollfds_add_ps()
503 curl_socket_t sock, short events) in cwfds_add_sock() argument
510 cwfds->wfds[i].events |= events; in cwfds_add_sock()
519 cwfds->wfds[cwfds->n].events = events; in cwfds_add_sock()
532 short events = 0; in Curl_waitfds_add_ps() local
534 events |= CURL_WAIT_POLLIN; in Curl_waitfds_add_ps()
536 events |= CURL_WAIT_POLLOUT; in Curl_waitfds_add_ps()
537 if(events) { in Curl_waitfds_add_ps()
538 if(cwfds_add_sock(cwfds, ps->sockets[i], events)) in Curl_waitfds_add_ps()