/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/openssh/openbsd-compat/ |
D | bsd-poll.c | 47 fd_set *readfds = NULL, *writefds = NULL, *exceptfds = NULL; in poll() local 61 if ((readfds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll() 75 FD_SET(fd, readfds); in poll() 91 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp); in poll() 100 if (FD_ISSET(fd, readfds)) { in poll() 112 free(readfds); in poll()
|
/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/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/ |
D | nettest_sctp.c | 800 fd_set readfds; local 802 FD_ZERO(&readfds); 803 FD_SET(send_socket, &readfds); 804 select(send_socket+1, &readfds, NULL, NULL, NULL); 1088 fd_set readfds; in recv_sctp_stream() local 1097 FD_ZERO(&readfds); in recv_sctp_stream() 1394 FD_SET(s_data,&readfds); in recv_sctp_stream() 1395 select(s_data+1,&readfds,NULL,NULL,&timeout); in recv_sctp_stream() 1962 fd_set readfds; local 1964 FD_ZERO(&readfds); [all …]
|
D | netlib.c | 1888 fd_set readfds; in shutdown_control() local 1914 FD_ZERO(&readfds); in shutdown_control() 1915 FD_SET(netlib_control,&readfds); in shutdown_control() 1922 &readfds, in shutdown_control() 2358 fd_set readfds; in recv_response_timed() local 2375 FD_ZERO(&readfds); in recv_response_timed() 2376 FD_SET(netlib_control,&readfds); in recv_response_timed() 2390 &readfds, in recv_response_timed()
|
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 | 4246 fd_set readfds; in recv_tcp_stream() local 4255 FD_ZERO(&readfds); in recv_tcp_stream() 4499 FD_SET(s_data,&readfds); in recv_tcp_stream() 4500 select(s_data+1,&readfds,NULL,NULL,&timeout); in recv_tcp_stream()
|
/external/libpcap/ |
D | pcap-sita.c | 78 static fd_set readfds; /* a place to store the file descriptors for the connections to the IOPs… variable 729 if (FD_ISSET(fd, &readfds)) flag = 1; /* and see if there are any still set */ 733 …memcpy(&working_set, &readfds, sizeof(readfds)); /* otherwise, we still have to listen for more… 744 FD_CLR(fd, &readfds); /* and descriptors we listen to for errors */ 775 FD_ZERO(&readfds); 787 FD_SET(u->find_fd, &readfds); /* we are going to want to read this guy's response to */
|
/external/v8/src/ |
D | d8-posix.cc | 86 fd_set readfds, writefds, exceptfds; in WaitOnFD() local 96 FD_ZERO(&readfds); in WaitOnFD() 99 FD_SET(fd, &readfds); in WaitOnFD() 112 &readfds, in WaitOnFD()
|
/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/compiler-rt/lib/dfsan/ |
D | dfsan_custom.cc | 662 int __dfsw_select(int nfds, fd_set *readfds, fd_set *writefds, in __dfsw_select() argument 667 int ret = select(nfds, readfds, writefds, exceptfds, timeout); in __dfsw_select() 670 if (readfds) { in __dfsw_select() 671 dfsan_set_label(0, readfds, sizeof(fd_set)); in __dfsw_select()
|
/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/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 | 4068 int, n, vki_fd_set *, readfds, vki_fd_set *, writefds, in PRE()
|
D | syswrap-linux.c | 1276 int, n, vki_fd_set *, readfds, vki_fd_set *, writefds, in PRE()
|