Lines Matching refs:res0
1488 struct addrinfo *res0, *res; in _gethtent() local
1520 error = getaddrinfo_numeric(addr, nullptr, *pai, &res0); in _gethtent()
1522 for (res = res0; res; res = res->ai_next) { in _gethtent()
1528 freeaddrinfo(res0); in _gethtent()
1533 return res0; in _gethtent()
1539 struct addrinfo *res0, *res; in getCustomHosts() local
1543 int error = getaddrinfo_numeric(host.c_str(), nullptr, *pai, &res0); in getCustomHosts()
1544 if (!error && res0 != nullptr) { in getCustomHosts()
1545 res->ai_next = res0; in getCustomHosts()
1546 res = res0; in getCustomHosts()
1547 res0 = nullptr; in getCustomHosts()