Home
last modified time | relevance | path

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

1234

/external/curl/lib/
Dselect.c349 if(FD_ISSET(readfd0, &fds_read)) in Curl_socket_check()
351 if(FD_ISSET(readfd0, &fds_err)) in Curl_socket_check()
355 if(FD_ISSET(readfd1, &fds_read)) in Curl_socket_check()
357 if(FD_ISSET(readfd1, &fds_err)) in Curl_socket_check()
361 if(FD_ISSET(writefd, &fds_write)) in Curl_socket_check()
363 if(FD_ISSET(writefd, &fds_err)) in Curl_socket_check()
545 if(FD_ISSET(ufds[i].fd, &fds_read)) in Curl_poll()
547 if(FD_ISSET(ufds[i].fd, &fds_write)) in Curl_poll()
549 if(FD_ISSET(ufds[i].fd, &fds_err)) in Curl_poll()
Dwarnless.h99 # undef FD_ISSET
100 # define FD_ISSET(a,b) curlx_FD_ISSET((a),(b)) macro
/external/libvncserver/libvncclient/
Dlisten.c105 if (FD_ISSET(listenSocket, &fds)) in listenForIncomingConnections()
107 else if (FD_ISSET(listen6Socket, &fds)) in listenForIncomingConnections()
204 if (FD_ISSET(client->listenSock, &fds)) in listenForIncomingConnectionsNoFork()
206 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.h293 # undef FD_ISSET
295 # 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/c-ares/
Dares_nowarn.h41 # undef FD_ISSET
42 # define FD_ISSET(a,b) aresx_FD_ISSET((a),(b)) macro
/external/xmlrpcpp/src/
DXmlRpcDispatch.cpp127 if (FD_ISSET(fd, &inFd)) in work()
129 if (FD_ISSET(fd, &outFd)) in work()
131 if (FD_ISSET(fd, &excFd)) in work()
/external/libvncserver/libvncserver/
Dsockets.c311 if (FD_ISSET(cl->sock, &(rfbScreen->allFds))) in rfbCheckFds()
329 if (rfbScreen->listenSock != -1 && FD_ISSET(rfbScreen->listenSock, &fds)) { in rfbCheckFds()
339 if (rfbScreen->listen6Sock != -1 && FD_ISSET(rfbScreen->listen6Sock, &fds)) { in rfbCheckFds()
349 if ((rfbScreen->udpSock != -1) && FD_ISSET(rfbScreen->udpSock, &fds)) { in rfbCheckFds()
391 if (FD_ISSET(cl->sock, &(rfbScreen->allFds))) in rfbCheckFds()
393 if (FD_ISSET(cl->sock, &fds)) in rfbCheckFds()
430 if (rfbScreen->listenSock >= 0 && FD_ISSET(rfbScreen->listenSock, &listen_fds)) in rfbProcessNewConnection()
432 if (rfbScreen->listen6Sock >= 0 && FD_ISSET(rfbScreen->listen6Sock, &listen_fds)) in rfbProcessNewConnection()
506 && !FD_ISSET(cl->screen->maxFd,&(cl->screen->allFds))) in rfbCloseClient()
Dhttpd.c208 if ((rfbScreen->httpSock >= 0) && FD_ISSET(rfbScreen->httpSock, &fds)) { in rfbHttpCheckFds()
212 if (FD_ISSET(rfbScreen->httpListenSock, &fds) || FD_ISSET(rfbScreen->httpListen6Sock, &fds)) { in rfbHttpCheckFds()
215 if(FD_ISSET(rfbScreen->httpListenSock, &fds)) { in rfbHttpCheckFds()
221 else if(FD_ISSET(rfbScreen->httpListen6Sock, &fds)) { in rfbHttpCheckFds()
/external/curl/tests/server/
Dsockfilt.c743 if(FD_ISSET(fds, readfds)) in select_ws()
746 if(FD_ISSET(fds, writefds)) in select_ws()
749 if(FD_ISSET(fds, exceptfds)) in select_ws()
856 if(FD_ISSET(sock, readfds) || FD_ISSET(sock, writefds) || in select_ws()
857 FD_ISSET(sock, exceptfds)) { in select_ws()
870 if(FD_ISSET(fds, readfds)) in select_ws()
873 if(FD_ISSET(fds, writefds)) in select_ws()
876 if(FD_ISSET(fds, exceptfds)) in select_ws()
1030 if(FD_ISSET(fileno(stdin), &fds_read)) { in juggle()
1129 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
[all …]
/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/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/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/drm_hwcomposer/
Ddrmeventlistener.cpp124 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine()
132 if (FD_ISSET(uevent_fd_.get(), &fds_)) in Routine()
/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/libdaemon/libdaemon/
Ddexec.c157 if (FD_ISSET(p[0], &qfds)) { in daemon_execv()
177 if (FD_ISSET(sigfd, &qfds)) { in daemon_execv()
/external/webrtc/webrtc/examples/peerconnection/server/
Dmain.cc99 if (FD_ISSET(s->socket(), &socket_set)) { in main()
156 if (FD_ISSET(listener.socket(), &socket_set)) { in main()
/external/libmicrohttpd/src/microspdy/
Ddaemon.c500 (FD_ISSET (ds, &rs)) ){ in SPDYF_run()
512 if (FD_ISSET (ds, &rs) || pos->fio_is_pending(pos)){ in SPDYF_run()
526 if (FD_ISSET (ds, &ws)){ in SPDYF_run()
/external/libpcap/tests/
Dselpolltest.c172 if (FD_ISSET(selectable_fd, &setread)) in main()
176 if (FD_ISSET(selectable_fd, &setexcept)) in main()
/external/dhcpcd-6.8.2/compat/
Dpselect.c60 FD_ISSET(fds[n].fd, &read_fds) ? POLLIN : 0; in pollts()

1234