Home
last modified time | relevance | path

Searched refs:fds_read (Results 1 – 6 of 6) sorted by relevance

/external/curl/lib/
Dselect.c145 fd_set *fds_read, /* sockets ready for reading */ in Curl_select() argument
155 if((!fds_read || fds_read->fd_count == 0) && in Curl_select()
215 fds_read && fds_read->fd_count ? fds_read : NULL, in Curl_select()
219 return select((int)maxfd + 1, fds_read, fds_write, fds_err, ptimeout); in Curl_select()
331 fd_set fds_read; in Curl_poll()
386 FD_ZERO(&fds_read); in Curl_poll()
401 FD_SET(ufds[i].fd, &fds_read); in Curl_poll()
415 r = Curl_select(maxfd, &fds_read, &fds_write, &fds_err, timeout_ms); in Curl_poll()
424 if(FD_ISSET(ufds[i].fd, &fds_read)) { in Curl_poll()
Dselect.h76 fd_set *fds_read,
/external/curl/tests/server/
Dsocksd.c632 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()
Dsockfilt.c906 fd_set fds_read; in juggle() local
936 FD_ZERO(&fds_read); in juggle()
940 FD_SET((curl_socket_t)fileno(stdin), &fds_read); in juggle()
949 FD_SET(sockfd, &fds_read); in juggle()
963 FD_SET(sockfd, &fds_read); in juggle()
973 FD_SET(sockfd, &fds_read); in juggle()
996 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, &timeout); in juggle()
1016 if(FD_ISSET(fileno(stdin), &fds_read)) { in juggle()
1116 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
Dmqttd.c651 fd_set fds_read; in incoming() local
675 FD_ZERO(&fds_read); in incoming()
680 FD_SET(sockfd, &fds_read); in incoming()
684 rc = select(maxfd + 1, &fds_read, &fds_write, &fds_err, NULL); in incoming()
697 if(FD_ISSET(sockfd, &fds_read)) { in incoming()
/external/curl/lib/vtls/
Dgskit.c521 fd_set fds_read; in pipe_ssloverssl() local
532 FD_ZERO(&fds_read); in pipe_ssloverssl()
540 FD_SET(BACKEND->remotefd, &fds_read); in pipe_ssloverssl()
546 i = Curl_select(n + 1, &fds_read, &fds_write, NULL, 0); in pipe_ssloverssl()
572 if(FD_ISSET(BACKEND->remotefd, &fds_read) && in pipe_ssloverssl()