Home
last modified time | relevance | path

Searched refs:tcp_socket (Results 1 – 25 of 36) sorted by relevance

12

/third_party/jerryscript/jerry-ext/debugger/
Ddebugger-tcp.c62 jerryx_socket tcp_socket; /**< tcp socket */ member
136 jerryx_debugger_tcp_close_socket (tcp_p->tcp_socket); in jerryx_debugger_tcp_close()
159 ssize_t is_err = recv (tcp_p->tcp_socket, NULL, 0, MSG_PEEK); in jerryx_debugger_tcp_send()
170 ssize_t sent_bytes = send (tcp_p->tcp_socket, (char *)message_p, (int)message_length, 0); in jerryx_debugger_tcp_send()
172 ssize_t sent_bytes = send (tcp_p->tcp_socket, message_p, message_length, 0); in jerryx_debugger_tcp_send()
209 ssize_t length = recv (tcp_p->tcp_socket, (char *)buffer_p, (int)buffer_size, 0); in jerryx_debugger_tcp_receive()
211 ssize_t length = recv (tcp_p->tcp_socket, buffer_p, buffer_size, 0); in jerryx_debugger_tcp_receive()
322 jerryx_socket tcp_socket = accept (server_socket, (struct sockaddr *) &addr, &sin_size); in jerryx_debugger_tcp_create() local
326 if (tcp_socket == JERRYX_SOCKET_INVALID) in jerryx_debugger_tcp_create()
335 if (ioctlsocket (tcp_socket, (long)FIONBIO, &nonblocking_enabled) != NO_ERROR) in jerryx_debugger_tcp_create()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_fds.c49 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_fds()
51 FD_SET(server->tcp_socket, read_fds); in ares_fds()
53 FD_SET(server->tcp_socket, write_fds); in ares_fds()
54 if (server->tcp_socket >= nfds) in ares_fds()
55 nfds = server->tcp_socket + 1; in ares_fds()
Dares__close_sockets.c48 if (server->tcp_socket != ARES_SOCKET_BAD) in ares__close_sockets()
50 SOCK_STATE_CALLBACK(channel, server->tcp_socket, 0, 0); in ares__close_sockets()
51 ares__close_socket(channel, server->tcp_socket); in ares__close_sockets()
52 server->tcp_socket = ARES_SOCKET_BAD; in ares__close_sockets()
Dares_getsock.c51 if (server->tcp_socket != ARES_SOCKET_BAD) in ares_getsock()
55 socks[sockindex] = server->tcp_socket; in ares_getsock()
Dares_process.c222 if (!server->qhead || server->tcp_socket == ARES_SOCKET_BAD || in write_tcp_data()
227 if(!FD_ISSET(server->tcp_socket, write_fds)) in write_tcp_data()
231 if(server->tcp_socket != write_fd) in write_tcp_data()
241 FD_CLR(server->tcp_socket, write_fds); in write_tcp_data()
260 wcount = socket_writev(channel, server->tcp_socket, vec, (int)n); in write_tcp_data()
277 scount = socket_write(channel, server->tcp_socket, sendreq->data, sendreq->len); in write_tcp_data()
306 SOCK_STATE_CALLBACK(channel, server->tcp_socket, 1, 0); in advance_tcp_send_queue()
372 if (server->tcp_socket == ARES_SOCKET_BAD || server->is_broken) in read_tcp_data()
376 if(!FD_ISSET(server->tcp_socket, read_fds)) in read_tcp_data()
380 if(server->tcp_socket != read_fd) in read_tcp_data()
[all …]
/third_party/grpc/examples/python/wait_for_ready/
Dwait_for_ready_example.py35 tcp_socket = socket.socket(socket.AF_INET6)
37 tcp_socket = socket.socket(socket.AF_INET)
38 tcp_socket.bind(('', 0))
39 address_tuple = tcp_socket.getsockname()
41 tcp_socket.close()
/third_party/boost/libs/asio/example/cpp11/timeouts/
Dblocking_token_tcp_client.cpp26 using tcp_socket = boost::asio::basic_stream_socket< typedef
35 close_after(std::chrono::steady_clock::duration t, tcp_socket& s) in close_after()
44 tcp_socket& socket_;
133 tcp_socket& socket_;
158 tcp_socket socket(io_context); in main()
/third_party/boost/doc/html/boost_asio/example/cpp11/timeouts/
Dblocking_token_tcp_client.cpp26 using tcp_socket = boost::asio::basic_stream_socket< typedef
35 close_after(std::chrono::steady_clock::duration t, tcp_socket& s) in close_after()
44 tcp_socket& socket_;
133 tcp_socket& socket_;
158 tcp_socket socket(io_context); in main()
/third_party/boost/libs/asio/example/cpp03/windows/
Dtransmit_file.cpp26 boost::asio::io_context::executor_type> tcp_socket; typedef
33 void transmit_file(tcp_socket& socket, in transmit_file()
74 tcp_socket& socket() in socket()
105 socket_.shutdown(tcp_socket::shutdown_both, ignored_ec); in handle_write()
108 tcp_socket socket_;
/third_party/boost/doc/html/boost_asio/example/cpp03/windows/
Dtransmit_file.cpp26 boost::asio::io_context::executor_type> tcp_socket; typedef
33 void transmit_file(tcp_socket& socket, in transmit_file()
74 tcp_socket& socket() in socket()
105 socket_.shutdown(tcp_socket::shutdown_both, ignored_ec); in handle_write()
108 tcp_socket socket_;
/third_party/boost/libs/asio/example/cpp03/timeouts/
Dblocking_token_tcp_client.cpp27 boost::asio::io_context::executor_type> tcp_socket; typedef
35 close_after(boost::asio::chrono::steady_clock::duration t, tcp_socket& s) in close_after()
44 tcp_socket& socket_;
133 tcp_socket& socket_;
159 tcp_socket socket(io_context); in main()
/third_party/boost/doc/html/boost_asio/example/cpp03/timeouts/
Dblocking_token_tcp_client.cpp27 boost::asio::io_context::executor_type> tcp_socket; typedef
35 close_after(boost::asio::chrono::steady_clock::duration t, tcp_socket& s) in close_after()
44 tcp_socket& socket_;
133 tcp_socket& socket_;
159 tcp_socket socket(io_context); in main()
/third_party/boost/doc/html/boost_asio/example/cpp17/coroutines_ts/
Decho_server_with_default.cpp25 using tcp_socket = use_awaitable_t<>::as_default_on_t<tcp::socket>; typedef
28 awaitable<void> echo(tcp_socket socket) in echo()
/third_party/boost/libs/asio/example/cpp17/coroutines_ts/
Decho_server_with_default.cpp25 using tcp_socket = use_awaitable_t<>::as_default_on_t<tcp::socket>; typedef
28 awaitable<void> echo(tcp_socket socket) in echo()
Decho_server_with_as_single_default.cpp28 using tcp_socket = default_token::as_default_on_t<tcp::socket>; typedef
31 awaitable<void> echo(tcp_socket socket) in echo()
/third_party/boost/libs/process/test/
Dlimit_fd.cpp107 boost::asio::ip::tcp::socket tcp_socket(ioc);
111 tcp_socket.open(boost::asio::ip::tcp::v4());
114 …BOOST_CHECK(bt::is_stream_handle(socket_to_handle(tcp_socket.native_handle()), ec)); BOOST_CHECK_M…
/third_party/selinux/libsepol/tests/policies/test-hooks/
Dcmp_policy.conf25 class tcp_socket
204 class tcp_socket
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
/third_party/node/src/
Dinspector_socket_server.cc221 static void SocketConnectedCallback(uv_stream_t* tcp_socket, int status);
553 void ServerSocket::SocketConnectedCallback(uv_stream_t* tcp_socket, in SocketConnectedCallback() argument
556 ServerSocket* server_socket = ServerSocket::FromTcpSocket(tcp_socket); in SocketConnectedCallback()
558 server_socket->server_->Accept(server_socket->port_, tcp_socket); in SocketConnectedCallback()
/third_party/selinux/libsepol/tests/policies/test-expander/
Dalias-base.conf25 class tcp_socket
204 class tcp_socket
Drole-base.conf25 class tcp_socket
204 class tcp_socket
Duser-base.conf25 class tcp_socket
204 class tcp_socket
/third_party/selinux/secilc/docs/
Dcil_access_vector_rules.md297 (allow type_1 type_2 (tcp_socket (ioctl))) ;; pre-requisite
298 (allowx type_1 type_2 (ioctl tcp_socket (range 0x2000 0x20FF)))
352 (allowx type_1 type_2 (ioctl tcp_socket (range 0x2000 0x20FF)))
354 (auditallow type_1 type_2 (tcp_socket (ioctl))) ;; pre-requisite
355 (auditallowx type_1 type_2 (ioctl tcp_socket (range 0x2005 0x2010)))
406 …(allowx type_1 type_2 (ioctl tcp_socket (0x1))) ;; pre-requisite, just some irrelevant random ioctl
407 (dontauditx type_1 type_2 (ioctl tcp_socket (range 0x3000 0x30FF)))
/third_party/selinux/libsepol/tests/policies/test-deps/
Dsmall-base.conf25 class tcp_socket
204 class tcp_socket
Dbase-notmetreq.conf25 class tcp_socket
203 class tcp_socket

12