Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Host/common/
DSocket.cpp182 std::unique_ptr<TCPSocket> listen_socket( in TcpListen() local
185 error = listen_socket->Listen(host_and_port, backlog); in TcpListen()
193 port = listen_socket->GetLocalPortNumber(); in TcpListen()
202 return std::move(listen_socket); in TcpListen()
230 std::unique_ptr<Socket> listen_socket( in UnixDomainAccept() local
235 error = listen_socket->Listen(name, 5); in UnixDomainAccept()
239 error = listen_socket->Accept(socket); in UnixDomainAccept()
262 std::unique_ptr<Socket> listen_socket( in UnixAbstractAccept() local
267 error = listen_socket->Listen(name, 5); in UnixAbstractAccept()
271 error = listen_socket->Accept(socket); in UnixAbstractAccept()
DTCPSocket.cpp63 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() argument
64 : Socket(ProtocolTcp, listen_socket.m_should_close_fd, in TCPSocket()
65 listen_socket.m_child_processes_inherit) { in TCPSocket()
/external/llvm-project/lldb/source/Host/posix/
DDomainSocket.cpp69 const DomainSocket &listen_socket) in DomainSocket() argument
70 : Socket(ProtocolUnixDomain, listen_socket.m_should_close_fd, in DomainSocket()
71 listen_socket.m_child_processes_inherit) { in DomainSocket()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DTestClient.cpp81 TCPSocket listen_socket(true, false); in launchCustom() local
82 status = listen_socket.Listen("127.0.0.1:0", 5); in launchCustom()
87 ("127.0.0.1:" + Twine(listen_socket.GetLocalPortNumber())).str()); in launchCustom()
113 listen_socket.Accept(accept_socket); in launchCustom()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/rpc/
Dgrpc_channelz.py105 for listen_socket_ref in server.listen_socket:
106 listen_socket = self.get_socket(listen_socket_ref.socket_id)
107 listen_address: Address = listen_socket.local
/external/llvm-project/lldb/unittests/Host/
DSocketTestUtilities.cpp22 static void AcceptThread(Socket *listen_socket, bool child_processes_inherit, in AcceptThread() argument
24 *error = listen_socket->Accept(*accept_socket); in AcceptThread()
/external/llvm-project/lldb/include/lldb/Host/posix/
DDomainSocket.h33 DomainSocket(NativeSocket socket, const DomainSocket &listen_socket);
/external/llvm-project/lldb/include/lldb/Host/common/
DTCPSocket.h52 TCPSocket(NativeSocket socket, const TCPSocket &listen_socket);
/external/toybox/toys/pending/
Dtelnetd.c99 static int listen_socket(void) in listen_socket() function
281 master_fd = listen_socket(); in telnetd_main()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp1235 TCPSocket listen_socket(true, child_processes_inherit); in ConnectLocally() local
1237 listen_socket.Listen("localhost:0", backlog).ToError()) in ConnectLocally()
1242 std::launch::async, [&] { return listen_socket.Accept(accept_socket); }); in ConnectLocally()
1246 << "connect://localhost:" << listen_socket.GetLocalPortNumber(); in ConnectLocally()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc883 int listen_socket = socket(AF_INET, SOCK_STREAM, 0); in TEST() local
884 ASSERT_LT(0, listen_socket); in TEST()
891 int res = bind(listen_socket, (struct sockaddr *)&sai, sizeof(sai)); in TEST()
894 res = listen(listen_socket, 1); in TEST()
898 res = getsockname(listen_socket, (struct sockaddr *)&sai, &sz); in TEST()
914 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz); in TEST()
927 close(listen_socket); in TEST()
/external/llvm-project/compiler-rt/lib/msan/tests/
Dmsan_test.cpp979 int listen_socket = CreateSocket(SOCK_STREAM); in TEST_P() local
980 ASSERT_LT(0, listen_socket); in TEST_P()
983 int res = bind(listen_socket, sai->ptr(), sai->size()); in TEST_P()
986 res = listen(listen_socket, 1); in TEST_P()
990 res = getsockname(listen_socket, sai->ptr(), &sz); in TEST_P()
1006 int new_sock = accept(listen_socket, sai->ptr(), &sz); in TEST_P()
1019 close(listen_socket); in TEST_P()
/external/grpc-grpc-java/services/src/main/proto/grpc/channelz/v1/
Dchannelz.proto207 repeated SocketRef listen_socket = 3; field
/external/grpc-grpc/src/proto/grpc/channelz/
Dchannelz.proto207 repeated SocketRef listen_socket = 3; field
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/channelz/
Dchannelz.proto208 repeated SocketRef listen_socket = 3; field