Home
last modified time | relevance | path

Searched refs:ipaddress (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_ipaddress.py4 """Unittest for ipaddress module."""
12 import ipaddress namespace
18 # One big change in ipaddress over the original ipaddr module is
58 return self.assertCleanError(ipaddress.AddressValueError,
63 return self.assertCleanError(ipaddress.NetmaskValueError,
195 factory = ipaddress.IPv4Address
198 v4 = ipaddress.IPv4Address("1.2.3.42")
225 ipaddress.IPv4Address(addr)
230 ipaddress.IPv4Address(addr)
260 ipaddress
[all...]
/third_party/curl/tests/unit/
H A Dunit1609.c153 char ipaddress[MAX_IPADR_LEN] = {0}; variable
159 ipaddress, &port)) {
169 __FILE__, __LINE__, i, ipaddress, i, j);
182 if(!curl_strequal(ipaddress, tests[i].address[j])) {
185 __FILE__, __LINE__, i, ipaddress, i, j, tests[i].address[j]);
H A Dunit1607.c151 char ipaddress[MAX_IPADR_LEN] = {0}; variable
160 ipaddress, &port)) {
170 __FILE__, __LINE__, i, ipaddress, i, j);
183 if(!curl_strequal(ipaddress, tests[i].address[j])) {
186 __FILE__, __LINE__, i, ipaddress, i, j, tests[i].address[j]);
/third_party/node/deps/npm/node_modules/socks/build/client/
H A Dsocksclient.js120 options.proxies[i + 1].ipaddress,
270 return Object.assign(Object.assign({}, this.options.socket_options), { host: this.options.proxy.host || this.options.proxy.ipaddress, port: this.options.proxy.port });
440 remoteHost.host = this.options.proxy.ipaddress;
660 remoteHost.host = this.options.proxy.ipaddress;
751 remoteHost.host = this.options.proxy.ipaddress;
/third_party/node/deps/npm/node_modules/socks/build/common/
H A Dhelpers.js117 (typeof proxy.host === 'string' || typeof proxy.ipaddress === 'string') &&
/third_party/python/Lib/urllib/
H A Dparse.py40 import ipaddress namespace
446 ip = ipaddress.ip_address(hostname) # Throws Value Error if not IPv6 or IPv4
447 if isinstance(ip, ipaddress.IPv4Address):
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dtests.rs165 assert_eq!(subject_alt_names[1].ipaddress(), Some(&[127, 0, 0, 1][..])); in test_subject_alt_name()
167 subject_alt_names[2].ipaddress(), in test_subject_alt_name()
250 subject_alt_names_iter.next().unwrap().ipaddress(), in test_subject_alt_name_iter()
254 subject_alt_names_iter.next().unwrap().ipaddress(), in test_subject_alt_name_iter()
H A Dmod.rs2145 pub fn ipaddress(&self) -> Option<&[u8]> { in ipaddress() functions
2171 } else if let Some(ipaddress) = self.ipaddress() {
2172 let address = <[u8; 16]>::try_from(ipaddress)
2174 .or_else(|_| <[u8; 4]>::try_from(ipaddress).map(IpAddr::from));
2177 Err(_) => fmt::Debug::fmt(ipaddress, formatter),
/third_party/curl/lib/
H A Dcf-socket.c732 const char *ipaddress, int error) in socket_connect_result()
751 (void)ipaddress; in socket_connect_result()
756 ipaddress, Curl_strerror(error, buffer, sizeof(buffer))); in socket_connect_result()
731 socket_connect_result(struct Curl_easy *data, const char *ipaddress, int error) socket_connect_result() argument

Completed in 13 milliseconds