Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/tools/
Dahost.c60 fd_set read_fds, write_fds; in main() local
154 FD_ZERO(&write_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()
Dacountry.c204 fd_set read_fds, write_fds; in wait_ares() local
208 FD_ZERO(&write_fds); in wait_ares()
209 nfds = ares_fds(channel, &read_fds, &write_fds); in wait_ares()
213 nfds = select(nfds, &read_fds, &write_fds, NULL, tvp); in wait_ares()
216 ares_process(channel, &read_fds, &write_fds); in wait_ares()
Dadig.c166 fd_set read_fds, write_fds; in main() local
361 FD_ZERO(&write_fds); in main()
362 nfds = ares_fds(channel, &read_fds, &write_fds); in main()
366 count = select(nfds, &read_fds, &write_fds, NULL, tvp); in main()
372 ares_process(channel, &read_fds, &write_fds); in main()
/third_party/mbedtls/library/
Dnet_sockets.c503 fd_set write_fds; in mbedtls_net_poll() local
517 memset( &write_fds, 0, sizeof( write_fds ) ); in mbedtls_net_poll()
528 FD_ZERO( &write_fds ); in mbedtls_net_poll()
532 FD_SET( fd, &write_fds ); in mbedtls_net_poll()
543 ret = select( fd + 1, &read_fds, &write_fds, NULL, in mbedtls_net_poll()
554 if( FD_ISSET( fd, &write_fds ) ) in mbedtls_net_poll()
/third_party/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc379 fd_set write_fds; in Communicate() local
381 FD_ZERO(&write_fds); in Communicate()
386 FD_SET(child_stdin_, &write_fds); in Communicate()
389 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { in Communicate()
398 if (child_stdin_ != -1 && FD_ISSET(child_stdin_, &write_fds)) { in Communicate()
/third_party/node/deps/cares/src/lib/
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.c59 static void write_tcp_data(ares_channel channel, fd_set *write_fds,
120 fd_set *write_fds, ares_socket_t write_fd) in processfds() argument
124 write_tcp_data(channel, write_fds, write_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()
201 fd_set *write_fds, in write_tcp_data() argument
213 if(!write_fds && (write_fd == ARES_SOCKET_BAD)) in write_tcp_data()
226 if(write_fds) { in write_tcp_data()
227 if(!FD_ISSET(server->tcp_socket, write_fds)) in write_tcp_data()
235 if(write_fds) in write_tcp_data()
[all …]
/third_party/node/deps/cares/include/
Dares.h461 fd_set *write_fds);
473 fd_set *write_fds);