/external/mdnsresponder/mDNSPosix/ |
D | ExampleClientApp.c | 52 fd_set readfds; in ExampleClientEventLoop() local 59 FD_ZERO(&readfds); in ExampleClientEventLoop() 68 mDNSPosixGetFDSet(m, &nfds, &readfds, &timeout); in ExampleClientEventLoop() 72 result = select(nfds, &readfds, NULL, NULL, &timeout); in ExampleClientEventLoop() 82 mDNSPosixProcessFDSet(m, &readfds); in ExampleClientEventLoop()
|
D | mDNSPosix.h | 73 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout); 74 extern void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds);
|
D | mDNSPosix.c | 1443 mDNSlocal void mDNSPosixAddToFDSet(int *nfds, fd_set *readfds, int s) in mDNSPosixAddToFDSet() argument 1446 FD_SET(s, readfds); in mDNSPosixAddToFDSet() 1449 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout) in mDNSPosixGetFDSet() argument 1459 if (m->p->unicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket4); in mDNSPosixGetFDSet() 1461 if (m->p->unicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, m->p->unicastSocket6); in mDNSPosixGetFDSet() 1465 if (info->multicastSocket4 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket4); in mDNSPosixGetFDSet() 1467 if (info->multicastSocket6 != -1) mDNSPosixAddToFDSet(nfds, readfds, info->multicastSocket6); in mDNSPosixGetFDSet() 1484 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds) in mDNSPosixProcessFDSet() argument 1488 assert(readfds != NULL); in mDNSPosixProcessFDSet() 1491 if (m->p->unicastSocket4 != -1 && FD_ISSET(m->p->unicastSocket4, readfds)) in mDNSPosixProcessFDSet() [all …]
|
D | Identify.c | 188 fd_set readfds; in WaitForAnswer() local 192 FD_ZERO(&readfds); in WaitForAnswer() 202 mDNSPosixGetFDSet(m, &nfds, &readfds, &remain); in WaitForAnswer() 203 result = select(nfds, &readfds, NULL, NULL, &remain); in WaitForAnswer() 204 if (result >= 0) mDNSPosixProcessFDSet(m, &readfds); in WaitForAnswer()
|
D | Responder.c | 716 fd_set readfds; in main() local 723 FD_ZERO(&readfds); in main() 732 mDNSPosixGetFDSet(&mDNSStorage, &nfds, &readfds, &timeout); in main() 736 result = select(nfds, &readfds, NULL, NULL, &timeout); in main() 769 mDNSPosixProcessFDSet(&mDNSStorage, &readfds); in main()
|
D | nss_mdns.c | 1004 fd_set readfds; in handle_events() local 1010 FD_ZERO(&readfds); in handle_events() 1011 FD_SET(dns_sd_fd, &readfds); in handle_events() 1016 select (nfds, &readfds, (fd_set*)NULL, (fd_set*)NULL, &tv); in handle_events() 1019 if (FD_ISSET(dns_sd_fd, &readfds)) in handle_events()
|
/external/selinux/policycoreutils/run_init/ |
D | open_init_pty.c | 207 fd_set readfds; in main() local 296 FD_ZERO(&readfds); in main() 300 FD_SET(pty_master, &readfds); in main() 310 FD_SET(STDIN_FILENO, &readfds); in main() 330 int select_rc = select(pty_master + 1, &readfds, &writefds, NULL, NULL); in main() 369 if (FD_ISSET(STDIN_FILENO, &readfds)) { in main() 384 if (FD_ISSET(pty_master, &readfds)) { in main()
|
/external/autotest/client/tests/rtc/src/ |
D | rtctest.c | 94 fd_set readfds; in main() local 96 FD_ZERO(&readfds); in main() 97 FD_SET(fd, &readfds); in main() 99 retval = select(fd+1, &readfds, NULL, NULL, &tv); in main()
|
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 199 fd_set readfds; in rc_send_server() local 301 FD_ZERO (&readfds); in rc_send_server() 302 FD_SET (sockfd, &readfds); in rc_send_server() 303 if (select (sockfd + 1, &readfds, NULL, NULL, &authtime) < 0) in rc_send_server() 312 if (FD_ISSET (sockfd, &readfds)) in rc_send_server()
|
/external/netperf/src/ |
D | nettest_sctp.c | 788 fd_set readfds; in send_sctp_stream() local 790 FD_ZERO(&readfds); in send_sctp_stream() 791 FD_SET(send_socket, &readfds); in send_sctp_stream() 792 select(send_socket+1, &readfds, NULL, NULL, NULL); in send_sctp_stream() 1076 fd_set readfds; in recv_sctp_stream() local 1085 FD_ZERO(&readfds); in recv_sctp_stream() 1382 FD_SET(s_data,&readfds); in recv_sctp_stream() 1383 select(s_data+1,&readfds,NULL,NULL,&timeout); in recv_sctp_stream() 1945 fd_set readfds; in send_sctp_stream_1toMany() local 1947 FD_ZERO(&readfds); in send_sctp_stream_1toMany() [all …]
|
D | netlib.c | 2217 fd_set readfds; in shutdown_control() local 2243 FD_ZERO(&readfds); in shutdown_control() 2244 FD_SET(netlib_control,&readfds); in shutdown_control() 2251 &readfds, in shutdown_control() 2665 fd_set readfds; in recv_request_timed_n() local 2692 FD_ZERO(&readfds); in recv_request_timed_n() 2693 FD_SET(server_sock,&readfds); in recv_request_timed_n() 2695 &readfds, in recv_request_timed_n() 2822 fd_set readfds; in recv_response_timed_n() local 2855 FD_ZERO(&readfds); in recv_response_timed_n() [all …]
|
D | nettest_sdp.c | 1586 fd_set readfds; in recv_sdp_stream() local 1595 FD_ZERO(&readfds); in recv_sdp_stream() 1841 FD_SET(s_data,&readfds); in recv_sdp_stream() 1842 select(s_data+1,&readfds,NULL,NULL,&timeout); in recv_sdp_stream()
|
D | nettest_bsd.c | 4902 fd_set readfds; in recv_tcp_stream() local 4911 FD_ZERO(&readfds); in recv_tcp_stream() 5172 FD_SET(s_data,&readfds); in recv_tcp_stream() 5173 select(s_data+1,&readfds,NULL,NULL,&timeout); in recv_tcp_stream()
|
/external/libpcap/ |
D | pcap-sita.c | 76 static fd_set readfds; /* a place to store the file descriptors for the connections to the IOPs… variable 727 if (FD_ISSET(fd, &readfds)) flag = 1; /* and see if there are any still set */ 731 …memcpy(&working_set, &readfds, sizeof(readfds)); /* otherwise, we still have to listen for more… 742 FD_CLR(fd, &readfds); /* and descriptors we listen to for errors */ 773 FD_ZERO(&readfds); 785 FD_SET(u->find_fd, &readfds); /* we are going to want to read this guy's response to */
|
/external/curl/tests/server/ |
D | sockfilt.c | 675 static int select_ws(int nfds, fd_set *readfds, fd_set *writefds, in select_ws() argument 733 if(FD_ISSET(fds, readfds)) in select_ws() 814 FD_CLR(sock, readfds); in select_ws() 824 FD_CLR(sock, readfds); in select_ws() 846 if(FD_ISSET(sock, readfds) || FD_ISSET(sock, writefds) || in select_ws() 853 FD_CLR(sock, readfds); in select_ws()
|
/external/fio/os/windows/ |
D | posix.c | 740 fd_set readfds, writefds, exceptfds; in poll() local 750 FD_ZERO(&readfds); in poll() 762 FD_SET(fds[i].fd, &readfds); in poll() 769 rc = select(nfds, &readfds, &writefds, &exceptfds, to); in poll() 778 if ((fds[i].events & POLLIN) && FD_ISSET(fds[i].fd, &readfds)) in poll()
|
/external/mdnsresponder/Clients/ |
D | dns-sd.c | 852 fd_set readfds; 863 FD_ZERO(&readfds); 866 if (client ) FD_SET(dns_sd_fd , &readfds); 867 if (client_pa) FD_SET(dns_sd_fd2, &readfds); 873 result = select(nfds, &readfds, (fd_set*)NULL, (fd_set*)NULL, &tv); 877 if (client && FD_ISSET(dns_sd_fd , &readfds)) err = DNSServiceProcessResult(client ); 878 else if (client_pa && FD_ISSET(dns_sd_fd2, &readfds)) err = DNSServiceProcessResult(client_pa);
|
/external/v8/src/ |
D | d8-posix.cc | 86 fd_set readfds, writefds, exceptfds; in WaitOnFD() local 97 FD_ZERO(&readfds); in WaitOnFD() 100 FD_SET(fd, &readfds); in WaitOnFD() 113 &readfds, in WaitOnFD()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 691 int __dfsw_select(int nfds, fd_set *readfds, fd_set *writefds, in __dfsw_select() argument 696 int ret = select(nfds, readfds, writefds, exceptfds, timeout); in __dfsw_select() 699 if (readfds) { in __dfsw_select() 700 dfsan_set_label(0, readfds, sizeof(fd_set)); in __dfsw_select()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | socket_ops.hpp | 206 ASIO_DECL int select(int nfds, fd_set* readfds, fd_set* writefds,
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 252 fd_set readfds; in more_bytes() local 258 fs = &readfds; in more_bytes() 274 if (fs != &readfds) free(fs); in more_bytes()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | socket_ops.ipp | 1258 int select(int nfds, fd_set* readfds, fd_set* writefds, 1267 return error_wrapper(::pselect(nfds, readfds, 1270 int result = error_wrapper(::select(nfds, readfds,
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | scalar.stderr.exp | 896 Syscall param old_select(readfds) points to unaddressable byte(s) 1649 Syscall param select(readfds) contains uninitialised byte(s) 1665 Syscall param select(readfds) points to unaddressable byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-generic.c | 4241 int, n, vki_fd_set *, readfds, vki_fd_set *, writefds, in PRE()
|
D | syswrap-linux.c | 1277 int, n, vki_fd_set *, readfds, vki_fd_set *, writefds, in PRE()
|