Home
last modified time | relevance | path

Searched refs:host_end (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/url/src/
Dlib.rs182 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()
[all …]
Dparser.rs485 let host_end = path_start; in parse_non_special() localVariable
500 host_end, in parse_non_special()
530 let mut host_end = to_u32(self.serialization.len())?; in parse_file() localVariable
544 .drain(host_start as usize..host_end as usize); in parse_file()
545 host_end = host_start; in parse_file()
555 host_end, in parse_file()
558 path_start: host_end, in parse_file()
566 let mut host_end = host_start; in parse_file() localVariable
576 host_end = self.serialization.len(); in parse_file()
593 self.parse_path(SchemeType::File, &mut false, host_end, parse_path_input); in parse_file()
[all …]
Dslicing.rs141 Position::AfterHost => self.host_end as usize, in index()
145 debug_assert!(self.byte_at(self.host_end) == b':'); in index()
146 self.host_end as usize + ":".len() in index()
148 self.host_end as usize in index()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc151 char* host_end = static_cast<char*>(gpr_memrchr(host, '%', strlen(host))); in grpc_parse_ipv6_hostport() local
152 if (host_end != nullptr) { in grpc_parse_ipv6_hostport()
153 GPR_ASSERT(host_end >= host); in grpc_parse_ipv6_hostport()
155 size_t host_without_scope_len = static_cast<size_t>(host_end - host); in grpc_parse_ipv6_hostport()
176 if (gpr_parse_bytes_to_uint32(host_end + 1, in grpc_parse_ipv6_hostport()
180 gpr_log(GPR_ERROR, "invalid ipv6 scope id: '%s'", host_end + 1); in grpc_parse_ipv6_hostport()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dparse_address.cc221 char* host_end = in grpc_parse_ipv6_hostport() local
223 if (host_end != nullptr) { in grpc_parse_ipv6_hostport()
224 GPR_ASSERT(host_end >= host.c_str()); in grpc_parse_ipv6_hostport()
227 static_cast<size_t>(host_end - host.c_str()); in grpc_parse_ipv6_hostport()
248 if (gpr_parse_bytes_to_uint32(host_end + 1, in grpc_parse_ipv6_hostport()
251 if ((sin6_scope_id = grpc_if_nametoindex(host_end + 1)) == 0) { in grpc_parse_ipv6_hostport()
255 host_end + 1); in grpc_parse_ipv6_hostport()
/external/curl/lib/
Dhostip.c919 char *host_end; in Curl_loadhostpairs() local
923 host_end = strchr(hostp->data, ':'); in Curl_loadhostpairs()
924 if(!host_end || in Curl_loadhostpairs()
925 ((host_end - hostp->data) >= (ptrdiff_t)sizeof(hostname))) in Curl_loadhostpairs()
928 memcpy(hostname, hostp->data, host_end - hostp->data); in Curl_loadhostpairs()
929 hostname[host_end - hostp->data] = '\0'; in Curl_loadhostpairs()
931 port_ptr = host_end + 1; in Curl_loadhostpairs()
/external/pdfium/core/fpdftext/
Dcpdf_linkextract.cpp282 size_t host_end = i == pPos + 1 ? i - 2 : i - 1; in CheckMailLink() local
283 if (pPos > 0 && host_end - aPos.value() >= 3) { in CheckMailLink()
285 *str = str->First(host_end + 1); in CheckMailLink()