Searched refs:srvr (Results 1 – 3 of 3) sorted by relevance
/external/c-ares/ |
D | ares_options.c | 90 struct ares_addr_node *srvr; in ares_set_servers() local 102 for (srvr = servers; srvr; srvr = srvr->next) in ares_set_servers() 117 for (i = 0, srvr = servers; srvr; i++, srvr = srvr->next) in ares_set_servers() 119 channel->servers[i].addr.family = srvr->family; in ares_set_servers() 120 if (srvr->family == AF_INET) in ares_set_servers() 121 memcpy(&channel->servers[i].addr.addrV4, &srvr->addrV4, in ares_set_servers() 122 sizeof(srvr->addrV4)); in ares_set_servers() 124 memcpy(&channel->servers[i].addr.addrV6, &srvr->addrV6, in ares_set_servers() 125 sizeof(srvr->addrV6)); in ares_set_servers()
|
D | adig.c | 206 struct ares_addr_node *srvr, *servers = NULL; in main() local 249 srvr = malloc(sizeof(struct ares_addr_node)); in main() 250 if (!srvr) in main() 256 append_addr_list(&servers, srvr); in main() 257 if (ares_inet_pton(AF_INET, optarg, &srvr->addr.addr4) > 0) in main() 258 srvr->family = AF_INET; in main() 259 else if (ares_inet_pton(AF_INET6, optarg, &srvr->addr.addr6) > 0) in main() 260 srvr->family = AF_INET6; in main() 273 srvr->family = AF_INET; in main() 274 memcpy(&srvr->addr.addr4, hostent->h_addr, in main() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 1510 srvr = manager.get_server() 1511 addr = srvr.address 1514 srvr.listener.close()
|