Home
last modified time | relevance | path

Searched refs:FD_ISSET (Results 1 – 25 of 63) sorted by relevance

123

/external/libvncserver/libvncclient/
Dlisten.c103 if (FD_ISSET(listenSocket, &fds)) in listenForIncomingConnections()
105 else if (FD_ISSET(listen6Socket, &fds)) in listenForIncomingConnections()
202 if (FD_ISSET(client->listenSock, &fds)) in listenForIncomingConnectionsNoFork()
204 else if (FD_ISSET(client->listen6Sock, &fds)) in listenForIncomingConnectionsNoFork()
/external/openssh/openbsd-compat/
Dbsd-poll.c100 if (FD_ISSET(fd, readfds)) { in poll()
103 if (FD_ISSET(fd, writefds)) { in poll()
106 if (FD_ISSET(fd, exceptfds)) { in poll()
Dopenbsd-compat.h285 # undef FD_ISSET
287 # define FD_ISSET(n, set) kludge_FD_ISSET(n, set) macro
Dkludge-fd_set.c23 return FD_ISSET(n, set); in kludge_FD_ISSET()
/external/skia/experimental/Networking/
DSkSockets.cpp56 if (FD_ISSET(sockfd, &fMasterSet)) { in closeSocket()
59 while (FD_ISSET(fMaxfd, &fMasterSet) == false && fMaxfd > 0) in closeSocket()
92 if (!FD_ISSET (i, &fMasterSet)) in readPacket()
179 if (!FD_ISSET (i, &fMasterSet)) in writePacket()
304 if (FD_ISSET(i, &fMasterSet)) in disconnectAll()
/external/libvncserver/libvncserver/
Dsockets.c286 if (FD_ISSET(cl->sock, &(rfbScreen->allFds))) in rfbCheckFds()
304 if (rfbScreen->listenSock != -1 && FD_ISSET(rfbScreen->listenSock, &fds)) { in rfbCheckFds()
314 if (rfbScreen->listen6Sock != -1 && FD_ISSET(rfbScreen->listen6Sock, &fds)) { in rfbCheckFds()
324 if ((rfbScreen->udpSock != -1) && FD_ISSET(rfbScreen->udpSock, &fds)) { in rfbCheckFds()
366 if (FD_ISSET(cl->sock, &(rfbScreen->allFds))) in rfbCheckFds()
368 if (FD_ISSET(cl->sock, &fds)) in rfbCheckFds()
405 if (FD_ISSET(rfbScreen->listenSock, &listen_fds)) in rfbProcessNewConnection()
407 if (FD_ISSET(rfbScreen->listen6Sock, &listen_fds)) in rfbProcessNewConnection()
479 && !FD_ISSET(cl->screen->maxFd,&(cl->screen->allFds))) in rfbCloseClient()
Dhttpd.c196 if ((rfbScreen->httpSock >= 0) && FD_ISSET(rfbScreen->httpSock, &fds)) { in rfbHttpCheckFds()
200 if (FD_ISSET(rfbScreen->httpListenSock, &fds) || FD_ISSET(rfbScreen->httpListen6Sock, &fds)) { in rfbHttpCheckFds()
203 if(FD_ISSET(rfbScreen->httpListenSock, &fds)) { in rfbHttpCheckFds()
209 else if(FD_ISSET(rfbScreen->httpListen6Sock, &fds)) { in rfbHttpCheckFds()
Dmain.c549 if (FD_ISSET(cl->sock, &wfds)) in clientInput()
552 if (FD_ISSET(cl->sock, &rfds) || FD_ISSET(cl->sock, &efds)) in clientInput()
594 if (FD_ISSET(screen->listenSock, &listen_fds)) in listenerRun()
596 else if (FD_ISSET(screen->listen6Sock, &listen_fds)) in listenerRun()
/external/ipsec-tools/src/racoon/
Dsession.c211 (FD_ISSET(lcconf->sock_admin, &rfds))) in session()
218 if (FD_ISSET(p->sock, &rfds)) in session()
222 if (FD_ISSET(lcconf->sock_pfkey, &rfds)) in session()
225 if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) { in session()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c339 if (FD_ISSET(STDOUT_FILENO, &writefds)) { in main()
354 if (FD_ISSET(pty_master, &writefds)) { in main()
369 if (FD_ISSET(STDIN_FILENO, &readfds)) { in main()
384 if (FD_ISSET(pty_master, &readfds)) { in main()
/external/dnsmasq/src/
Ddnsmasq.c668 if (FD_ISSET(piperead, &rset)) in main()
672 if (FD_ISSET(daemon->netlinkfd, &rset)) in main()
700 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) in main()
704 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) in main()
994 if (FD_ISSET(STDIN_FILENO, set)) { in check_android_listeners()
1112 if (FD_ISSET(serverfdp->fd, set)) in check_dns_listeners()
1118 FD_ISSET(daemon->randomsocks[i].fd, set)) in check_dns_listeners()
1123 if (listener->fd != -1 && FD_ISSET(listener->fd, set)) in check_dns_listeners()
1127 if (listener->tftpfd != -1 && FD_ISSET(listener->tftpfd, set)) in check_dns_listeners()
1131 if (listener->tcpfd != -1 && FD_ISSET(listener->tcpfd, set)) in check_dns_listeners()
[all …]
Ddbus.c372 if (FD_ISSET(fd, rset)) in check_dbus_listeners()
375 if (FD_ISSET(fd, wset)) in check_dbus_listeners()
378 if (FD_ISSET(fd, eset)) in check_dbus_listeners()
/external/libnl/src/
Dnf-log.c139 if (FD_ISSET(nffd, &rfds)) in main()
141 if (FD_ISSET(rtfd, &rfds)) in main()
Dnf-queue.c164 if (FD_ISSET(nffd, &rfds)) in main()
166 if (FD_ISSET(rtfd, &rfds)) in main()
/external/toybox/toys/pending/
Dtelnetd.c363 if (!inetd_m && FD_ISSET(master_fd, &rd)) { //accept new connection in telnetd_main()
384 if (FD_ISSET(tm->pty_fd, &rd)) { in telnetd_main()
392 if (FD_ISSET(tm->new_fd, &rd)) { in telnetd_main()
401 if (FD_ISSET(tm->pty_fd, &wr)) { in telnetd_main()
406 if (FD_ISSET(tm->new_fd, &wr)) { in telnetd_main()
/external/libvncserver/vncterm/
DVNCommand.c110 if(FD_ISSET(out[0],&fs1)) { in main()
115 if(FD_ISSET(err[0],&fs1)) { in main()
/external/libpcap/tests/
Dselpolltest.c172 if (FD_ISSET(selectable_fd, &setread)) in main()
176 if (FD_ISSET(selectable_fd, &setexcept)) in main()
/external/boringssl/src/tool/
Dtransport_common.cc241 if (FD_ISSET(0, &read_fds)) { in TransferData()
282 if (FD_ISSET(sock, &read_fds)) { in TransferData()
/external/openssh/
Dserverloop.c164 if (notify_pipe[0] != -1 && FD_ISSET(notify_pipe[0], readset)) in notify_done()
401 if (FD_ISSET(connection_in, readset)) { in process_input()
430 if (!fdout_eof && FD_ISSET(fdout, readset)) { in process_input()
449 if (!fderr_eof && FD_ISSET(fderr, readset)) { in process_input()
480 if (!compat20 && fdin != -1 && FD_ISSET(fdin, writeset)) { in process_output()
512 if (FD_ISSET(connection_out, writeset)) in process_output()
Dssh-pkcs11-helper.c332 if (FD_ISSET(in, rset)) { in main()
345 if (FD_ISSET(out, wset)) { in main()
/external/libvncserver/x11vnc/
Dsslhelper.c1782 if (FD_ISSET(s_in, &rfds)) { in check_vnc_tls_mode()
2360 …: %d %d s_in: %d %d\n", getpid(), nfd, FD_ISSET(csock, &wr), FD_ISSET(csock, &rd), FD_ISSET(s_out,… in ssl_xfer()
2389 if (c_wr && FD_ISSET(csock, &wr)) { in ssl_xfer()
2421 if ((cptr > 0 && FD_ISSET(s_out, &wr)) || in ssl_xfer()
2422 (SSL_want_read(ssl) && FD_ISSET(s_in, &rd))) { in ssl_xfer()
2464 if (c_rd && FD_ISSET(csock, &rd)) { in ssl_xfer()
2494 if ((sptr < ABSIZE && FD_ISSET(s_in, &rd)) || in ssl_xfer()
2495 (SSL_want_write(ssl) && FD_ISSET(s_out, &wr)) || in ssl_xfer()
2663 if (openssl_sock >= 0 && FD_ISSET(openssl_sock, &fds)) { in check_openssl()
2667 if (openssl_sock6 >= 0 && FD_ISSET(openssl_sock6, &fds)) { in check_openssl()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc385 if (child_stdin_ != -1 && FD_ISSET(child_stdin_, &write_fds)) {
403 if (child_stdout_ != -1 && FD_ISSET(child_stdout_, &read_fds)) {
/external/ppp/pppd/
Dtty.c1133 if (FD_ISSET(ifd, &ready)) {
1157 if (FD_ISSET(pty_master, &ready)) {
1185 if (FD_ISSET(ofd, &writey)) {
1204 if (FD_ISSET(pty_master, &writey)) {
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch69 if (FD_ISSET(piperead, &rset))
74 if (FD_ISSET(daemon->netlinkfd, &rset))
78 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset))
83 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset))
/external/libdrm/tests/planetest/
Datomictest.c139 if (FD_ISSET(dev->fd, &fds)) in main()

123