/external/chromium/googleurl/src/ |
D | url_parse_file.cc | 78 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 …]
|
D | url_util.cc | 128 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 …]
|
D | url_parse.cc | 59 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 …]
|
D | url_file.h | 55 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()
|
D | url_util.h | 121 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,
|
D | url_canon.h | 515 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,
|
D | url_parse_internal.h | 102 int spec_len, 106 int spec_len,
|
D | url_canon_pathurl.cc | 86 int spec_len, in CanonicalizePathURL() argument 95 int spec_len, in CanonicalizePathURL() argument
|
D | url_canon_mailtourl.cc | 95 int spec_len, in CanonicalizeMailtoURL() argument 104 int spec_len, in CanonicalizeMailtoURL() argument
|
D | url_canon_stdurl.cc | 152 int spec_len, in CanonicalizeStandardURL() argument 163 int spec_len, in CanonicalizeStandardURL() argument
|
D | url_canon_fileurl.cc | 151 int spec_len, in CanonicalizeFileURL() argument 162 int spec_len, in CanonicalizeFileURL() argument
|
D | url_canon_relative.cc | 76 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()
|