Home
last modified time | relevance | path

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

/external/curl/lib/
Dwarnless.c460 int curlx_FD_ISSET(int fd, fd_set *fdset) in curlx_FD_ISSET() argument
464 return FD_ISSET(fd, fdset); in curlx_FD_ISSET()
468 void curlx_FD_SET(int fd, fd_set *fdset) in curlx_FD_SET() argument
472 FD_SET(fd, fdset); in curlx_FD_SET()
476 void curlx_FD_ZERO(fd_set *fdset) in curlx_FD_ZERO() argument
480 FD_ZERO(fdset); in curlx_FD_ZERO()
Dwarnless.h87 int curlx_FD_ISSET(int fd, fd_set *fdset);
89 void curlx_FD_SET(int fd, fd_set *fdset);
91 void curlx_FD_ZERO(fd_set *fdset);
/external/curl/tests/libtest/
Dlib582.c188 static void updateFdSet(struct Sockets* sockets, fd_set* fdset, in updateFdSet() argument
193 FD_SET(sockets->sockets[i], fdset); in updateFdSet()
214 static void checkFdSet(CURLM *curl, struct Sockets *sockets, fd_set *fdset, in checkFdSet() argument
219 if(FD_ISSET(sockets->sockets[i], fdset)) { in checkFdSet()
/external/openssh/
Dsshconnect.c335 fd_set *fdset; in timeout_connect() local
359 fdset = xcalloc(howmany(sockfd + 1, NFDBITS), in timeout_connect()
361 FD_SET(sockfd, fdset); in timeout_connect()
365 rc = select(sockfd + 1, NULL, fdset, NULL, &tv); in timeout_connect()
400 free(fdset); in timeout_connect()
557 fd_set *fdset; in ssh_exchange_identification() local
560 fdset = xcalloc(1, fdsetsz); in ssh_exchange_identification()
579 FD_SET(connection_in, fdset); in ssh_exchange_identification()
580 rc = select(connection_in + 1, fdset, NULL, in ssh_exchange_identification()
581 fdset, &t_remaining); in ssh_exchange_identification()
[all …]
Dsshd.c1148 fd_set *fdset; local
1158 fdset = NULL;
1175 free(fdset);
1176 fdset = xcalloc(howmany(maxfd + 1, NFDBITS),
1180 FD_SET(listen_socks[i], fdset);
1183 FD_SET(startup_pipes[i], fdset);
1186 ret = select(maxfd+1, fdset, NULL, NULL, NULL);
1202 FD_ISSET(startup_pipes[i], fdset)) {
1214 if (!FD_ISSET(listen_socks[i], fdset))
/external/mksh/src/
Dfuncs.c1724 fd_set fdset; in c_read() local
1726 FD_ZERO(&fdset); in c_read()
1727 FD_SET((unsigned int)fd, &fdset); in c_read()
1736 switch (select(fd + 1, &fdset, NULL, NULL, &tv)) { in c_read()