Home | History | Annotate | Download | only in autocomplete

Lines Matching full:parts

121     url_parse::Parsed* parts,
139 if (!parts)
140 parts = &local_parts;
141 const string16 parsed_scheme(URLFixerUpper::SegmentURL(text, parts));
152 // |parts->scheme| might be empty, e.g. if the user typed "C:\foo".
162 if (parts->scheme.is_nonempty() &&
212 // Manually re-jigger the parsed parts to match |text| (without the
229 *parts = http_parts;
254 if (!parts->host.is_nonempty())
259 const string16 host(text.substr(parts->host.begin, parts->host.len));
308 return (parts->scheme.is_nonempty() ||
319 if (parts->port.is_nonempty()) {
321 if (!base::StringToInt(text.substr(parts->port.begin, parts->port.len),
330 if (parts->scheme.is_nonempty())
350 if (parts->port.is_nonempty())
357 if (parts->password.is_nonempty())
361 if (parts->path.is_nonempty()) {
370 (text.substr(parts->path.begin, parts->path.len).find(' ') !=
378 if (parts->username.is_nonempty())
411 url_parse::Parsed parts;
413 Parse(text, desired_tld, &parts, &scheme_str, NULL);
415 *scheme = parts.scheme;
416 *host = parts.host;
418 int after_scheme_and_colon = parts.scheme.end() + 1;