Home
last modified time | relevance | path

Searched refs:Ipv4 (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/url/src/
Dhost.rs24 Ipv4(Ipv4Addr), enumerator
33 Host::Ipv4(address) => HostInternal::Ipv4(address), in from()
52 Ipv4(Ipv4Addr), enumerator
67 Host::Ipv4(address) => Host::Ipv4(address), in to_owned()
115 Ok(Host::Ipv4(address)) in parse()
165 Host::Ipv4(ref addr) => addr.fmt(f), in fmt()
182 (Host::Ipv4(a), Host::Ipv4(b)) => a == b, in eq()
Dlib.rs624 HostInternal::Ipv4(address) => assert_eq!(host_str, address.to_string()), in check_invariants()
1016 HostInternal::Ipv4(address) => Some(Host::Ipv4(address)), in host()
1162 Host::Ipv4(ip) => vec![(ip, port).into()], in socket_addrs()
1934 IpAddr::V4(address) => Host::Ipv4(address), in set_ip_host()
/external/oss-fuzz/projects/uriparser/
Duri_parse_fuzzer.cc67 void Ipv4(const string &s) { in Ipv4() function
88 Ipv4(uri1); in LLVMFuzzerTestOneInput()
89 Ipv4(uri2); in LLVMFuzzerTestOneInput()
/external/rust/crates/url/tests/
Dunit.rs251 Host::Ipv4(Ipv4Addr::new(1, 35, 33, 49)), in host()
270 Host::Ipv4(Ipv4Addr::new(1, 35, 33, 49)), in host()
272 assert_host("http://0x1232131", Host::Ipv4(Ipv4Addr::new(1, 35, 33, 49))); in host()
273 assert_host("http://111", Host::Ipv4(Ipv4Addr::new(0, 0, 0, 111))); in host()
736 assert_eq!(url.host(), Some(Host::Ipv4(Ipv4Addr::new(192, 168, 0, 1)))); in test_windows_unc_path()