Home
last modified time | relevance | path

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

/third_party/glib/tests/
Dtimeloop-basic.c20 static int write_fds[1024]; variable
140 write_fds[pos] = in_fds[1]; in create_child()
198 if (!input_callback (poll_fds[i].fd, write_fds[i])) in main()
199 write_fds[i] = -1; in main()
208 if (write_fds[i] != -1) in main()
213 write_fds[j] = write_fds[i]; in main()
/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.c490 fd_set write_fds; in mbedtls_net_poll() local
504 memset( &write_fds, 0, sizeof( write_fds ) ); in mbedtls_net_poll()
515 FD_ZERO( &write_fds ); in mbedtls_net_poll()
519 FD_SET( fd, &write_fds ); in mbedtls_net_poll()
530 ret = select( fd + 1, &read_fds, &write_fds, NULL, in mbedtls_net_poll()
541 if( FD_ISSET( fd, &write_fds ) ) in mbedtls_net_poll()
/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/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/include/
Dares.h461 fd_set *write_fds);
473 fd_set *write_fds);
/third_party/boost/boost/asio/detail/impl/
Dsocket_ops.ipp561 fd_set write_fds;
562 FD_ZERO(&write_fds);
563 FD_SET(s, &write_fds);
570 int ready = ::select(s + 1, 0, &write_fds, &except_fds, &zero_timeout);
2370 fd_set write_fds;
2371 FD_ZERO(&write_fds);
2372 FD_SET(s, &write_fds);
2386 int result = ::select(s + 1, 0, &write_fds, &except_fds, timeout);
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dsocket_ops.ipp561 fd_set write_fds;
562 FD_ZERO(&write_fds);
563 FD_SET(s, &write_fds);
570 int ready = ::select(s + 1, 0, &write_fds, &except_fds, &zero_timeout);
2370 fd_set write_fds;
2371 FD_ZERO(&write_fds);
2372 FD_SET(s, &write_fds);
2386 int result = ::select(s + 1, 0, &write_fds, &except_fds, timeout);