Searched refs:fds_read (Results 1 - 4 of 4) sorted by relevance
/third_party/curl/lib/ |
H A D | select.c | 125 fd_set *fds_read, /* sockets ready for reading */ in our_select() 135 if((!fds_read || fds_read->fd_count == 0) && in our_select() 159 fds_read && fds_read->fd_count ? fds_read : NULL, in our_select() 163 return select((int)maxfd + 1, fds_read, fds_write, fds_err, ptimeout); in our_select() 277 fd_set fds_read; in Curl_poll() 336 FD_ZERO(&fds_read); in Curl_poll() 351 FD_SET(ufds[i].fd, &fds_read); in Curl_poll() 124 our_select(curl_socket_t maxfd, fd_set *fds_read, fd_set *fds_write, fd_set *fds_err, timediff_t timeout_ms) our_select() argument [all...] |
/third_party/curl/tests/server/ |
H A D | socksd.c | 691 fd_set fds_read; in incoming() local 718 FD_ZERO(&fds_read); in incoming() 723 FD_SET(sockfd, &fds_read); in incoming() 728 FD_SET(fd, &fds_read); in incoming() 732 FD_SET(fd, &fds_read); in incoming() 740 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming() 753 if((clients < 2) && FD_ISSET(sockfd, &fds_read)) { in incoming() 789 if(tunnel(cp, &fds_read)) { in incoming()
|
H A D | sockfilt.c | 962 fd_set fds_read; in juggle() local 990 FD_ZERO(&fds_read); in juggle() 994 FD_SET((curl_socket_t)fileno(stdin), &fds_read); in juggle() 1003 FD_SET(sockfd, &fds_read); in juggle() 1017 FD_SET(sockfd, &fds_read); in juggle() 1027 FD_SET(sockfd, &fds_read); in juggle() 1050 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout); in juggle() 1070 if(FD_ISSET(fileno(stdin), &fds_read)) { in juggle() 1154 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
|
H A D | mqttd.c | 722 fd_set fds_read; in incoming() local 746 FD_ZERO(&fds_read); in incoming() 751 FD_SET(sockfd, &fds_read); in incoming() 755 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming() 768 if(FD_ISSET(sockfd, &fds_read)) { in incoming()
|
Completed in 6 milliseconds