/external/ltp/testcases/network/lib6/ |
asapi_03.c | 298 fd_set rfds, rfds_saved; local 314 memcpy(&rfds, &rfds_saved, sizeof(rfds)); 315 nfds = select(sr + 1, &rfds, 0, 0, &tv); 328 if (!FD_ISSET(sr, &rfds))
|
/external/toybox/toys/pending/ |
syslogd.c | 410 fd_set rfds; // fds for reading local 484 // Add opened socks to rfds for select() 485 FD_ZERO(&rfds); 486 for (tsd = TT.lsocks; tsd; tsd = tsd->next) FD_SET(tsd->sd, &rfds); 487 FD_SET(TT.sigfd[0], &rfds); 491 retval = select(TT.sigfd[0] + 1, &rfds, NULL, NULL, (TT.interval)?&tv:NULL); 496 else if (FD_ISSET(TT.sigfd[0], &rfds)) { /* May be a signal */ 526 if (FD_ISSET(sd, &rfds)) {
|
dhcp6.c | 542 fd_set rfds; local 588 if (TT.sock >= 0) FD_SET(TT.sock, &rfds); 590 if ((TT.retval = select(maxfd + 1, &rfds, NULL, NULL, &TT.tv)) < 0) { 620 } else if (FD_ISSET(TT.sock, &rfds)) {
|
dhcp.c | 1274 fd_set rfds; local [all...] |
dhcpd.c | 1615 fd_set rfds; local [all...] |
/external/wpa_supplicant_8/src/common/ |
wpa_ctrl.c | 493 fd_set rfds; local 550 FD_ZERO(&rfds); 551 FD_SET(ctrl->s, &rfds); 552 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 557 if (FD_ISSET(ctrl->s, &rfds)) { 632 fd_set rfds; local 635 FD_ZERO(&rfds); 636 FD_SET(ctrl->s, &rfds); 637 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); 638 return FD_ISSET(ctrl->s, &rfds); [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 68 fd_set rfds; local 72 FD_ZERO(&rfds); 73 FD_SET(drv->cmd_socket, &rfds); 76 res = select(drv->cmd_socket + 1, &rfds, NULL, NULL, &tv); 82 if (FD_ISSET(drv->cmd_socket, &rfds)) {
|
/system/core/trusty/libtrusty/tipc-test/ |
tipc_test.c | 455 fd_set rfds; local 464 FD_ZERO(&rfds); 465 FD_SET(fd, &rfds); 471 rc = select(fd+1, &rfds, NULL, NULL, &tv);
|
/external/libpcap/ |
pcap-rpcap.c | 215 fd_set rfds; /* set of socket descriptors we have to check */ local 229 FD_ZERO(&rfds); 235 FD_SET(md->rmt_sockdata, &rfds); 237 retval = select((int) md->rmt_sockdata + 1, &rfds, NULL, NULL, &tv); [all...] |
/external/libvncserver/libvncserver/ |
main.c | 516 fd_set rfds, wfds, efds; local 525 FD_ZERO(&rfds); 526 FD_SET(cl->sock, &rfds); 537 n = select(cl->sock + 1, &rfds, &wfds, &efds, &tv); 552 if (FD_ISSET(cl->sock, &rfds) || FD_ISSET(cl->sock, &efds))
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 1063 fd_set *rfds, *wfds, *efds; local 1076 rfds = os_malloc(sizeof(*rfds)); 1079 if (rfds == NULL || wfds == NULL || efds == NULL) 1131 eloop_sock_table_set_fds(&eloop.readers, rfds); 1134 res = select(eloop.max_sock + 1, rfds, wfds, efds, 1218 eloop_sock_table_dispatch(&eloop.readers, rfds); 1233 os_free(rfds); 1320 fd_set rfds; local 1325 FD_ZERO(&rfds); [all...] |
/external/autotest/client/profilers/powertop/src/ |
powertop.c | 851 fd_set rfds; local 860 FD_ZERO(&rfds); 861 FD_SET(0, &rfds); 868 key = select(1, &rfds, NULL, NULL, &tv); 1159 FD_ZERO(&rfds); 1160 FD_SET(0, &rfds); 1163 key = select(1, &rfds, NULL, NULL, &tv);
|
/external/syslinux/gpxe/src/drivers/net/ |
eepro100.h | 151 struct ifec_rfd *rfds[RFD_COUNT]; member in struct:ifec_private
|
/external/wpa_supplicant_8/hostapd/ |
hostapd_cli.c | 1883 fd_set rfds; local [all...] |
/external/stressapptest/src/ |
worker.cc | 2073 fd_set rfds; local [all...] |