Lines Matching refs:scheme
56 // Contains the canonical version of each possible input letter in the scheme
58 // is not allowed in a scheme.
85 const Component& scheme,
88 if (scheme.len <= 0) {
89 // Scheme is unspecified or empty, convert to empty by appending a colon.
95 // The output scheme starts from the current position.
104 int end = scheme.end();
105 for (int i = scheme.begin; i < end; i++) {
109 if (i == scheme.begin) {
110 // Need to do a special check for the first letter of the scheme.
121 // Canonicalizing the scheme multiple times should lead to the same
123 // the percent to avoid multiple escaping. The scheme will be invalid.
127 // Invalid character, store it but mark this scheme as invalid.
136 // The output scheme ends with the the current position, before appending
297 const Component& scheme,
300 return DoScheme<char, unsigned char>(spec, scheme, output, out_scheme);
304 const Component& scheme,
307 return DoScheme<base::char16, base::char16>(spec, scheme, output, out_scheme);