Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_options.c147 int num_srvrs = 0; in ares_set_servers() local
163 num_srvrs++; in ares_set_servers()
166 if (num_srvrs > 0) in ares_set_servers()
169 channel->servers = ares_malloc(num_srvrs * sizeof(struct server_state)); in ares_set_servers()
174 channel->nservers = num_srvrs; in ares_set_servers()
199 int num_srvrs = 0; in ares_set_servers_ports() local
215 num_srvrs++; in ares_set_servers_ports()
218 if (num_srvrs > 0) in ares_set_servers_ports()
221 channel->servers = ares_malloc(num_srvrs * sizeof(struct server_state)); in ares_set_servers_ports()
226 channel->nservers = num_srvrs; in ares_set_servers_ports()