Home | History | Annotate | Download | only in url

Lines Matching full:spec

51 void DoParseUNC(const CHAR* spec,
55 int next_slash = FindNextSlash(spec, after_slashes, spec_len);
72 if (DoesBeginWindowsDriveSpec(spec, next_slash + 1, spec_len)) {
74 ParsePathInternal(spec, MakeRange(next_slash, spec_len),
91 ParsePathInternal(spec, MakeRange(next_slash, spec_len),
103 void DoParseLocalFile(const CHAR* spec,
108 ParsePathInternal(spec, MakeRange(path_begin, spec_len),
114 // character following the "file:" at the beginning of the spec. If so,
117 void DoParseFileURL(const CHAR* spec, int spec_len, Parsed* parsed) {
132 TrimURL(spec, &begin, &spec_len);
135 int num_slashes = CountConsecutiveSlashes(spec, begin, spec_len);
145 if (DoesBeginWindowsDriveSpec(spec, after_slashes, spec_len)) {
149 } else if (DoesBeginUNCPath(spec, begin, spec_len, false)) {
157 // colons in them, in which case it returns the entire spec up to the
161 ExtractScheme(&spec[begin], spec_len - begin, &parsed->scheme)) {
180 num_slashes = CountConsecutiveSlashes(spec, after_scheme, spec_len);
187 if (!DoesBeginWindowsDriveSpec(spec, after_slashes, spec_len) &&
189 // Anything not beginning with a drive spec ("c:\") on Windows is treated
192 DoParseUNC(spec, after_slashes, spec_len, parsed);
198 DoParseUNC(spec, after_slashes, spec_len, parsed);
207 DoParseLocalFile(spec,