Home
last modified time | relevance | path

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

123

/external/qemu/
Diolooper-select.c70 if (!FD_ISSET(fd, iol->reads) && !FD_ISSET(fd, iol->writes)) in iolooper_fd_count()
169 return FD_ISSET(fd, iol->reads_result); in iolooper_is_read()
175 return FD_ISSET(fd, iol->writes_result); in iolooper_is_write()
Daio.c176 FD_ISSET(node->fd, &rdfds) && in qemu_aio_wait()
181 FD_ISSET(node->fd, &wrfds) && in qemu_aio_wait()
/external/dropbear/
Dcommon-session.c171 if (FD_ISSET(ses.signal_pipe[0], &readfd)) { in session_loop()
181 if (FD_ISSET(ses.sock, &writefd) && !isempty(&ses.writequeue)) { in session_loop()
185 if (FD_ISSET(ses.sock, &readfd)) { in session_loop()
321 if (FD_ISSET(fd, &fds)) { in ident_readln()
Dsvr-main.c216 if (childpipes[i] >= 0 && FD_ISSET(childpipes[i], &fds)) { in main_noinetd()
234 if (!FD_ISSET(listensocks[i], &fds)) in main_noinetd()
Dcommon-channel.c206 if (channel->readfd >= 0 && FD_ISSET(channel->readfd, readfds)) { in channelio()
213 && FD_ISSET(channel->errfd, readfds)) { in channelio()
219 if (channel->writefd >= 0 && FD_ISSET(channel->writefd, writefds)) { in channelio()
231 && channel->errfd >= 0 && FD_ISSET(channel->errfd, writefds)) { in channelio()
/external/dnsmasq/src/
Ddnsmasq.c662 if (FD_ISSET(piperead, &rset)) in main()
666 if (FD_ISSET(daemon->netlinkfd, &rset)) in main()
694 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) in main()
698 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) in main()
987 if (FD_ISSET(STDIN_FILENO, set)) { in check_android_listeners()
1091 if (FD_ISSET(serverfdp->fd, set)) in check_dns_listeners()
1097 FD_ISSET(daemon->randomsocks[i].fd, set)) in check_dns_listeners()
1102 if (listener->fd != -1 && FD_ISSET(listener->fd, set)) in check_dns_listeners()
1106 if (listener->tftpfd != -1 && FD_ISSET(listener->tftpfd, set)) in check_dns_listeners()
1110 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/chromium/third_party/libevent/
Dselect.c124 if (FD_ISSET(i, sop->event_readset_in)) { in check_selectop()
131 if (FD_ISSET(i, sop->event_writeset_in)) { in check_selectop()
185 if (FD_ISSET(i, sop->event_readset_out)) { in select_dispatch()
189 if (FD_ISSET(i, sop->event_writeset_out)) { in select_dispatch()
/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/bluetooth/glib/glib/
Dgpoll.c413 if (FD_ISSET (f->fd, &rset)) in g_poll()
415 if (FD_ISSET (f->fd, &wset)) in g_poll()
417 if (FD_ISSET (f->fd, &xset)) in g_poll()
/external/quake/quake/src/QW/qwfwd/
Dqwfwd.c210 if(FD_ISSET(s, &rfds)) in main()
236 if(FD_ISSET(p->s, &rfds)) in main()
/external/dbus/tools/
Ddbus-launch.c444 FD_ISSET (x_fd, &read_set), in kill_bus_when_session_ends()
445 FD_ISSET (x_fd, &err_set)); in kill_bus_when_session_ends()
451 if (FD_ISSET (tty_fd, &read_set)) in kill_bus_when_session_ends()
475 else if (FD_ISSET (tty_fd, &err_set)) in kill_bus_when_session_ends()
/external/bluetooth/bluez/test/
Dhstest.c263 if (FD_ISSET(rd, &rfds)) { in main()
272 if (FD_ISSET(sd, &rfds)) { in main()
Dattest.c60 if (FD_ISSET(fd, &rfds)) { in at_command()
/external/ipsec-tools/
Dmain.c198 if (FD_ISSET(lcconf->sock_pfkey, &readset)) { in main()
202 if (FD_ISSET(p->sock, &readset)) { in main()
/external/qemu/proxy/
Dproxy_common.c406 if ( FD_ISSET(fd, sel->reads) ) in proxy_select_poll()
408 if ( FD_ISSET(fd, sel->writes) ) in proxy_select_poll()
410 if ( FD_ISSET(fd, sel->errors) ) in proxy_select_poll()
/external/qemu/telephony/
Dsysdeps_posix.c462 if(FD_ISSET(i, &rfd)) events |= SYS_EVENT_READ; in sys_single_loop()
463 if(FD_ISSET(i, &wfd)) events |= SYS_EVENT_WRITE; in sys_single_loop()
464 if(FD_ISSET(i, &efd)) events |= SYS_EVENT_ERROR; in sys_single_loop()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc380 if (child_stdin_ != -1 && FD_ISSET(child_stdin_, &write_fds)) {
398 if (child_stdout_ != -1 && FD_ISSET(child_stdout_, &read_fds)) {
/external/ppp/pppd/
Dtty.c1130 if (FD_ISSET(ifd, &ready)) {
1154 if (FD_ISSET(pty_master, &ready)) {
1182 if (FD_ISSET(ofd, &writey)) {
1201 if (FD_ISSET(pty_master, &writey)) {
/external/openssl/apps/
Ds_apps.h143 #define FD_ISSET(n, p) (*(p) & (1 << ((n) % NFDBITS))) macro
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch69 if (FD_ISSET(piperead, &rset))
74 if (FD_ISSET(daemon->netlinkfd, &rset))
78 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset))
83 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset))
/external/wpa_supplicant/
Dwpa_ctrl.c307 if (FD_ISSET(ctrl->s, &rfds)) { in wpa_ctrl_request()
388 return FD_ISSET(ctrl->s, &rfds); in wpa_ctrl_pending()
/external/qemu/slirp/
Dslirp.c440 if (FD_ISSET(so->s, xfds)) in slirp_select_poll()
445 else if (FD_ISSET(so->s, readfds)) { in slirp_select_poll()
463 if (FD_ISSET(so->s, writefds)) { in slirp_select_poll()
542 if (so->s != -1 && FD_ISSET(so->s, readfds)) { in slirp_select_poll()
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dwpa_ctrl.c335 if (FD_ISSET(ctrl->s, &rfds)) { in wpa_ctrl_request()
416 return FD_ISSET(ctrl->s, &rfds); in wpa_ctrl_pending()
/external/quake/quake/src/QW/server/
Dsys_unix.c269 stdin_ready = FD_ISSET(0, &fdset); in main()

123