Lines Matching refs:HostInternal
132 use crate::host::HostInternal;
183 host: HostInternal,
623 HostInternal::None => assert_eq!(host_str, ""), in check_invariants()
624 HostInternal::Ipv4(address) => assert_eq!(host_str, address.to_string()), in check_invariants()
625 HostInternal::Ipv6(address) => { in check_invariants()
629 HostInternal::Domain => { in check_invariants()
654 assert_eq!(self.host, HostInternal::None); in check_invariants()
937 !matches!(self.host, HostInternal::None) in has_host()
1014 HostInternal::None => None, in host()
1015 HostInternal::Domain => Some(Host::Domain(self.slice(self.host_start..self.host_end))), in host()
1016 HostInternal::Ipv4(address) => Some(Host::Ipv4(address)), in host()
1017 HostInternal::Ipv6(address) => Some(Host::Ipv6(address)), in host()
1046 HostInternal::Domain => Some(self.slice(self.host_start..self.host_end)), in domain()
2663 ) -> Result<(u32, HostInternal), ()> { in path_to_file_url_segments() argument
2683 Ok((host_end, HostInternal::None)) in path_to_file_url_segments()
2690 ) -> Result<(u32, HostInternal), ()> { in path_to_file_url_segments() argument
2699 ) -> Result<(u32, HostInternal), ()> { in path_to_file_url_segments_windows() argument
2713 host_internal = HostInternal::None; in path_to_file_url_segments_windows()