Home
last modified time | relevance | path

Searched refs:isIPv4 (Results 1 – 15 of 15) sorted by relevance

/third_party/node/test/parallel/
Dtest-net-isip.js68 assert.strictEqual(net.isIPv4('127.0.0.1'), true);
69 assert.strictEqual(net.isIPv4('example.com'), false);
70 assert.strictEqual(net.isIPv4('2001:252:0:1::2008:6'), false);
71 assert.strictEqual(net.isIPv4(), false);
72 assert.strictEqual(net.isIPv4(''), false);
73 assert.strictEqual(net.isIPv4(null), false);
74 assert.strictEqual(net.isIPv4(123), false);
75 assert.strictEqual(net.isIPv4(true), false);
76 assert.strictEqual(net.isIPv4({}), false);
77 assert.strictEqual(net.isIPv4({
[all …]
Dtest-net-isipv4.js41 assert.strictEqual(net.isIPv4(ip), true);
45 assert.strictEqual(net.isIPv4(ip), false);
/third_party/node/test/internet/
Dtest-dns-ipv4.js8 const isIPv4 = net.isIPv4; constant
45 assert.ok(isIPv4(res[i]));
85 assert.ok(net.isIPv4(res.address));
103 assert.ok(net.isIPv4(res.address));
121 assert.ok(net.isIPv4(res.address));
139 assert.ok(net.isIPv4(res.address));
197 assert.ok(isIPv4(ip.address));
Dtest-dns-any.js13 const isIPv4 = net.isIPv4; constant
24 assert.ok(isIPv4(r.address));
Dtest-dns.js31 const isIPv4 = net.isIPv4; constant
95 assert.ok(isIPv4(item.address));
612 if (isIPv4(ip.address))
/third_party/node/lib/internal/
Dnet.js31 function isIPv4(s) { function
40 if (isIPv4(s)) return 4;
65 isIPv4, property
/third_party/node/test/common/
Dreport.js152 assert.strictEqual(net.isIPv4(iface.address), true);
153 assert.strictEqual(net.isIPv4(iface.netmask), true);
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js134 if (net.isIPv4(options.remoteHost.host)) {
381 if (net.isIPv4(this._options.destination.host)) {
542 if (net.isIPv4(this._options.destination.host)) {
/third_party/node/lib/
Dnet.js45 isIPv4,
1788 isIPv4: isIPv4, property
/third_party/node/deps/npm/node_modules/ip/test/
Dapi-test.js379 assert.ok(!addr || net.isIPv4(addr));
/third_party/node/doc/api/
Dnet.md1385 ## `net.isIPv4(input)`
/third_party/node/doc/changelogs/
DCHANGELOG_V4.md1125 * [[`b630be2309`](https://github.com/nodejs/node/commit/b630be2309)] - **net**: export isIPv4, isIP…
1919 * [[`8648420586`](https://github.com/nodejs/node/commit/8648420586)] - **net**: make `isIPv4` and `…
DCHANGELOG_V5.md471 * [[`b16f67a0b9`](https://github.com/nodejs/node/commit/b16f67a0b9)] - **net**: make `isIPv4` and `…
DCHANGELOG_V10.md4525 * [[`742ae6141c`](https://github.com/nodejs/node/commit/742ae6141c)] - **lib,src**: port isIPv4() t…
DCHANGELOG_V6.md4123 * [[`80ca0630a6`](https://github.com/nodejs/node/commit/80ca0630a6)] - **net**: export isIPv4, isIP…