Searched refs:scheme_type (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/url/src/ |
D | parser.rs | 387 let scheme_type = SchemeType::from(base_url.scheme()); in parse_url() localVariable 388 if scheme_type.is_file() { in parse_url() 389 self.parse_file(input, scheme_type, Some(base_url)) in parse_url() 391 self.parse_relative(input, scheme_type, base_url) in parse_url() 428 let scheme_type = SchemeType::from(&self.serialization); in parse_with_scheme() localVariable 430 match scheme_type { in parse_with_scheme() 441 self.parse_file(input, scheme_type, base_file_url) in parse_with_scheme() 453 return self.parse_relative(input, scheme_type, base_url); in parse_with_scheme() 464 self.after_double_slash(remaining, scheme_type, scheme_end) in parse_with_scheme() 466 SchemeType::NotSpecial => self.parse_non_special(input, scheme_type, scheme_end), in parse_with_scheme() [all …]
|
D | quirks.rs | 117 let scheme_type = SchemeType::from(scheme); in set_host() localVariable 118 if scheme_type == SchemeType::File && new_host.is_empty() { in set_host() 123 if let Ok((h, remaining)) = Parser::parse_host(input, scheme_type) { in set_host() 168 let scheme_type = SchemeType::from(url.scheme()); in set_hostname() localVariable 169 if scheme_type == SchemeType::File && new_hostname.is_empty() { in set_hostname() 174 if let Ok((host, _remaining)) = Parser::parse_host(input, scheme_type) { in set_hostname()
|
D | path_segments.rs | 220 let scheme_type = SchemeType::from(self.url.scheme()); in extend() localVariable 237 scheme_type, in extend()
|
D | lib.rs | 1448 let scheme_type = SchemeType::from(self.scheme()); in set_query() localVariable 1453 scheme_type, in set_query() 1552 let scheme_type = SchemeType::from(self.scheme()); in set_path() localVariable 1563 parser.parse_path_start(scheme_type, &mut has_host, parser::Input::new(path)); in set_path() 1820 let scheme_type = SchemeType::from(self.scheme()); in set_host() localVariable 1821 if scheme_type.is_special() { in set_host()
|