Home
last modified time | relevance | path

Searched refs:pfds (Results 1 – 5 of 5) sorted by relevance

/curl/lib/
H A Dselect.c408 cpfds->pfds = static_pfds; in Curl_pollfds_init()
417 free(cpfds->pfds); in Curl_pollfds_cleanup()
431 memcpy(new_fds, cpfds->pfds, cpfds->count * sizeof(struct pollfd)); in cpfds_increase()
433 free(cpfds->pfds); in cpfds_increase()
434 cpfds->pfds = new_fds; in cpfds_increase()
447 if(sock == cpfds->pfds[i].fd) { in cpfds_add_sock()
448 cpfds->pfds[i].events |= events; in cpfds_add_sock()
458 cpfds->pfds[cpfds->n].fd = sock; in cpfds_add_sock()
459 cpfds->pfds[cpfds->n].events = events; in cpfds_add_sock()
H A Dselect.h115 struct pollfd *pfds; member
H A Dcfilters.c572 struct pollfd pfds[MAX_SOCKSPEREASYHANDLE]; in Curl_conn_cf_poll() local
579 memset(pfds, 0, sizeof(pfds)); in Curl_conn_cf_poll()
592 pfds[npfds].fd = ps.sockets[i]; in Curl_conn_cf_poll()
593 pfds[npfds].events = events; in Curl_conn_cf_poll()
600 return Curl_poll(pfds, npfds, timeout_ms); in Curl_conn_cf_poll()
H A Dmulti.c1318 if(cpfds.pfds[i].events & POLLIN)
1320 if(cpfds.pfds[i].events & POLLPRI)
1322 if(cpfds.pfds[i].events & POLLOUT) {
1324 reset_socket_fdwrite(cpfds.pfds[i].fd);
1327 if(WSAEventSelect(cpfds.pfds[i].fd, multi->wsa_event, mask) != 0) {
1362 pollrc = Curl_poll(cpfds.pfds, cpfds.n, 0);
1366 pollrc = Curl_poll(cpfds.pfds, cpfds.n, timeout_ms); /* wait... */
1389 unsigned r = (unsigned)cpfds.pfds[curl_nfds + i].revents;
1443 if(cpfds.pfds[curl_nfds + extra_nfds].revents & POLLIN) {
H A Dconncache.c1127 Curl_poll(cpfds.pfds, cpfds.n, CURLMIN(timeout_ms, 1000)); in cpool_shutdown_wait()

Completed in 22 milliseconds