Home
last modified time | relevance | path

Searched refs:net (Results 1 – 25 of 2782) sorted by relevance

12345678910>>...112

/third_party/node/test/parallel/
Dtest-net-isip.js25 const net = require('net'); constant
27 assert.strictEqual(net.isIP('127.0.0.1'), 4);
28 assert.strictEqual(net.isIP('x127.0.0.1'), 0);
29 assert.strictEqual(net.isIP('example.com'), 0);
30 assert.strictEqual(net.isIP('0000:0000:0000:0000:0000:0000:0000:0000'), 6);
31 assert.strictEqual(net.isIP('0000:0000:0000:0000:0000:0000:0000:0000::0000'),
33 assert.strictEqual(net.isIP('1050:0:0:0:5:600:300c:326b'), 6);
34 assert.strictEqual(net.isIP('2001:252:0:1::2008:6'), 6);
35 assert.strictEqual(net.isIP('2001:dead:beef:1::2008:6'), 6);
36 assert.strictEqual(net.isIP('2001::'), 6);
[all …]
/third_party/boost/libs/beast/test/beast/core/
Dbuffer_traits.cpp26 operator net::const_buffer() const noexcept in operator net::const_buffer()
63 net::const_buffer
67 net::const_buffer, net::const_buffer
71 net::const_buffer, net::mutable_buffer
75 net::mutable_buffer, net::mutable_buffer
79 net::const_buffer const&
83 net::const_buffer const&, net::const_buffer const&
87 net::const_buffer const&, net::mutable_buffer const&
96 net::mutable_buffer
100 net::mutable_buffer, net::mutable_buffer
[all …]
Dbuffers_cat.cpp38 net::const_buffer(&c[0], 1), in testDefaultIterators()
39 net::const_buffer(&c[1], 1)); in testDefaultIterators()
76 net::const_buffer b1(s.data(), 6); in testBufferSequence()
77 net::const_buffer b2( in testBufferSequence()
104 net::const_buffer b1{"He", 2}; in testExceptions()
105 net::const_buffer b2{"llo,", 4}; in testExceptions()
106 net::const_buffer b3{" world!", 7}; in testExceptions()
159 using value_type = net::const_buffer; in testEmpty()
179 net::const_buffer b0{}; in testEmpty()
180 net::const_buffer b1{"He", 2}; in testEmpty()
[all …]
Dasync_base.cpp40 net::execution_context &
41 query(net::execution::context_t c) const noexcept in query()
42 { return *reinterpret_cast<net::execution_context *>(0); } in query()
44 net::execution::blocking_t
45 query(net::execution::blocking_t) const noexcept in query()
46 { return net::execution::blocking; }; in query()
48 net::execution::outstanding_work_t
49 query(net::execution::outstanding_work_t w) const noexcept in query()
50 { return net::execution::outstanding_work; } in query()
53 require(net::execution::blocking_t::possibly_t b) const in require()
[all …]
Dbuffered_read_stream.cpp39 net::io_context ioc; in testSpecialMembers()
44 BEAST_EXPECT(&net::query(srs.get_executor(), net::execution::context) == &ioc); in testSpecialMembers()
46 &net::query(srs.get_executor(), net::execution::context) == in testSpecialMembers()
47 &net::query(srs2.get_executor(), net::execution::context)); in testSpecialMembers()
62 net::io_context& ioc_;
70 net::io_context& ioc, in loop()
107 brs_->buffer().commit(net::buffer_copy( in do_read()
108 brs_->buffer().prepare(5), net::buffer("Hello", 5))); in do_read()
109 net::async_read(*brs_, in do_read()
110 net::buffer(&s_[0], s_.size()), in do_read()
[all …]
Dbasic_stream.cpp45 template<class Executor = net::io_context::executor_type>
145 net::io_context ioc;
146 net::ip::tcp::acceptor a;
147 net::ip::tcp::endpoint ep;
151 , ep(net::ip::make_address_v4("127.0.0.1"), 0) in test_acceptor()
155 net::socket_base::reuse_address(true)); in test_acceptor()
157 a.listen(net::socket_base::max_listen_connections); in test_acceptor()
160 [](error_code, net::ip::tcp::socket) in test_acceptor()
170 net::io_context ioc_;
171 net::ip::tcp::acceptor acceptor_;
[all …]
Dbind_handler.cpp85 net::any_io_executor ex_;
96 net::execution::blocking_t blocking_;
99 net::io_context::executor_type ex_;
107 net::io_context& ioc) in test_executor()
111 , blocking_(net::execution::blocking.possibly) in test_executor()
130 net::execution_context&
132 net::execution::context_t c) const noexcept in query()
134 return net::query(ex_, c); in query()
137 net::execution::blocking_t
139 net::execution::blocking_t) const noexcept in query()
[all …]
Dbuffers_suffix.cpp41 std::array<net::const_buffer, 3> b{{ in testBufferSequence()
42 net::const_buffer(src.data(), 3), in testBufferSequence()
43 net::const_buffer(src.data() + 3, 4), in testBufferSequence()
44 net::const_buffer(src.data() + 7, 6) }}; in testBufferSequence()
56 : public net::const_buffer in testSpecial()
60 : net::const_buffer("\r\n", 2) in testSpecial()
74 net::const_buffer, in testSpecial()
75 net::const_buffer>> cb( in testSpecial()
77 net::const_buffer("\r", 1), in testSpecial()
78 net::const_buffer("\n", 1)); in testSpecial()
[all …]
/third_party/boost/libs/beast/test/beast/http/
Dtype_traits.cpp26 BOOST_STATIC_ASSERT(net::is_const_buffer_sequence<chunk_crlf>::value);
30 net::const_buffer>::value);
34 net::mutable_buffer>::value);
37 decltype(*net::buffer_sequence_begin(std::declval<chunk_crlf const&>())),
38 net::const_buffer
42 decltype(*net::buffer_sequence_begin(std::declval<chunk_crlf const&>())),
43 net::mutable_buffer
46 BOOST_STATIC_ASSERT(net::is_const_buffer_sequence<
47 buffers_cat_view<net::const_buffer, chunk_crlf>
51 buffers_type<buffers_cat_view<net::const_buffer, chunk_crlf>>,
[all …]
/third_party/boost/libs/beast/test/beast/websocket/
Ddoc_snippets.cpp30 net::io_service ios; in fxx()
31 net::io_service::work work{ios}; in fxx()
34 net::ip::tcp::socket sock{ios}; in fxx()
38 stream<net::ip::tcp::socket> ws{ios}; in fxx()
44 stream<net::ip::tcp::socket> ws{std::move(sock)}; in fxx()
50 stream<net::ip::tcp::socket&> ws{sock}; in fxx()
54 ws.next_layer().shutdown(net::ip::tcp::socket::shutdown_send); in fxx()
61 net::ip::tcp::resolver r{ios}; in fxx()
62 stream<net::ip::tcp::socket> ws{ios}; in fxx()
63 net::connect(ws.next_layer(), r.resolve({host, "ws"})); in fxx()
[all …]
/third_party/boost/boost/beast/core/detail/
Dget_io_context.hpp30 net::io_context*
31 get_io_context(net::io_context& ioc) in get_io_context()
37 net::io_context*
38 get_io_context(net::io_context::executor_type const& ex) in get_io_context()
40 return std::addressof(net::query(ex, net::execution::context)); in get_io_context()
44 net::io_context*
45 get_io_context(net::strand< in get_io_context()
46 net::io_context::executor_type> const& ex) in get_io_context()
52 net::io_context*
53 get_io_context(net::strand<Executor> const& ex) in get_io_context()
[all …]
Dbuffer_traits.hpp29 net::buffer_sequence_begin(
35 net::const_buffer>
37 using type = net::const_buffer const*;
42 net::mutable_buffer>
44 using type = net::mutable_buffer const*;
52 operator()(net::const_buffer b) const noexcept in operator ()()
54 return net::const_buffer(b).size(); in operator ()()
58 operator()(net::mutable_buffer b) const noexcept in operator ()()
60 return net::mutable_buffer(b).size(); in operator ()()
66 net::is_const_buffer_sequence<B>::value>::type>
[all …]
/third_party/cef/libcef/common/net_service/
Dnet_service_util.cc33 const net::ParsedCookie& pc, in GetCookieDomain()
38 return net::cookie_util::GetCookieDomainWithString(url, domain_string, in GetCookieDomain()
42 cef_cookie_same_site_t MakeCefCookieSameSite(net::CookieSameSite value) { in MakeCefCookieSameSite()
44 case net::CookieSameSite::UNSPECIFIED: in MakeCefCookieSameSite()
46 case net::CookieSameSite::NO_RESTRICTION: in MakeCefCookieSameSite()
48 case net::CookieSameSite::LAX_MODE: in MakeCefCookieSameSite()
50 case net::CookieSameSite::STRICT_MODE: in MakeCefCookieSameSite()
55 cef_cookie_priority_t MakeCefCookiePriority(net::CookiePriority value) { in MakeCefCookiePriority()
57 case net::COOKIE_PRIORITY_LOW: in MakeCefCookiePriority()
59 case net::COOKIE_PRIORITY_MEDIUM: in MakeCefCookiePriority()
[all …]
/third_party/boost/libs/graph/example/figs/
Dcc-internet.dot11 "core1-ord1-oc48.ord2.above.net"
16 "nycmny1-cr1.bbnplanet.net"
19 "chicago1-nbr1.bbnplanet.net"
21 "above-bbn-45Mbps.ord.above.net"
30 "boston1-br1.bbnplanet.net"
31 "cambridge1-nbr2.bbnplanet.net"
34 "teledk.bbnplanet.net"
41 "shub-e27.gw.nd.edu" -- "chicago1-nbr1.bbnplanet.net"
42 "shub-e27.gw.nd.edu" -- "core1-ord1-oc48.ord2.above.net"
43 "chicago1-nbr1.bbnplanet.net" -- "above-bbn-45Mbps.ord.above.net"
[all …]
/third_party/libnl/etc/
Dpktloc6 ip.version u8 net+0 0xF0 4
7 ip.hdrlen u8 net+0 0x0F
8 ip.diffserv u8 net+1
9 ip.length u16 net+2
10 ip.id u16 net+4
11 ip.flag.res u8 net+6 0xff 7
12 ip.df u8 net+6 0x40 6
13 ip.mf u8 net+6 0x20 5
14 ip.offset u16 net+6 0x1FFF
15 ip.ttl u8 net+8
[all …]
/third_party/uboot/u-boot-2020.01/lib/efi_selftest/
Defi_selftest_snp.c67 static struct efi_simple_network *net; variable
109 boottime->copy_mem(p.eth_hdr.et_src, &net->mode->current_address, in send_dhcp_discover()
141 &net->mode->current_address, ARP_HLEN); in send_dhcp_discover()
161 ret = net->transmit(net, 0, sizeof(struct dhcp), &p, NULL, NULL, 0); in send_dhcp_discover()
206 ret = boottime->locate_protocol(&efi_net_guid, NULL, (void **)&net); in setup()
208 net = NULL; in setup()
215 if (!net->mode) { in setup()
219 if (net->mode->hwaddr_size != ARP_HLEN) { in setup()
221 net->mode->hwaddr_size, ARP_HLEN); in setup()
227 if (!net->wait_for_packet) { in setup()
[all …]
/third_party/grpc/tools/interop_matrix/testcases/
Dcxx__master5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
13 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
14 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
[all …]
Druby__master5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
13 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
14 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
[all …]
Dphp__v1.0.13 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
4 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
[all …]
Dphp__master5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
13 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
14 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "src/php/bin/intero…
[all …]
Druby__v1.1.43 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
4 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
[all …]
Dcxx__v1.0.13 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
4 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "bins/opt/interop_c…
[all …]
Dnode__v1.1.43 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
4 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "tools/run_tests/in…
[all …]
Druby__v1.0.13 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
4 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
5 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
6 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
7 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
8 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
9 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
10 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
11 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
12 docker run -i --rm=true -w /var/local/git/grpc --net=host $docker_image bash -c "source /usr/local/…
[all …]
/third_party/boost/boost/beast/core/
Dbasic_stream.hpp200 class Executor = net::any_io_executor,
211 net::basic_stream_socket<Protocol, Executor>;
237 net::is_executor<Executor>::value || net::execution::is_executor<Executor>::value,
245 net::basic_stream_socket<
251 net::basic_waitable_timer<
253 net::wait_traits<
257 net::steady_timer timer;
460 net::steady_timer::duration expiry_time);
482 expires_at(net::steady_timer::time_point expiry_time);
590 net::is_endpoint_sequence<
[all …]

12345678910>>...112