• Home
  • Raw
  • Download

Lines Matching refs:host_end

182     host_end: u32,  field
620 assert!(self.host_end >= self.host_start); in check_invariants()
621 let host_str = self.slice(self.host_start..self.host_end); in check_invariants()
635 if self.path_start == self.host_end { in check_invariants()
638 assert_eq!(self.byte_at(self.host_end), b':'); in check_invariants()
639 let port_str = self.slice(self.host_end + 1..self.path_start); in check_invariants()
653 assert_eq!(self.host_end, self.scheme_end + 1); in check_invariants()
675 assert_eq!(self.host_end, other.host_end); in check_invariants()
975 Some(self.slice(self.host_start..self.host_end)) in host_str()
1015 HostInternal::Domain => Some(Host::Domain(self.slice(self.host_start..self.host_end))), in host()
1046 HostInternal::Domain => Some(self.slice(self.host_start..self.host_end)), in domain()
1674 .drain(self.host_end as usize..self.path_start as usize); in set_port_internal()
1675 let offset = self.path_start - self.host_end; in set_port_internal()
1676 self.path_start = self.host_end; in set_port_internal()
1687 self.serialization.truncate(self.host_end as usize); in set_port_internal()
1835 self.host_end = new_path_start; in set_host()
1852 self.host_end in set_host_internal()
1865 self.host_end = to_u32(self.serialization.len()).unwrap(); in set_host_internal()
1988 adjust(&mut self.host_end); in set_password()
2013 self.host_end -= offset; in set_password()
2101 adjust(&mut self.host_end); in set_username()
2252 adjust(&mut self.host_end); in set_scheme()
2306 let (host_end, host) = path_to_file_url_segments(path.as_ref(), &mut serialization)?; in from_file_path()
2312 host_end, in from_file_path()
2315 path_start: host_end, in from_file_path()
2368 ref host_end, in serialize_internal()
2380 host_end, in serialize_internal()
2408 host_end, in deserialize_internal()
2420 host_end, in deserialize_internal()
2462 Some(&self.serialization[self.host_start as usize..self.host_end as usize]) in to_file_path()
2668 let host_end = to_u32(serialization.len()).unwrap(); in path_to_file_url_segments() localVariable
2683 Ok((host_end, HostInternal::None)) in path_to_file_url_segments()
2707 let host_end; in path_to_file_url_segments_windows() localVariable
2712 host_end = to_u32(serialization.len()).unwrap(); in path_to_file_url_segments_windows()
2721 host_end = to_u32(serialization.len()).unwrap(); in path_to_file_url_segments_windows()
2751 Ok((host_end, host_internal)) in path_to_file_url_segments_windows()