Home
last modified time | relevance | path

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

/external/chromium/googleurl/src/
Durl_parse_file.cc77 int after_slashes, in DoParseUNC() argument
80 int next_slash = FindNextSlash(spec, after_slashes, spec_len); in DoParseUNC()
84 int host_len = spec_len - after_slashes; in DoParseUNC()
86 parsed->host = Component(after_slashes, host_len); in DoParseUNC()
110 int host_len = next_slash - after_slashes; in DoParseUNC()
112 parsed->host = MakeRange(after_slashes, next_slash); in DoParseUNC()
161 int after_slashes; in DoParseFileURL() local
169 after_slashes = begin + num_slashes; in DoParseFileURL()
170 if (DoesBeginWindowsDriveSpec(spec, after_slashes, spec_len)) { in DoParseFileURL()
173 after_scheme = after_slashes; in DoParseFileURL()
[all …]
Durl_canon_internal_file.h58 int after_slashes = begin + num_slashes; in FileDoDriveSpec() local
60 if (!DoesBeginWindowsDriveSpec(spec, after_slashes, end)) in FileDoDriveSpec()
67 if (spec[after_slashes] >= 'a' && spec[after_slashes] <= 'z') in FileDoDriveSpec()
68 output->push_back(spec[after_slashes] - 'a' + 'A'); in FileDoDriveSpec()
70 output->push_back(static_cast<char>(spec[after_slashes])); in FileDoDriveSpec()
75 return after_slashes + 2; in FileDoDriveSpec()
87 int after_slashes = begin + num_slashes; in FileDoPath() local
93 ParsedURL::Component sub_path(after_slashes, end - after_slashes); in FileDoPath()
Durl_canon_fileurl.cc54 int after_slashes = begin + num_slashes; in FileDoDriveSpec() local
56 if (!url_parse::DoesBeginWindowsDriveSpec(spec, after_slashes, end)) in FileDoDriveSpec()
67 if (spec[after_slashes] >= 'a' && spec[after_slashes] <= 'z') in FileDoDriveSpec()
68 output->push_back(spec[after_slashes] - 'a' + 'A'); in FileDoDriveSpec()
70 output->push_back(static_cast<char>(spec[after_slashes])); in FileDoDriveSpec()
74 return after_slashes + 2; in FileDoDriveSpec()
Durl_parse.cc289 int after_slashes = after_scheme + num_slashes; in DoParseAfterScheme() local
299 int end_auth = FindNextAuthorityTerminator(spec, after_slashes, spec_len); in DoParseAfterScheme()
300 authority = Component(after_slashes, end_auth - after_slashes); in DoParseAfterScheme()
Durl_canon_relative.cc485 int after_slashes = relative_component.begin + num_slashes; in DoResolveRelativeURL() local
489 url_parse::DoesBeginWindowsDriveSpec(relative_url, after_slashes, in DoResolveRelativeURL()
/external/chromium/chrome/browser/autocomplete/
Dhistory_provider.cc142 const size_t after_slashes = std::min(url->length(), prefix_end + 2); in TrimHttpPrefix() local
143 while ((prefix_end < after_slashes) && ((*url)[prefix_end] == '/')) in TrimHttpPrefix()