Searched refs:opt_port (Results 1 – 4 of 4) sorted by relevance
70 SendablePort* opt_port) { in ConvertDescriptor() argument80 *opt_port = std::move(port); in ConvertDescriptor()140 SendablePort opt_port; in ConvertProtoToMachMessage() local141 if (!ConvertDescriptor(&iterator, descriptor, &opt_port)) { in ConvertProtoToMachMessage()144 if (opt_port.name != MACH_PORT_NULL) { in ConvertProtoToMachMessage()145 message.ports.push_back(std::move(opt_port)); in ConvertProtoToMachMessage()
126 if (absl::optional<int> opt_port = in ParseHostnameAndPortFromString() local128 port = *opt_port; in ParseHostnameAndPortFromString()138 if (absl::optional<int> opt_port = in ParseHostnameAndPortFromString() local140 port = *opt_port; in ParseHostnameAndPortFromString()
157 let opt_port; in set_host() localVariable168 opt_port = if let Some(remaining) = remaining.split_prefix(':') { in set_host()185 && (!username(url).is_empty() || matches!(opt_port, Some(Some(_))) || url.port().is_some()) in set_host()189 url.set_host_internal(host, opt_port); in set_host()
1120 let mut opt_port = Some(port as u16); in parse_port() localVariable1121 if !has_any_digit || opt_port == default_port() { in parse_port()1122 opt_port = None; in parse_port()1124 Ok((opt_port, input)) in parse_port()