Home
last modified time | relevance | path

Searched refs:host_start (Results 1 – 2 of 2) sorted by relevance

/system/connectivity/shill/
Dhttp_url.cc46 size_t host_start = 0; in ParseFromString() local
51 host_start = http_url_prefix.length(); in ParseFromString()
56 host_start = https_url_prefix.length(); in ParseFromString()
63 size_t host_end = url_string.find_first_of(kDelimiters, host_start); in ParseFromString()
68 url_string.substr(host_start, host_end - host_start), in ParseFromString()
Dhttp_proxy.cc438 size_t host_start = url_idx + http_url_prefix.length(); in ReadClientHostname() local
440 header->find_first_of(kHTTPURLDelimiters, host_start); in ReadClientHostname()
442 server_hostname_ = header->substr(host_start, in ReadClientHostname()
443 host_end - host_start); in ReadClientHostname()