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

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

Completed in 129 milliseconds