Home
last modified time | relevance | path

Searched refs:ipaddress (Results 1 – 25 of 41) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_ipaddress.py12 import ipaddress
58 return self.assertCleanError(ipaddress.AddressValueError,
63 return self.assertCleanError(ipaddress.NetmaskValueError,
196 factory = ipaddress.IPv4Address
199 v4 = ipaddress.IPv4Address("1.2.3.42")
226 ipaddress.IPv4Address(addr)
231 ipaddress.IPv4Address(addr)
261 ipaddress.IPv4Address(addr)
270 ipaddress.IPv4Address(addr)
286 ipaddress.IPv4Address(addr)
[all …]
/third_party/python/Doc/howto/
Dipaddress.rst3 import ipaddress
8 An introduction to the ipaddress module
17 :mod:`ipaddress` module. It is aimed primarily at users that aren't
19 to network engineers wanting an overview of how :mod:`ipaddress`
26 Since :mod:`ipaddress` is a module for inspecting and manipulating IP addresses,
28 :mod:`ipaddress` to create objects from strings and integers.
52 to use the :func:`ipaddress.ip_address` factory function, which automatically
56 >>> ipaddress.ip_address('192.0.2.1')
58 >>> ipaddress.ip_address('2001:DB8::1')
64 >>> ipaddress.ip_address(3221225985)
[all …]
Dindex.rst29 ipaddress.rst
/third_party/python/Doc/tools/
Dsusp-ignored.csv53 howto/ipaddress,,:DB8,>>> ipaddress.ip_address('2001:DB8::1')
54 howto/ipaddress,,::,>>> ipaddress.ip_address('2001:DB8::1')
55 howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
56 howto/ipaddress,,::,IPv6Address('2001:db8::1')
57 howto/ipaddress,,::,IPv6Address('::1')
58 howto/ipaddress,,:db8,>>> ipaddress.ip_network('2001:db8::0/96')
59 howto/ipaddress,,::,>>> ipaddress.ip_network('2001:db8::0/96')
60 howto/ipaddress,,:db8,IPv6Network('2001:db8::/96')
61 howto/ipaddress,,::,IPv6Network('2001:db8::/96')
62 howto/ipaddress,,:db8,IPv6Network('2001:db8::/128')
[all …]
/third_party/curl/tests/unit/
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]);
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/python/Doc/library/
Dipaddress.rst1 :mod:`ipaddress` --- IPv4/IPv6 manipulation library
4 .. module:: ipaddress
9 **Source code:** :source:`Lib/ipaddress.py`
13 :mod:`ipaddress` provides the capabilities to create, manipulate and
23 :ref:`ipaddress-howto`.
29 import ipaddress
30 from ipaddress import (
37 The :mod:`ipaddress` module provides factory functions to conveniently create
48 >>> ipaddress.ip_address('192.168.0.1')
50 >>> ipaddress.ip_address('2001:db8::')
[all …]
Dinternet.rst48 ipaddress.rst
/third_party/node/deps/npm/node_modules/socks/docs/
DmigratingFromV1.md25 ipaddress: "202.101.228.108",
61 ipaddress: "202.101.228.108",
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js120 options.proxies[i + 1].ipaddress,
270 ….socket_options), { host: this.options.proxy.host || this.options.proxy.ipaddress, port: this.opti…
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/docs/examples/typescript/
DconnectExample.md85 ipaddress: '104.131.124.203',
148 ipaddress: '104.131.124.203',
209 ipaddress: '104.131.124.203',
/third_party/node/deps/npm/node_modules/socks/docs/examples/javascript/
DconnectExample.md84 ipaddress: '104.131.124.203',
146 ipaddress: '104.131.124.203',
206 ipaddress: '104.131.124.203',
/third_party/node/deps/npm/node_modules/socks/build/common/
Dhelpers.js115 (typeof proxy.host === 'string' || typeof proxy.ipaddress === 'string') &&
/third_party/python/Doc/whatsnew/
D3.5.rst1335 ipaddress section in Improved Modules
1338 Both the :class:`~ipaddress.IPv4Network` and :class:`~ipaddress.IPv6Network` classes
1342 >>> import ipaddress
1343 >>> ipaddress.IPv4Network(('127.0.0.0', 8))
1345 >>> ipaddress.IPv4Network(('127.0.0.0', '255.0.0.0'))
1350 A new :attr:`~ipaddress.IPv4Network.reverse_pointer` attribute for the
1351 :class:`~ipaddress.IPv4Network` and :class:`~ipaddress.IPv6Network` classes
1354 >>> import ipaddress
1355 >>> addr = ipaddress.IPv4Address('127.0.0.1')
1358 >>> addr6 = ipaddress.IPv6Address('::1')
[all …]
D3.9.rst531 ipaddress section in Improved Modules
534 :mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with suffix ``%<scope_id>``).
536 Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`.
537 If present, scope zone ID is available through the :attr:`~ipaddress.IPv6Address.scope_id` attribut…
540 Starting with Python 3.9.5 the :mod:`ipaddress` module no longer
1121 * Starting with Python 3.9.5 the :mod:`ipaddress` module no longer
/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dmod.rs2145 pub fn ipaddress(&self) -> Option<&[u8]> { in ipaddress() method
2171 } else if let Some(ipaddress) = self.ipaddress() { in fmt()
2172 let address = <[u8; 16]>::try_from(ipaddress) in fmt()
2174 .or_else(|_| <[u8; 4]>::try_from(ipaddress).map(IpAddr::from)); in fmt()
2177 Err(_) => fmt::Debug::fmt(ipaddress, formatter), in fmt()
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()
/third_party/python/Misc/NEWS.d/
D3.7.0b3.rst287 Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty
408 Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
D3.5.0a1.rst690 Add ipaddress.reverse_pointer. Patch by Leon Weber.
893 Fixed bugs in the comparison of ipaddress classes.
932 Pickling of ipaddress objects now produces more compact and portable
951 Much faster implementation of ipaddress.collapse_addresses() when there are
3567 Optimize ipaddress.collapse_addresses().
3576 Optimize ipaddress.summarize_address_range() and
3577 ipaddress.{IPv4Network,IPv6Network}.subnets().
3586 Optimize parsing of netmasks in ipaddress.IPv4Network and
3587 ipaddress.IPv6Network.
3654 ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address,
[all …]
D3.6.6rc1.rst438 Fix a regression in :mod:`ipaddress` that result of :meth:`hosts` is empty
585 Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
D3.10.0b2.rst197 :mod:`ipaddress.IPv6Address.is_private` check is deferred to the mapped IPv4
D3.7.0b2.rst228 ipaddress module for wildcard and IP addresses. Error reporting for invalid
D3.7.0a3.rst930 :class:`ipaddress.IPv6Network` and :class:`ipaddress.IPv4Network`. Patch by
/third_party/curl/lib/
Dcf-socket.c726 const char *ipaddress, int error) in socket_connect_result() argument
745 (void)ipaddress; in socket_connect_result()
750 ipaddress, Curl_strerror(error, buffer, sizeof(buffer))); in socket_connect_result()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dconnector.rs474 if let Some(actual) = name.ipaddress() {

12