Searched refs:has_host (Results 1 – 9 of 9) sorted by relevance
/external/openscreen/util/ |
D | url_unittest.cc | 46 EXPECT_TRUE(url.has_host()); in TEST() 63 EXPECT_TRUE(url1.has_host()); in TEST() 75 EXPECT_TRUE(url2.has_host()); in TEST() 94 EXPECT_TRUE(url2.has_host()); in TEST() 114 EXPECT_TRUE(url1.has_host()); in TEST() 126 EXPECT_TRUE(url2.has_host()); in TEST() 142 EXPECT_TRUE(url3.has_host()); in TEST()
|
D | url.h | 39 bool has_host() const { in has_host() function
|
/external/rust/crates/url/src/ |
D | parser.rs | 531 let mut has_host = !matches!(host, HostInternal::None); in parse_file() localVariable 533 self.parse_path_start(SchemeType::File, &mut has_host, remaining) in parse_file() 537 self.parse_path(SchemeType::File, &mut has_host, path_start, remaining) in parse_file() 542 if !has_host { in parse_file() 1053 let has_host; in parse_file_host() localVariable 1056 has_host = false; in parse_file_host() 1061 has_host = false; in parse_file_host() 1066 has_host = true; in parse_file_host() 1071 Ok((has_host, host, remaining)) in parse_file_host() 1142 has_host: &mut bool, in parse_path_start() [all …]
|
D | path_segments.rs | 235 let mut has_host = true; // FIXME account for this? in extend() localVariable 238 &mut has_host, in extend()
|
D | lib.rs | 936 pub fn has_host(&self) -> bool { in has_host() method 974 if self.has_host() { in host_str() 1562 let mut has_host = true; // FIXME in set_path() localVariable 1563 parser.parse_path_start(scheme_type, &mut has_host, parser::Input::new(path)); in set_path() 1659 if !self.has_host() || self.host() == Some(Host::Domain("")) || self.scheme() == "file" { in set_port() 1819 } else if self.has_host() { in set_host() 1970 if !self.has_host() || self.host() == Some(Host::Domain("")) || self.scheme() == "file" { in set_password() 2063 if !self.has_host() || self.host() == Some(Host::Domain("")) || self.scheme() == "file" { in set_username() 2239 if !remaining.is_empty() || (!self.has_host() && new_scheme_type.is_special()) { in set_scheme()
|
D | quirks.rs | 209 if !url.has_host() || url.host() == Some(Host::Domain("")) || scheme == "file" { in set_port()
|
/external/grpc-grpc/src/core/lib/surface/ |
D | server.cc | 89 bool has_host; member 595 if (!rm->has_host) continue; in start_new_rpc() 613 if (rm->has_host) continue; in start_new_rpc() 901 if (chand->registered_methods[i].has_host) { in destroy_channel_elem() 1139 bool has_host; in grpc_server_setup_transport() local 1143 has_host = true; in grpc_server_setup_transport() 1145 has_host = false; in grpc_server_setup_transport() 1148 hash = GRPC_MDSTR_KV_HASH(has_host ? grpc_slice_hash(host) : 0, in grpc_server_setup_transport() 1158 crm->has_host = has_host; in grpc_server_setup_transport() 1159 if (has_host) { in grpc_server_setup_transport()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/ |
D | server.cc | 990 if (crm.has_host) { in ~ChannelData() 1032 const bool has_host = !rm->host.empty(); in InitTransport() local 1033 if (has_host) { in InitTransport() 1037 GRPC_MDSTR_KV_HASH(has_host ? host.Hash() : 0, method.Hash()); in InitTransport() 1048 crm->has_host = has_host; in InitTransport() 1049 if (has_host) { in InitTransport() 1087 if (!rm->has_host) continue; in GetRegisteredMethod() 1102 if (rm->has_host) continue; in GetRegisteredMethod()
|
D | server.h | 171 bool has_host; member
|