Home
last modified time | relevance | path

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

/external/chromium_org/url/
Durl_parse_file.cc135 int num_slashes = CountConsecutiveSlashes(spec, begin, spec_len); in DoParseFileURL() local
144 after_slashes = begin + num_slashes; in DoParseFileURL()
160 if (!num_slashes && in DoParseFileURL()
180 num_slashes = CountConsecutiveSlashes(spec, after_scheme, spec_len); in DoParseFileURL()
181 after_slashes = after_scheme + num_slashes; in DoParseFileURL()
188 num_slashes != 3) { in DoParseFileURL()
197 if (num_slashes == 2) { in DoParseFileURL()
208 num_slashes > 0 ? after_scheme + num_slashes - 1 : after_scheme, in DoParseFileURL()
Durl_canon_relative.cc155 int num_slashes = CountConsecutiveSlashes(url, colon_offset + 1, url_len); in DoIsRelativeURL() local
157 if (num_slashes == 0 || num_slashes == 1) { in DoIsRelativeURL()
453 int num_slashes = CountConsecutiveSlashes( in DoResolveRelativeURL() local
470 int after_slashes = relative_component.begin + num_slashes; in DoResolveRelativeURL()
473 ((num_slashes == 0 || base_is_file) && in DoResolveRelativeURL()
489 (num_slashes >= 2 || num_slashes == relative_component.len)) { in DoResolveRelativeURL()
496 if (num_slashes >= 2) { in DoResolveRelativeURL()
Durl_canon_internal_file.h33 int num_slashes = CountConsecutiveSlashes(spec, begin, end); in FileDoDriveSpec() local
34 int after_slashes = begin + num_slashes; in FileDoDriveSpec()
62 int num_slashes = CountConsecutiveSlashes(spec, begin, end); in FileDoPath() local
63 int after_slashes = begin + num_slashes; in FileDoPath()
Durl_canon_fileurl.cc28 int num_slashes = CountConsecutiveSlashes(spec, begin, end); in FileDoDriveSpec() local
29 int after_slashes = begin + num_slashes; in FileDoDriveSpec()
Durl_util.cc215 int num_slashes = CountConsecutiveSlashes(base_spec, after_scheme, in DoResolveRelative() local
217 base_is_authority_based = num_slashes > 1; in DoResolveRelative()
218 base_is_hierarchical = num_slashes > 0; in DoResolveRelative()
/external/chromium_org/url/third_party/mozilla/
Durl_parse.cc290 int num_slashes = CountConsecutiveSlashes(spec, after_scheme, spec_len); in DoParseAfterScheme() local
291 int after_slashes = after_scheme + num_slashes; in DoParseAfterScheme()