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.cc119 bool HasStandardSchemeSeparator(const CHAR* spec, int spec_len, in HasStandardSchemeSeparator() argument
122 if (spec_len < after_scheme + 3) in HasStandardSchemeSeparator()
130 bool DoIsStandard(const CHAR* spec, int spec_len, in DoIsStandard() argument
132 return HasStandardSchemeSeparator(spec, spec_len, scheme) || in DoIsStandard()
161 int spec_len; in DoCanonicalize() local
163 &whitespace_buffer, &spec_len); in DoCanonicalize()
177 if (url_parse::DoesBeginUNCPath(spec, 0, spec_len, false) || in DoCanonicalize()
178 url_parse::DoesBeginWindowsDriveSpec(spec, 0, spec_len)) { in DoCanonicalize()
179 url_parse::ParseFileURL(spec, spec_len, &parsed_input); in DoCanonicalize()
180 return url_canon::CanonicalizeFileURL(spec, spec_len, parsed_input, 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()
87 int spec_len, in DoParseAfterScheme() argument
90 int num_slashes = CountConsecutiveSlashes(spec, after_scheme, spec_len); in DoParseAfterScheme()
101 int end_auth = FindNextAuthorityTerminator(spec, after_slashes, spec_len); in DoParseAfterScheme()
104 if (end_auth == spec_len) // No beginning of path found. in DoParseAfterScheme()
107 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_util.h75 bool IsStandard(const char* spec, int spec_len,
77 bool IsStandard(const char16* spec, int spec_len,
93 int spec_len,
98 int spec_len,
135 int spec_len,
142 int spec_len,
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_canon.h514 int spec_len,
520 int spec_len,
528 int spec_len,
534 int spec_len,
543 int spec_len,
548 int spec_len,
559 int spec_len,
564 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()