Home
last modified time | relevance | path

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

12345

/external/curl/lib/
Dselect.c354 if(FD_ISSET(readfd0, &fds_read)) in Curl_socket_check()
356 if(FD_ISSET(readfd0, &fds_err)) in Curl_socket_check()
360 if(FD_ISSET(readfd1, &fds_read)) in Curl_socket_check()
362 if(FD_ISSET(readfd1, &fds_err)) in Curl_socket_check()
366 if(FD_ISSET(writefd, &fds_write)) in Curl_socket_check()
368 if(FD_ISSET(writefd, &fds_err)) in Curl_socket_check()
550 if(FD_ISSET(ufds[i].fd, &fds_read)) in Curl_poll()
552 if(FD_ISSET(ufds[i].fd, &fds_write)) in Curl_poll()
554 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.c98 if (FD_ISSET(fd, readfds)) { in poll()
101 if (FD_ISSET(fd, writefds)) { in poll()
104 if (FD_ISSET(fd, exceptfds)) { in poll()
Dopenbsd-compat.h323 # undef FD_ISSET
325 # define FD_ISSET(n, set) kludge_FD_ISSET(n, set) macro
/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/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/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/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/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c314 if (FD_ISSET(fd, &readfds)) in readfd_set_test()
346 if (!FD_ISSET(fd, &readfds)) in readfd_not_set_test()
380 if (FD_ISSET(fd, &writefds)) in writefd_set_test()
412 if (!FD_ISSET(fd, &writefds)) in writefd_not_set_test()
586 if (FD_ISSET(evfd, &readfds)) in overflow_select_test()
/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.c340 if (FD_ISSET(STDOUT_FILENO, &writefds)) { in main()
355 if (FD_ISSET(pty_master, &writefds)) { in main()
370 if (FD_ISSET(STDIN_FILENO, &readfds)) { in main()
385 if (FD_ISSET(pty_master, &readfds)) { in main()
/external/drm_hwcomposer/
Ddrmeventlistener.cpp127 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine()
135 if (FD_ISSET(uevent_fd_.get(), &fds_)) in Routine()
/external/ltp/testcases/kernel/syscalls/recv/
Drecv01.c208 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
286 if (FD_ISSET(sfd, &rfds)) { in do_child()
299 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
/external/dnsmasq/src/
Ddnsmasq.c577 if (FD_ISSET(piperead, &rset)) in main()
581 if (FD_ISSET(daemon->netlinkfd, &rset)) in main()
592 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) in main()
596 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) in main()
886 if (FD_ISSET(STDIN_FILENO, set)) { in check_android_listeners()
984 if (FD_ISSET(serverfdp->fd, set)) in check_dns_listeners()
990 FD_ISSET(daemon->randomsocks[i].fd, set)) in check_dns_listeners()
995 if (listener->fd != -1 && FD_ISSET(listener->fd, set)) in check_dns_listeners()
998 if (listener->tcpfd != -1 && FD_ISSET(listener->tcpfd, set)) in check_dns_listeners()
1200 if (FD_ISSET(fd, &rset) && in icmp_ping()
/external/libnl/src/
Dnf-queue.c141 if (FD_ISSET(nffd, &rfds)) in main()
143 if (FD_ISSET(rtfd, &rfds)) in main()
Dnf-log.c139 if (FD_ISSET(nffd, &rfds)) in main()
141 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/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c230 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
315 if (FD_ISSET(sfd, &rfds)) { in do_child()
328 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
/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/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c312 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
456 if (FD_ISSET(sfd, &rfds)) { in do_child()
468 if (FD_ISSET(ufd, &rfds)) { in do_child()
479 if (fd != sfd && fd != ufd && FD_ISSET(fd, &rfds)) { in do_child()
/external/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c103 if (FD_ISSET(s, &rdfs)) { in test_sockets()
118 if (FD_ISSET(t, &rdfs)) { in test_sockets()

12345