Lines Matching full:spec
18 // Given a pointer into the spec, this copies and canonicalizes the drive
20 // spec, it won't do anything. The index of the next character in the input
21 // spec is returned (after the colon when a drive spec is found, the begin
24 int FileDoDriveSpec(const CHAR* spec, int begin, int end,
28 int num_slashes = CountConsecutiveSlashes(spec, begin, end);
31 if (!DoesBeginWindowsDriveSpec(spec, after_slashes, end))
34 // A drive spec is the start of a path, so we need to add a slash for the
42 if (spec[after_slashes] >= 'a' && spec[after_slashes] <= 'z')
43 output->push_back(spec[after_slashes] - 'a' + 'A');
45 output->push_back(static_cast<char>(spec[after_slashes]));
55 bool DoFileCanonicalizePath(const CHAR* spec,
63 after_drive = FileDoDriveSpec(spec, path.begin, path.end(), output);
77 success = CanonicalizePath(spec, sub_path, output, &fake_output_path);
124 bool CanonicalizeFileURL(const char* spec,
131 URLComponentSource<char>(spec), parsed, query_converter,
135 bool CanonicalizeFileURL(const base::char16* spec,
142 URLComponentSource<base::char16>(spec), parsed, query_converter,
146 bool FileCanonicalizePath(const char* spec,
150 return DoFileCanonicalizePath<char, unsigned char>(spec, path,
154 bool FileCanonicalizePath(const base::char16* spec,
158 return DoFileCanonicalizePath<base::char16, base::char16>(spec, path,