Lines Matching refs:host_str
52 std::string &host_str,
61 if (regex_match.GetMatchAtIndex (host_and_port, 1, host_str) &&
73 host_str.clear();
1271 std::string host_str;
1274 if (!DecodeHostAndPort (host_and_port, host_str, port_str, port, error_ptr))
1296 int inet_pton_result = ::inet_pton (AF_INET, host_str.c_str(), &sa.sin_addr);
1300 struct hostent *host_entry = gethostbyname (host_str.c_str());
1302 host_str = ::inet_ntoa (*(struct in_addr *)*host_entry->h_addr_list);
1303 inet_pton_result = ::inet_pton (AF_INET, host_str.c_str(), &sa.sin_addr);
1312 error_ptr->SetErrorStringWithFormat("invalid host string: '%s'", host_str.c_str());
1346 std::string host_str;
1349 if (!DecodeHostAndPort (host_and_port, host_str, port_str, port, error_ptr))
1388 int err = ::getaddrinfo (host_str.c_str(), port_str.c_str(), &hints, &service_info_list);
1393 host_str.c_str(),