Home
last modified time | relevance | path

Searched refs:TCPSocket (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/lldb/source/Host/common/
H A DTCPSocket.cpp59 TCPSocket::TCPSocket(bool should_close, bool child_processes_inherit) in TCPSocket() function in TCPSocket
62 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() function in TCPSocket
68 TCPSocket::TCPSocket(NativeSocket socket, bool should_close, in TCPSocket() function in TCPSocket
74 TCPSocket::~TCPSocket() { CloseListenSockets(); } in ~TCPSocket()
76 bool TCPSocket::IsValid() const { in IsValid()
81 uint16_t TCPSocket::GetLocalPortNumber() const { in GetLocalPortNumber()
139 Status TCPSocket::CreateSocket(int domain) { in CreateSocket()
245 void TCPSocket::CloseListenSockets() { in CloseListenSockets()
281 std::unique_ptr<TCPSocket> accepted_socket; in Accept()
311 int TCPSocket::SetOptionNoDelay() { in SetOptionNoDelay()
[all …]
H A DSocket.cpp115 std::make_unique<TCPSocket>(true, child_processes_inherit); in Create()
166 llvm::Expected<std::unique_ptr<TCPSocket>>
172 std::unique_ptr<TCPSocket> listen_socket( in TcpListen()
173 new TCPSocket(true, child_processes_inherit)); in TcpListen()
/llvm-project-15.0.7/lldb/include/lldb/Host/common/
H A DTCPSocket.h17 class TCPSocket : public Socket {
19 TCPSocket(bool should_close, bool child_processes_inherit);
20 TCPSocket(NativeSocket socket, bool should_close,
22 ~TCPSocket() override;
52 TCPSocket(NativeSocket socket, const TCPSocket &listen_socket);
/llvm-project-15.0.7/lldb/unittests/Host/
H A DSocketTest.cpp92 std::unique_ptr<TCPSocket> socket_a_up; in TEST_P()
93 std::unique_ptr<TCPSocket> socket_b_up; in TEST_P()
99 std::unique_ptr<TCPSocket> socket_a_up; in TEST_P()
100 std::unique_ptr<TCPSocket> socket_b_up; in TEST_P()
132 llvm::Expected<std::unique_ptr<TCPSocket>> sock = in TEST_P()
140 std::unique_ptr<TCPSocket> socket_a_up; in TEST_P()
141 std::unique_ptr<TCPSocket> socket_b_up; in TEST_P()
H A DSocketTestUtilities.cpp68 std::string listen_remote_ip, std::unique_ptr<TCPSocket> *socket_a_up, in CreateTCPConnectedSockets()
69 std::unique_ptr<TCPSocket> *socket_b_up) { in CreateTCPConnectedSockets()
72 CreateConnectedSockets<TCPSocket>( in CreateTCPConnectedSockets()
74 [=](const TCPSocket &s) { in CreateTCPConnectedSockets()
95 llvm::Expected<std::unique_ptr<TCPSocket>> Sock = Socket::TcpListen( in CheckIPSupport()
H A DConnectionFileDescriptorTest.cpp23 std::unique_ptr<TCPSocket> socket_a_up; in TestGetURI()
24 std::unique_ptr<TCPSocket> socket_b_up; in TestGetURI()
H A DSocketTestUtilities.h35 std::unique_ptr<TCPSocket> *a_up,
36 std::unique_ptr<TCPSocket> *b_up);
H A DMainLoopTest.cpp28 std::unique_ptr<TCPSocket> listen_socket_up( in SetUp()
29 new TCPSocket(true, child_processes_inherit)); in SetUp()
39 std::unique_ptr<TCPSocket> connect_socket_up( in SetUp()
40 new TCPSocket(true, child_processes_inherit)); in SetUp()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DSocket.h38 class TCPSocket; variable
77 static llvm::Expected<std::unique_ptr<TCPSocket>>
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A DAcceptor.cpp109 TCPSocket *tcp_socket = in Create()
110 static_cast<TCPSocket *>(listener_socket_up.get()); in Create()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/Android/
H A DPlatformAndroidRemoteGDBServer.cpp66 std::unique_ptr<TCPSocket> tcp_socket(new TCPSocket(true, false)); in FindUnusedPort()
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp629 static_cast<TCPSocket &>(listening_socket).GetLocalPortNumber(); in AcceptTCP()
635 static_cast<TCPSocket *>(m_io_sp.get())->GetRemoteConnectionURI()); in AcceptTCP()
697 std::unique_ptr<TCPSocket> tcp_socket; in ConnectFD()
698 tcp_socket = std::make_unique<TCPSocket>(fd, false, false); in ConnectFD()
/llvm-project-15.0.7/lldb/unittests/debugserver/
H A DRNBSocketTest.cpp109 auto port = ((TCPSocket *)server_socket)->GetLocalPortNumber(); in TestSocketConnect()
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Host/
H A DBUILD.gn44 "common/TCPSocket.cpp",
/llvm-project-15.0.7/lldb/source/Host/
H A DCMakeLists.txt40 common/TCPSocket.cpp
/llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DProcessKDP.cpp234 const TCPSocket &socket = in DoConnectRemote()
235 static_cast<const TCPSocket &>(*conn_up->GetReadObject()); in DoConnectRemote()
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DTestClient.cpp81 TCPSocket listen_socket(true, false); in launchCustom()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp1238 TCPSocket listen_socket(true, child_processes_inherit); in ConnectLocally()