/third_party/ltp/testcases/kernel/syscalls/pselect/ |
D | pselect02.c | 19 static fd_set read_fds; variable 28 {128, &read_fds, NULL, EBADF}, 39 FD_ZERO(&read_fds); in setup() 40 FD_SET(fd, &read_fds); in setup()
|
/third_party/gn/src/gn/ |
D | exec_process.cc | 267 fd_set read_fds; 268 FD_ZERO(&read_fds); 269 FD_SET(out_read.get(), &read_fds); 270 FD_SET(err_read.get(), &read_fds); 273 &read_fds, nullptr, nullptr, nullptr)); 276 if (FD_ISSET(out_read.get(), &read_fds)) 278 if (FD_ISSET(err_read.get(), &read_fds))
|
/third_party/mbedtls/library/ |
D | net_sockets.c | 515 fd_set read_fds; local 530 memset(&read_fds, 0, sizeof(read_fds)); 535 FD_ZERO(&read_fds); 538 FD_SET(fd, &read_fds); 555 ret = select(fd + 1, &read_fds, &write_fds, NULL, 564 if (FD_ISSET(fd, &read_fds)) { 647 fd_set read_fds; local 655 FD_ZERO(&read_fds); 656 FD_SET(fd, &read_fds); 661 ret = select(fd + 1, &read_fds, NULL, NULL, timeout == 0 ? NULL : &tv);
|
/third_party/node/deps/cares/src/tools/ |
D | ahost.c | 60 fd_set read_fds, write_fds; in main() local 153 FD_ZERO(&read_fds); in main() 155 nfds = ares_fds(channel, &read_fds, &write_fds); in main() 159 res = select(nfds, &read_fds, &write_fds, NULL, tvp); in main() 162 ares_process(channel, &read_fds, &write_fds); in main()
|
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 nfds = select(nfds, &read_fds, &write_fds, NULL, tvp); in wait_ares() 217 ares_process(channel, &read_fds, &write_fds); in wait_ares()
|
D | adig.c | 166 fd_set read_fds, write_fds; in main() local 361 FD_ZERO(&read_fds); in main() 363 nfds = ares_fds(channel, &read_fds, &write_fds); in main() 367 count = select(nfds, &read_fds, &write_fds, NULL, tvp); in main() 373 ares_process(channel, &read_fds, &write_fds); in main()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_fds.c | 23 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_fds() argument 41 FD_SET(server->udp_socket, read_fds); in ares_fds() 51 FD_SET(server->tcp_socket, read_fds); in ares_fds()
|
D | ares_process.c | 61 static void read_tcp_data(ares_channel channel, fd_set *read_fds, 63 static void read_udp_packets(ares_channel channel, fd_set *read_fds, 119 fd_set *read_fds, ares_socket_t read_fd, in processfds() argument 125 read_tcp_data(channel, read_fds, read_fd, &now); in processfds() 126 read_udp_packets(channel, read_fds, read_fd, &now); in processfds() 134 void ares_process(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_process() argument 136 processfds(channel, read_fds, ARES_SOCKET_BAD, write_fds, ARES_SOCKET_BAD); in ares_process() 370 static void read_tcp_data(ares_channel channel, fd_set *read_fds, in read_tcp_data() argument 377 if(!read_fds && (read_fd == ARES_SOCKET_BAD)) in read_tcp_data() 388 if(read_fds) { in read_tcp_data() [all …]
|
/third_party/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()
|
/third_party/mbedtls/programs/test/ |
D | udp_proxy.c | 787 fd_set read_fds; in main() local 924 FD_ZERO(&read_fds); in main() 925 FD_SET(server_fd.fd, &read_fds); in main() 926 FD_SET(client_fd.fd, &read_fds); in main() 927 FD_SET(listen_fd.fd, &read_fds); in main() 929 if ((ret = select(nb_fds, &read_fds, NULL, NULL, tm_ptr)) < 0) { in main() 934 if (FD_ISSET(listen_fd.fd, &read_fds)) { in main() 938 if (FD_ISSET(client_fd.fd, &read_fds)) { in main() 945 if (FD_ISSET(server_fd.fd, &read_fds)) { in main()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 378 fd_set read_fds; in Communicate() local 380 FD_ZERO(&read_fds); in Communicate() 383 FD_SET(child_stdout_, &read_fds); in Communicate() 389 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { in Communicate() 416 if (child_stdout_ != -1 && FD_ISSET(child_stdout_, &read_fds)) { in Communicate()
|
/third_party/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 142 fd_set read_fds; in timed_read() local 144 FD_ZERO(&read_fds); in timed_read() 145 FD_SET(fd, &read_fds); in timed_read() 149 ret = select(fd + 1, &read_fds, 0, 0, &timeout); in timed_read()
|
/third_party/cares/ |
D | backport-CVE-2023-32067.patch | 14 @@ -470,7 +470,7 @@ static void read_udp_packets(ares_channel channel, fd_set *read_fds, 23 @@ -513,32 +513,41 @@ static void read_udp_packets(ares_channel channel, fd_set *read_fds,
|
/third_party/cares/include/ |
D | ares.h | 459 fd_set *read_fds, 471 fd_set *read_fds,
|
/third_party/node/deps/cares/include/ |
D | ares.h | 469 fd_set *read_fds, 481 fd_set *read_fds,
|
/third_party/python/Lib/test/ |
D | test_subprocess.py | 2561 read_fds = list(map(int, read_bytes.decode('ascii'))) 2567 self.assertEqual([to_fd], read_fds, msg)
|