Home
last modified time | relevance | path

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

/external/chromium_org/net/base/
Dnet_util.cc353 url::Component hostname_component; in ParseHostAndPort() local
357 &password_component, &hostname_component, &port_component); in ParseHostAndPort()
363 if (!hostname_component.is_nonempty()) in ParseHostAndPort()
383 if (hostname_component.len > 0 && in ParseHostAndPort()
384 auth_begin[hostname_component.begin] == '[') { in ParseHostAndPort()
385 if (auth_begin[hostname_component.end() - 1] == ']' && in ParseHostAndPort()
387 auth_begin, hostname_component, tmp_ipv6_addr)) { in ParseHostAndPort()
389 hostname_component.begin++; in ParseHostAndPort()
390 hostname_component.len -= 2; in ParseHostAndPort()
397 host->assign(auth_begin + hostname_component.begin, hostname_component.len); in ParseHostAndPort()