Home
last modified time | relevance | path

Searched refs:FD_SET (Results 1 – 25 of 132) sorted by relevance

123456

/external/strace/tests/
Dpselect6.c76 FD_SET(fds[0], set[0]); in main()
77 FD_SET(fds[1], set[0]); in main()
78 FD_SET(fds[0], set[1]); in main()
79 FD_SET(fds[1], set[1]); in main()
80 FD_SET(1, set[2]); in main()
81 FD_SET(2, set[2]); in main()
93 FD_SET(1, set[1]); in main()
94 FD_SET(2, set[1]); in main()
95 FD_SET(fds[0], set[1]); in main()
96 FD_SET(fds[1], set[1]); in main()
[all …]
Dxselect.c66 FD_SET(fds[0], set); in main()
67 FD_SET(fds[1], set); in main()
77 FD_SET(1, set); in main()
78 FD_SET(2, set); in main()
79 FD_SET(fds[0], set); in main()
80 FD_SET(fds[1], set); in main()
95 FD_SET(fds[1],set); in main()
105 FD_SET(fds[0],set); in main()
Doldselect.c56 FD_SET(0, &w); in main()
57 FD_SET(1, &r); in main()
/external/openssh/openbsd-compat/
Dbsd-poll.c75 FD_SET(fd, readfds); in poll()
76 FD_SET(fd, exceptfds); in poll()
79 FD_SET(fd, writefds); in poll()
80 FD_SET(fd, exceptfds); in poll()
Dopenbsd-compat.h292 # undef FD_SET
294 # define FD_SET(n, set) kludge_FD_SET(n, set) macro
/external/c-ares/
Dares_fds.c45 FD_SET(server->udp_socket, read_fds); in ares_fds()
55 FD_SET(server->tcp_socket, read_fds); in ares_fds()
57 FD_SET(server->tcp_socket, write_fds); in ares_fds()
Dares_nowarn.h43 # undef FD_SET
44 # define FD_SET(a,b) aresx_FD_SET((a),(b)) macro
/external/curl/lib/
Dselect.c265 FD_SET(readfd0, &fds_read); in Curl_socket_check()
266 FD_SET(readfd0, &fds_err); in Curl_socket_check()
271 FD_SET(readfd1, &fds_read); in Curl_socket_check()
272 FD_SET(readfd1, &fds_err); in Curl_socket_check()
280 FD_SET(writefd, &fds_write); in Curl_socket_check()
281 FD_SET(writefd, &fds_err); in Curl_socket_check()
479 FD_SET(ufds[i].fd, &fds_read); in Curl_poll()
481 FD_SET(ufds[i].fd, &fds_write); in Curl_poll()
483 FD_SET(ufds[i].fd, &fds_err); in Curl_poll()
Dwarnless.h101 # undef FD_SET
102 # define FD_SET(a,b) curlx_FD_SET((a),(b)) macro
/external/curl/docs/examples/
Dsendrecv.c45 FD_SET(sockfd, &errfd); /* always check for error */ in wait_on_socket()
48 FD_SET(sockfd, &infd); in wait_on_socket()
51 FD_SET(sockfd, &outfd); in wait_on_socket()
/external/libvncserver/libvncclient/
Dlisten.c98 FD_SET(listenSocket, &fds); in listenForIncomingConnections()
100 FD_SET(listen6Socket, &fds); in listenForIncomingConnections()
193 FD_SET(client->listenSock, &fds); in listenForIncomingConnectionsNoFork()
195 FD_SET(client->listen6Sock, &fds); in listenForIncomingConnectionsNoFork()
/external/ipsec-tools/src/racoon/
Dsession.c278 FD_SET(lcconf->sock_admin, &mask0); in initfds()
282 FD_SET(lcconf->sock_admin, &maskdying); in initfds()
291 FD_SET(lcconf->sock_pfkey, &mask0); in initfds()
292 FD_SET(lcconf->sock_pfkey, &maskdying); in initfds()
299 FD_SET(lcconf->rtsock, &mask0); in initfds()
310 FD_SET(p->sock, &mask0); in initfds()
/external/libvncserver/libvncserver/
Dsockets.c154 FD_SET(rfbScreen->inetdSock, &(rfbScreen->allFds)); in rfbInitSockets()
177 FD_SET(rfbScreen->listenSock, &(rfbScreen->allFds)); in rfbInitSockets()
195 FD_SET(rfbScreen->listen6Sock, &(rfbScreen->allFds)); in rfbInitSockets()
210 FD_SET(rfbScreen->listenSock, &(rfbScreen->allFds)); in rfbInitSockets()
222 FD_SET(rfbScreen->listen6Sock, &(rfbScreen->allFds)); in rfbInitSockets()
238 FD_SET(rfbScreen->udpSock, &(rfbScreen->allFds)); in rfbInitSockets()
423 FD_SET(rfbScreen->listenSock, &listen_fds); in rfbProcessNewConnection()
425 FD_SET(rfbScreen->listen6Sock, &listen_fds); in rfbProcessNewConnection()
557 FD_SET(sock, &rfbScreen->allFds); in rfbConnect()
620 FD_SET(sock, &fds); in rfbReadExactTimeout()
[all …]
/external/xmlrpcpp/src/
DXmlRpcDispatch.cpp93 if (it->getMask() & ReadableEvent) FD_SET(fd, &inFd); in work()
94 if (it->getMask() & WritableEvent) FD_SET(fd, &outFd); in work()
95 if (it->getMask() & Exception) FD_SET(fd, &excFd); in work()
/external/dnsmasq/src/
Ddnsmasq.c614 FD_SET(daemon->dhcpfd, &rset); in main()
620 FD_SET(daemon->netlinkfd, &rset); in main()
624 FD_SET(piperead, &rset); in main()
633 FD_SET(daemon->helperfd, &wset); in main()
987 FD_SET(STDIN_FILENO, set); in set_android_listeners()
1049 FD_SET(transfer->sockfd, set); in set_dns_listeners()
1060 FD_SET(serverfdp->fd, set); in set_dns_listeners()
1068 FD_SET(daemon->randomsocks[i].fd, set); in set_dns_listeners()
1077 FD_SET(listener->fd, set); in set_dns_listeners()
1087 FD_SET(listener->tcpfd, set); in set_dns_listeners()
[all …]
/external/tlsdate/src/
Drouteup.c123 FD_SET (rtc->netlinkfd, &fds); in routeup_once()
127 FD_SET (rtc->netlinkfd, &fds); in routeup_once()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c300 FD_SET(pty_master, &readfds); in main()
305 FD_SET(pty_master, &writefds); in main()
310 FD_SET(STDIN_FILENO, &readfds); in main()
315 FD_SET(STDOUT_FILENO, &writefds); in main()
/external/drm_hwcomposer/
Ddrmeventlistener.cpp55 FD_SET(drm_->fd(), &fds_); in Init()
56 FD_SET(uevent_fd_.get(), &fds_); in Init()
/external/libnl/src/
Dnf-log.c128 FD_SET(nffd, &rfds); in main()
131 FD_SET(rtfd, &rfds); in main()
Dnf-queue.c153 FD_SET(nffd, &rfds); in main()
156 FD_SET(rtfd, &rfds); in main()
/external/openssh/
Dserverloop.c157 FD_SET(notify_pipe[0], readset); in notify_prepare()
316 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
324 FD_SET(connection_in, *readsetp); in wait_until_can_do_something()
332 FD_SET(fdout, *readsetp); in wait_until_can_do_something()
334 FD_SET(fderr, *readsetp); in wait_until_can_do_something()
341 FD_SET(fdin, *writesetp); in wait_until_can_do_something()
350 FD_SET(connection_out, *writesetp); in wait_until_can_do_something()
381 FD_SET(fdout, *readsetp); in wait_until_can_do_something()
383 FD_SET(fderr, *readsetp); in wait_until_can_do_something()
/external/toybox/toys/pending/
Dtelnetd.c344 if (!inetd_m) FD_SET(master_fd, &rd); in telnetd_main()
349 if (tm->pty_fd > 0 && tm->buff1_avail < BUFSIZE) FD_SET(tm->pty_fd, &rd); in telnetd_main()
350 if (tm->new_fd >= 0 && tm->buff2_avail < BUFSIZE) FD_SET(tm->new_fd, &rd); in telnetd_main()
352 FD_SET(tm->pty_fd, &wr); in telnetd_main()
354 FD_SET(tm->new_fd, &wr); in telnetd_main()
/external/libdaemon/libdaemon/
Ddexec.c135 FD_SET(p[0], &fds); in daemon_execv()
137 FD_SET(sigfd, &fds); in daemon_execv()
/external/libdrm/tests/vbltest/
Dvbltest.c167 FD_SET(0, &fds); in main()
168 FD_SET(fd, &fds); in main()
/external/webrtc/webrtc/examples/peerconnection/server/
Dmain.cc85 FD_SET(listener.socket(), &socket_set); in main()
88 FD_SET((*i)->socket(), &socket_set); in main()

123456