Home
last modified time | relevance | path

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

12345

/external/curl/lib/
Dselect.c355 if(FD_ISSET(readfd0, &fds_read)) in Curl_socket_check()
357 if(FD_ISSET(readfd0, &fds_err)) in Curl_socket_check()
361 if(FD_ISSET(readfd1, &fds_read)) in Curl_socket_check()
363 if(FD_ISSET(readfd1, &fds_err)) in Curl_socket_check()
367 if(FD_ISSET(writefd, &fds_write)) in Curl_socket_check()
369 if(FD_ISSET(writefd, &fds_err)) in Curl_socket_check()
552 if(FD_ISSET(ufds[i].fd, &fds_read)) in Curl_poll()
554 if(FD_ISSET(ufds[i].fd, &fds_write)) in Curl_poll()
556 if(FD_ISSET(ufds[i].fd, &fds_err)) in Curl_poll()
Dwarnless.h98 # undef FD_ISSET
99 # define FD_ISSET(a,b) curlx_FD_ISSET((a),(b)) macro
/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
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/skqp/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/curl/tests/server/
Dsockfilt.c748 if(FD_ISSET(fds, readfds)) in select_ws()
751 if(FD_ISSET(fds, writefds)) in select_ws()
754 if(FD_ISSET(fds, exceptfds)) in select_ws()
862 if(FD_ISSET(sock, readfds) || FD_ISSET(sock, writefds) || in select_ws()
863 FD_ISSET(sock, exceptfds)) { in select_ws()
876 if(FD_ISSET(fds, readfds)) in select_ws()
879 if(FD_ISSET(fds, writefds)) in select_ws()
882 if(FD_ISSET(fds, exceptfds)) in select_ws()
1033 if(FD_ISSET(fileno(stdin), &fds_read)) { in juggle()
1133 if((sockfd != CURL_SOCKET_BAD) && (FD_ISSET(sockfd, &fds_read)) ) { in juggle()
[all …]
/external/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c313 if (FD_ISSET(fd, &readfds)) in readfd_set_test()
345 if (!FD_ISSET(fd, &readfds)) in readfd_not_set_test()
379 if (FD_ISSET(fd, &writefds)) in writefd_set_test()
411 if (!FD_ISSET(fd, &writefds)) in writefd_not_set_test()
585 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.c366 if (FD_ISSET(STDOUT_FILENO, &writefds)) { in main()
381 if (FD_ISSET(pty_master, &writefds)) { in main()
396 if (FD_ISSET(STDIN_FILENO, &readfds)) { in main()
411 if (FD_ISSET(pty_master, &readfds)) { in main()
/external/dnsmasq/src/
Ddnsmasq.c543 if (FD_ISSET(piperead, &rset)) async_event(piperead, now); in main()
546 if (FD_ISSET(daemon->netlinkfd, &rset)) netlink_multicast(); in main()
556 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) dhcp_packet(now); in main()
559 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) helper_write(); in main()
805 if (FD_ISSET(STDIN_FILENO, set)) { in check_android_listeners()
895 if (FD_ISSET(serverfdp->fd, set)) in check_dns_listeners()
900 if (daemon->randomsocks[i].refcount != 0 && FD_ISSET(daemon->randomsocks[i].fd, set)) in check_dns_listeners()
904 if (listener->fd != -1 && FD_ISSET(listener->fd, set)) receive_query(listener, now); in check_dns_listeners()
906 if (listener->tcpfd != -1 && FD_ISSET(listener->tcpfd, set)) { in check_dns_listeners()
1082 if (FD_ISSET(fd, &rset) && in icmp_ping()
/external/ltp/testcases/kernel/syscalls/recv/
Drecv01.c208 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
285 if (FD_ISSET(sfd, &rfds)) { in do_child()
298 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
/external/drm_hwcomposer/
Ddrmeventlistener.cpp127 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine()
135 if (FD_ISSET(uevent_fd_.get(), &fds_)) in Routine()
/external/grpc-grpc/third_party/cares/config_android/
Dares_config.h441 #undef FD_ISSET
456 #define FD_ISSET(d, set) \ macro
/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()
314 if (FD_ISSET(sfd, &rfds)) { in do_child()
327 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
/external/libnl/src/
Dnf-log.c139 if (FD_ISSET(nffd, &rfds)) in main()
141 if (FD_ISSET(rtfd, &rfds)) in main()
Dnf-queue.c141 if (FD_ISSET(nffd, &rfds)) in main()
143 if (FD_ISSET(rtfd, &rfds)) in main()
/external/grpc-grpc/third_party/cares/config_linux/
Dares_config.h441 #undef FD_ISSET
456 #define FD_ISSET(d, set) \ macro
/external/libdaemon/libdaemon/
Ddexec.c157 if (FD_ISSET(p[0], &qfds)) { in daemon_execv()
177 if (FD_ISSET(sigfd, &qfds)) { in daemon_execv()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c310 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
451 if (FD_ISSET(sfd, &rfds)) { in do_child()
463 if (FD_ISSET(ufd, &rfds)) { in do_child()
474 if (fd != sfd && fd != ufd && FD_ISSET(fd, &rfds)) { in do_child()
/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/network/can/filter-tests/
Dcan_rcv_own_msgs.c102 if (FD_ISSET(s, &rdfs)) { in test_sockets()
117 if (FD_ISSET(t, &rdfs)) { in test_sockets()
/external/virglrenderer/vtest/
Dutil.c42 if (FD_ISSET(fd, &read_fds)) { in vtest_wait_for_fd_read()

12345