Home | History | Annotate | Download | only in src

Lines Matching refs:spec

76 void DoParseUNC(const CHAR* spec,
80 int next_slash = FindNextSlash(spec, after_slashes, spec_len);
97 if (DoesBeginWindowsDriveSpec(spec, next_slash + 1, spec_len)) {
99 ParsePathInternal(spec, MakeRange(next_slash, spec_len),
116 ParsePathInternal(spec, MakeRange(next_slash, spec_len),
128 void DoParseLocalFile(const CHAR* spec,
133 ParsePathInternal(spec, MakeRange(path_begin, spec_len),
138 // We are handed the character after the "file:" at the beginning of the spec.
141 void DoParseFileURL(const CHAR* spec, int spec_len, Parsed* parsed) {
156 TrimURL(spec, &begin, &spec_len);
168 num_slashes = CountConsecutiveSlashes(spec, begin, spec_len);
170 if (DoesBeginWindowsDriveSpec(spec, after_slashes, spec_len)) {
174 } else if (DoesBeginUNCPath(spec, begin, spec_len, false)) {
181 if (ExtractScheme(&spec[begin], spec_len - begin, &parsed->scheme)) {
200 num_slashes = CountConsecutiveSlashes(spec, after_scheme, spec_len);
208 if (!DoesBeginWindowsDriveSpec(spec, after_slashes, spec_len) &&
210 // Anything not beginning with a drive spec ("c:\") on Windows is treated
213 DoParseUNC(spec, after_slashes, spec_len, parsed);
219 DoParseUNC(spec, after_slashes, spec_len, parsed);
228 DoParseLocalFile(spec,