Home
last modified time | relevance | path

Searched refs:split_prefix (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/url/src/
Dparser.rs247 p.split_prefix(&mut self.clone()) in starts_with()
251 pub fn split_prefix<P: Pattern>(&self, p: P) -> Option<Self> { in split_prefix() method
253 if p.split_prefix(&mut remaining) { in split_prefix()
298 fn split_prefix(self, input: &mut Input) -> bool; in split_prefix() method
302 fn split_prefix(self, input: &mut Input) -> bool { in split_prefix() method
308 fn split_prefix(self, input: &mut Input) -> bool { in split_prefix() method
319 fn split_prefix(self, input: &mut Input) -> bool { in split_prefix() method
478 if let Some(input) = input.split_prefix("//") { in parse_non_special()
488 let remaining = if let Some(input) = input.split_prefix('/') { in parse_non_special()
773 if let Some(after_prefix) = input.split_prefix("//") { in parse_relative()
[all …]
Dquirks.rs125 opt_port = if let Some(remaining) = remaining.split_prefix(':') { in set_host()