Searched refs:fds_read (Results 1 – 5 of 5) sorted by relevance
/third_party/curl/lib/ |
D | select.c | 146 fd_set *fds_read, /* sockets ready for reading */ in our_select() argument 156 if((!fds_read || fds_read->fd_count == 0) && in our_select() 216 fds_read && fds_read->fd_count ? fds_read : NULL, in our_select() 220 return select((int)maxfd + 1, fds_read, fds_write, fds_err, ptimeout); in our_select() 334 fd_set fds_read; in Curl_poll() 389 FD_ZERO(&fds_read); in Curl_poll() 404 FD_SET(ufds[i].fd, &fds_read); in Curl_poll() 418 r = our_select(maxfd, &fds_read, &fds_write, &fds_err, timeout_ms); in Curl_poll() 427 if(FD_ISSET(ufds[i].fd, &fds_read)) { in Curl_poll()
|
/third_party/curl/tests/server/ |
D | socksd.c | 632 fd_set fds_read; in incoming() local 659 FD_ZERO(&fds_read); in incoming() 664 FD_SET(sockfd, &fds_read); in incoming() 669 FD_SET(fd, &fds_read); in incoming() 673 FD_SET(fd, &fds_read); in incoming() 681 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming() 694 if((clients < 2) && FD_ISSET(sockfd, &fds_read)) { in incoming() 729 if(tunnel(cp, &fds_read)) { in incoming()
|
D | sockfilt.c | 913 fd_set fds_read; in juggle() local 943 FD_ZERO(&fds_read); in juggle() 947 FD_SET((curl_socket_t)fileno(stdin), &fds_read); in juggle() 956 FD_SET(sockfd, &fds_read); in juggle() 970 FD_SET(sockfd, &fds_read); in juggle() 980 FD_SET(sockfd, &fds_read); in juggle() 1003 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout); in juggle() 1023 if(FD_ISSET(fileno(stdin), &fds_read)) { in juggle() 1123 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
|
D | mqttd.c | 718 fd_set fds_read; in incoming() local 742 FD_ZERO(&fds_read); in incoming() 747 FD_SET(sockfd, &fds_read); in incoming() 751 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming() 764 if(FD_ISSET(sockfd, &fds_read)) { in incoming()
|
/third_party/curl/lib/vtls/ |
D | gskit.c | 524 fd_set fds_read; in pipe_ssloverssl() local 535 FD_ZERO(&fds_read); in pipe_ssloverssl() 543 FD_SET(BACKEND->remotefd, &fds_read); in pipe_ssloverssl() 549 i = Curl_select(n + 1, &fds_read, &fds_write, NULL, 0); in pipe_ssloverssl() 575 if(FD_ISSET(BACKEND->remotefd, &fds_read) && in pipe_ssloverssl()
|