/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ahost.c | 59 fd_set read_fds, write_fds; in main() local 148 FD_ZERO(&write_fds); in main() 149 nfds = ares_fds(channel, &read_fds, &write_fds); in main() 153 res = select(nfds, &read_fds, &write_fds, NULL, tvp); in main() 156 ares_process(channel, &read_fds, &write_fds); in main()
|
D | acountry.c | 194 fd_set read_fds, write_fds; in wait_ares() local 198 FD_ZERO(&write_fds); in wait_ares() 199 nfds = ares_fds(channel, &read_fds, &write_fds); in wait_ares() 203 nfds = select(nfds, &read_fds, &write_fds, NULL, tvp); in wait_ares() 206 ares_process(channel, &read_fds, &write_fds); in wait_ares()
|
D | ares_fds.c | 23 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_fds() argument 53 FD_SET(server->tcp_socket, write_fds); in ares_fds()
|
D | ares_process.c | 65 static void write_tcp_data(ares_channel channel, fd_set *write_fds, 125 fd_set *write_fds, ares_socket_t write_fd) in processfds() argument 129 write_tcp_data(channel, write_fds, write_fd, &now); in processfds() 139 void ares_process(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_process() argument 141 processfds(channel, read_fds, ARES_SOCKET_BAD, write_fds, ARES_SOCKET_BAD); in ares_process() 206 fd_set *write_fds, in write_tcp_data() argument 218 if(!write_fds && (write_fd == ARES_SOCKET_BAD)) in write_tcp_data() 231 if(write_fds) { in write_tcp_data() 232 if(!FD_ISSET(server->tcp_socket, write_fds)) in write_tcp_data() 240 if(write_fds) in write_tcp_data() [all …]
|
D | adig.c | 188 fd_set read_fds, write_fds; in main() local 371 FD_ZERO(&write_fds); in main() 372 nfds = ares_fds(channel, &read_fds, &write_fds); in main() 376 count = select(nfds, &read_fds, &write_fds, NULL, tvp); in main() 382 ares_process(channel, &read_fds, &write_fds); in main()
|
D | ares.h | 440 fd_set *write_fds); 452 fd_set *write_fds);
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 380 fd_set write_fds; in Communicate() local 382 FD_ZERO(&write_fds); in Communicate() 387 FD_SET(child_stdin_, &write_fds); in Communicate() 390 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { in Communicate() 399 if (child_stdin_ != -1 && FD_ISSET(child_stdin_, &write_fds)) { in Communicate()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 123 fd_set write_fds; in WaitForDataBlocking() local 127 FD_ZERO(&write_fds); in WaitForDataBlocking() 134 FD_SET(fd_, &write_fds); in WaitForDataBlocking() 142 int res = HANDLE_EINTR(select(fd_ + 1, &read_fds, &write_fds, &error_fds, in WaitForDataBlocking() 146 FD_ISSET(fd_, &write_fds)); in WaitForDataBlocking()
|
/external/rust/crates/quiche/deps/boringssl/src/tool/ |
D | transport_common.cc | 397 fd_set read_fds, write_fds; in Wait() local 399 FD_ZERO(&write_fds); in Wait() 401 FD_SET(sock_, &write_fds); in Wait() 406 if (select(sock_ + 1, &read_fds, &write_fds, NULL, NULL) <= 0) { in Wait() 411 if (FD_ISSET(STDIN_FILENO, &read_fds) || FD_ISSET(sock_, &write_fds)) { in Wait()
|
/external/boringssl/src/tool/ |
D | transport_common.cc | 402 fd_set read_fds, write_fds; in Wait() local 404 FD_ZERO(&write_fds); in Wait() 406 FD_SET(sock_, &write_fds); in Wait() 411 if (select(sock_ + 1, &read_fds, &write_fds, NULL, NULL) <= 0) { in Wait() 416 if (FD_ISSET(STDIN_FILENO, &read_fds) || FD_ISSET(sock_, &write_fds)) { in Wait()
|