Lines Matching refs:Parsed
42 const url_parse::Parsed& parsed,
45 url_parse::Parsed* new_parsed) {
47 bool success = CanonicalizeScheme(source.scheme, parsed.scheme,
52 if (parsed.username.is_valid() || parsed.password.is_valid() ||
53 parsed.host.is_nonempty() || parsed.port.is_valid()) {
57 if (parsed.scheme.is_valid()) {
63 success &= CanonicalizeUserInfo(source.username, parsed.username,
64 source.password, parsed.password,
69 success &= CanonicalizeHost(source.host, parsed.host,
73 if (!parsed.host.is_nonempty())
79 success &= CanonicalizePort(source.port, parsed.port, default_port,
92 if (parsed.path.is_valid()) {
93 success &= CanonicalizePath(source.path, parsed.path,
96 parsed.query.is_valid() || parsed.ref.is_valid()) {
108 CanonicalizeQuery(source.query, parsed.query, query_converter,
112 CanonicalizeRef(source.ref, parsed.ref, output, &new_parsed->ref);
153 const url_parse::Parsed& parsed,
156 url_parse::Parsed* new_parsed) {
158 URLComponentSource<char>(spec), parsed, query_converter,
164 const url_parse::Parsed& parsed,
167 url_parse::Parsed* new_parsed) {
169 URLComponentSource<char16>(spec), parsed, query_converter,
183 const url_parse::Parsed& base_parsed,
187 url_parse::Parsed* new_parsed) {
189 url_parse::Parsed parsed(base_parsed);
190 SetupOverrideComponents(base, replacements, &source, &parsed);
192 source, parsed, query_converter, output, new_parsed);
198 const url_parse::Parsed& base_parsed,
202 url_parse::Parsed* new_parsed) {
205 url_parse::Parsed parsed(base_parsed);
206 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed);
208 source, parsed, query_converter, output, new_parsed);