Home
last modified time | relevance | path

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

/external/chromium/googleurl/src/
Durl_parse_file.cc78 int spec_len, in DoParseUNC() argument
80 int next_slash = FindNextSlash(spec, after_slashes, spec_len); in DoParseUNC()
81 if (next_slash == spec_len) { in DoParseUNC()
84 int host_len = spec_len - after_slashes; in DoParseUNC()
97 if (DoesBeginWindowsDriveSpec(spec, next_slash + 1, spec_len)) { in DoParseUNC()
99 ParsePathInternal(spec, MakeRange(next_slash, spec_len), in DoParseUNC()
115 if (next_slash < spec_len) { in DoParseUNC()
116 ParsePathInternal(spec, MakeRange(next_slash, spec_len), in DoParseUNC()
130 int spec_len, in DoParseLocalFile() argument
133 ParsePathInternal(spec, MakeRange(path_begin, spec_len), in DoParseLocalFile()
[all …]
Durl_util.cc128 int spec_len; in DoFindAndCompareScheme() local
130 &whitespace_buffer, &spec_len); in DoFindAndCompareScheme()
133 if (!url_parse::ExtractScheme(spec, spec_len, &our_scheme)) { in DoFindAndCompareScheme()
152 int spec_len; in DoCanonicalize() local
154 &whitespace_buffer, &spec_len); in DoCanonicalize()
168 if (url_parse::DoesBeginUNCPath(spec, 0, spec_len, false) || in DoCanonicalize()
169 url_parse::DoesBeginWindowsDriveSpec(spec, 0, spec_len)) { in DoCanonicalize()
170 url_parse::ParseFileURL(spec, spec_len, &parsed_input); in DoCanonicalize()
171 return url_canon::CanonicalizeFileURL(spec, spec_len, parsed_input, in DoCanonicalize()
178 if (!url_parse::ExtractScheme(spec, spec_len, &scheme)) in DoCanonicalize()
[all …]
Durl_parse.cc59 int spec_len) { in FindNextAuthorityTerminator() argument
60 for (int i = start_offset; i < spec_len; i++) { in FindNextAuthorityTerminator()
64 return spec_len; // Not found. in FindNextAuthorityTerminator()
285 int spec_len, in DoParseAfterScheme() argument
288 int num_slashes = CountConsecutiveSlashes(spec, after_scheme, spec_len); in DoParseAfterScheme()
299 int end_auth = FindNextAuthorityTerminator(spec, after_slashes, spec_len); in DoParseAfterScheme()
302 if (end_auth == spec_len) // No beginning of path found. in DoParseAfterScheme()
305 full_path = Component(end_auth, spec_len - end_auth); in DoParseAfterScheme()
316 void DoParseStandardURL(const CHAR* spec, int spec_len, Parsed* parsed) { in DoParseStandardURL() argument
317 DCHECK(spec_len >= 0); in DoParseStandardURL()
[all …]
Durl_file.h55 inline int FindNextSlash(const CHAR* spec, int begin_index, int spec_len) { in FindNextSlash() argument
57 while (idx < spec_len && !IsURLSlash(spec[idx])) in FindNextSlash()
72 int spec_len) { in DoesBeginWindowsDriveSpec() argument
73 int remaining_len = spec_len - start_offset; in DoesBeginWindowsDriveSpec()
Durl_util.h121 inline bool IsStandard(const char* spec, int spec_len, in IsStandard() argument
139 int spec_len,
144 int spec_len,
182 int spec_len,
190 int spec_len,
Durl_canon.h515 int spec_len,
521 int spec_len,
529 int spec_len,
535 int spec_len,
544 int spec_len,
549 int spec_len,
560 int spec_len,
565 int spec_len,
Durl_parse_internal.h102 int spec_len,
106 int spec_len,
Durl_canon_pathurl.cc86 int spec_len, in CanonicalizePathURL() argument
95 int spec_len, in CanonicalizePathURL() argument
Durl_canon_mailtourl.cc95 int spec_len, in CanonicalizeMailtoURL() argument
104 int spec_len, in CanonicalizeMailtoURL() argument
Durl_canon_stdurl.cc152 int spec_len, in CanonicalizeStandardURL() argument
163 int spec_len, in CanonicalizeStandardURL() argument
Durl_canon_fileurl.cc151 int spec_len, in CanonicalizeFileURL() argument
162 int spec_len, in CanonicalizeFileURL() argument
Durl_canon_relative.cc76 int spec_len) { in DoesBeginSlashWindowsDriveSpec() argument
77 if (start_offset >= spec_len) in DoesBeginSlashWindowsDriveSpec()
80 url_parse::DoesBeginWindowsDriveSpec(spec, start_offset + 1, spec_len); in DoesBeginSlashWindowsDriveSpec()