/external/dhcpcd-6.8.2/compat/ |
D | pselect.c | 42 fd_set read_fds; in pollts() local 46 FD_ZERO(&read_fds); in pollts() 50 FD_SET(fds[n].fd, &read_fds); in pollts() 56 r = pselect(maxfd + 1, &read_fds, NULL, NULL, ts, sigmask); in pollts() 60 FD_ISSET(fds[n].fd, &read_fds) ? POLLIN : 0; in pollts()
|
/external/ltp/testcases/kernel/syscalls/pselect/ |
D | pselect02.c | 37 static fd_set read_fds; variable 46 {128, &read_fds, NULL, EBADF}, 87 FD_ZERO(&read_fds); in setup() 88 FD_SET(fd, &read_fds); in setup()
|
/external/c-ares/ |
D | ahost.c | 69 fd_set read_fds, write_fds; in main() local 145 FD_ZERO(&read_fds); in main() 147 nfds = ares_fds(channel, &read_fds, &write_fds); in main() 151 select(nfds, &read_fds, &write_fds, NULL, tvp); in main() 152 ares_process(channel, &read_fds, &write_fds); in main()
|
D | ares_fds.c | 27 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_fds() argument 45 FD_SET(server->udp_socket, read_fds); in ares_fds() 55 FD_SET(server->tcp_socket, read_fds); in ares_fds()
|
D | ares_process.c | 76 static void read_tcp_data(ares_channel channel, fd_set *read_fds, 78 static void read_udp_packets(ares_channel channel, fd_set *read_fds, 145 fd_set *read_fds, ares_socket_t read_fd, in processfds() argument 151 read_tcp_data(channel, read_fds, read_fd, &now); in processfds() 152 read_udp_packets(channel, read_fds, read_fd, &now); in processfds() 160 void ares_process(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_process() argument 162 processfds(channel, read_fds, ARES_SOCKET_BAD, write_fds, ARES_SOCKET_BAD); in ares_process() 331 static void read_tcp_data(ares_channel channel, fd_set *read_fds, in read_tcp_data() argument 338 if(!read_fds && (read_fd == ARES_SOCKET_BAD)) in read_tcp_data() 349 if(read_fds) { in read_tcp_data() [all …]
|
D | acountry.c | 205 fd_set read_fds, write_fds; in wait_ares() local 208 FD_ZERO(&read_fds); in wait_ares() 210 nfds = ares_fds(channel, &read_fds, &write_fds); in wait_ares() 214 select(nfds, &read_fds, &write_fds, NULL, tvp); in wait_ares() 215 ares_process(channel, &read_fds, &write_fds); in wait_ares()
|
D | adig.c | 204 fd_set read_fds, write_fds; in main() local 386 FD_ZERO(&read_fds); in main() 388 nfds = ares_fds(channel, &read_fds, &write_fds); in main() 392 count = select(nfds, &read_fds, &write_fds, NULL, tvp); in main() 398 ares_process(channel, &read_fds, &write_fds); in main()
|
D | ares.h | 387 fd_set *read_fds, 399 fd_set *read_fds,
|
/external/libchrome/base/ |
D | sync_socket_posix.cc | 161 fd_set read_fds; in ReceiveWithTimeout() local 166 FD_ZERO(&read_fds); in ReceiveWithTimeout() 167 FD_SET(handle_, &read_fds); in ReceiveWithTimeout() 173 select(handle_ + 1, &read_fds, NULL, NULL, &timeout_struct); in ReceiveWithTimeout() 182 DCHECK(FD_ISSET(handle_, &read_fds)); in ReceiveWithTimeout()
|
/external/boringssl/src/tool/ |
D | transport_common.cc | 361 fd_set read_fds; in TransferData() local 362 FD_ZERO(&read_fds); in TransferData() 370 FD_SET(0, &read_fds); in TransferData() 372 FD_SET(sock, &read_fds); in TransferData() 374 int ret = select(sock + 1, &read_fds, NULL, NULL, NULL); in TransferData() 380 if (FD_ISSET(0, &read_fds)) { in TransferData() 389 FD_CLR(0, &read_fds); in TransferData() 421 if (FD_ISSET(sock, &read_fds)) { in TransferData()
|
D | client.cc | 183 fd_set read_fds; in WaitForSession() local 184 FD_ZERO(&read_fds); in WaitForSession() 191 FD_SET(sock, &read_fds); in WaitForSession() 192 int ret = select(sock + 1, &read_fds, NULL, NULL, NULL); in WaitForSession()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-udpserver.c | 198 fd_set read_fds; /* list of file descriptor for reading */ in main() local 339 FD_ZERO(&read_fds); in main() 340 FD_SET(sock_fd, &read_fds); in main() 351 active_fds = read_fds; in main()
|
D | ns-tcpserver.c | 384 fd_set read_fds; /* list of file descriptor for reading */ in handle_client() local 388 FD_ZERO(&read_fds); in handle_client() 389 FD_SET(info_p->listen_sd, &read_fds); in handle_client() 416 active_fds = read_fds; in handle_client()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 367 fd_set read_fds; 369 FD_ZERO(&read_fds); 372 FD_SET(child_stdout_, &read_fds); 378 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { 405 if (child_stdout_ != -1 && FD_ISSET(child_stdout_, &read_fds)) {
|
/external/iptables/libipq/ |
D | libipq.c | 140 fd_set read_fds; in ipq_netlink_recvfrom() local 151 FD_ZERO(&read_fds); in ipq_netlink_recvfrom() 152 FD_SET(h->fd, &read_fds); in ipq_netlink_recvfrom() 153 ret = select(h->fd+1, &read_fds, NULL, NULL, &tv); in ipq_netlink_recvfrom() 162 if (!FD_ISSET(h->fd, &read_fds)) { in ipq_netlink_recvfrom()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 127 fd_set read_fds; in WaitForDataBlocking() local 131 FD_ZERO(&read_fds); in WaitForDataBlocking() 136 FD_SET(fd_, &read_fds); in WaitForDataBlocking() 147 int res = HANDLE_EINTR(select(fd_ + 1, &read_fds, &write_fds, &error_fds, in WaitForDataBlocking() 150 *out_mode = stream_utils::MakeAccessMode(FD_ISSET(fd_, &read_fds), in WaitForDataBlocking()
|
/external/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 168 fd_set read_fds; in timed_read() local 170 FD_ZERO(&read_fds); in timed_read() 171 FD_SET(fd, &read_fds); in timed_read() 175 ret = select(fd + 1, &read_fds, 0, 0, &timeout); in timed_read()
|
/external/netperf/src/ |
D | netserver.c | 1214 fd_set read_fds, write_fds, except_fds; in accept_connections() local 1229 high_fd = set_fdset(listen_list,&read_fds); in accept_connections() 1236 &read_fds, in accept_connections() 1254 if (FD_ISSET(candidate,&read_fds)) { in accept_connections() 1256 FD_CLR(candidate,&read_fds); in accept_connections()
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | cmd_helper.py | 227 read_fds, _, _ = select.select([child_fd], [], [], poll_interval) 228 if child_fd in read_fds:
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper.py | 247 read_fds, _, _ = select.select( 249 if child_fd in read_fds:
|