Lines Matching refs:hosts
62 std::vector<std::string> hosts; in ToStrings() local
64 hosts.push_back("<null>"); in ToStrings()
65 return hosts; in ToStrings()
71 hosts.push_back("<invalid>"); in ToStrings()
72 return hosts; in ToStrings()
74 hosts.push_back(host); in ToStrings()
78 if (hosts.empty()) hosts.push_back("<invalid>"); in ToStrings()
79 return hosts; in ToStrings()
83 std::vector<std::string> hosts; in ToStrings() local
85 hosts.push_back("<null>"); in ToStrings()
86 return hosts; in ToStrings()
94 hosts.clear(); in ToStrings()
95 hosts.push_back(gai_strerror(rv)); in ToStrings()
96 return hosts; in ToStrings()
98 hosts.push_back(host); in ToStrings()
101 if (hosts.empty()) hosts.push_back("<invalid>"); in ToStrings()
102 return hosts; in ToStrings()