Home
last modified time | relevance | path

Searched refs:write_fds (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dahost.c59 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()
Dacountry.c194 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()
Dares_fds.c23 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()
Dares_process.c65 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 …]
Dadig.c188 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()
Dares.h440 fd_set *write_fds);
452 fd_set *write_fds);
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc380 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/
Dfile_stream.cc123 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/
Dtransport_common.cc397 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/
Dtransport_common.cc402 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()