Lines Matching refs:host
38 std::string host; member
50 parameters->host = StringPrintf("%d-%d-ipv6test.ds.metric.gstatic.com", rand(), rand()); in parseUrl()
51 parameters->hostname = parameters->host; in parseUrl()
62 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); in parseUrl()
63 const auto first_slash = parameters->host.find_first_of('/'); in parseUrl()
65 parameters->path = parameters->host.substr(first_slash); in parseUrl()
66 parameters->host.erase(first_slash); in parseUrl()
69 if (parameters->host.size() == 0) { in parseUrl()
74 if (parameters->host[0] == '[') { in parseUrl()
75 const auto closing_bracket = parameters->host.find_first_of(']'); in parseUrl()
80 parameters->hostname = parameters->host.substr(1, closing_bracket - 1); in parseUrl()
83 if (colon_port < parameters->host.size()) { in parseUrl()
84 if (parameters->host[colon_port] != ':') { in parseUrl()
88 parameters->port = parameters->host.substr(closing_bracket + 2); in parseUrl()
91 const auto first_colon = parameters->host.find_first_of(':'); in parseUrl()
93 parameters->port = parameters->host.substr(first_colon + 1); in parseUrl()
94 parameters->hostname = parameters->host.substr(0, first_colon); in parseUrl()
96 parameters->hostname = parameters->host; in parseUrl()
199 parameters.path.c_str(), parameters.host.c_str())); in doHttpQuery()