Home
last modified time | relevance | path

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

/system/connectivity/shill/
Dhttp_url.cc63 size_t host_end = url_string.find_first_of(kDelimiters, host_start); in ParseFromString() local
64 if (host_end == string::npos) { in ParseFromString()
65 host_end = url_string.length(); in ParseFromString()
68 url_string.substr(host_start, host_end - host_start), in ParseFromString()
82 path_ = url_string.substr(host_end); in ParseFromString()
Dhttp_proxy.cc439 size_t host_end = in ReadClientHostname() local
441 if (host_end != string::npos) { in ReadClientHostname()
443 host_end - host_start); in ReadClientHostname()
445 header->erase(url_idx, host_end - url_idx); in ReadClientHostname()