Searched refs:TCPSocket (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | TCPSocket.cpp | 41 TCPSocket::TCPSocket(bool should_close) : Socket(ProtocolTcp, should_close) {} in TCPSocket() function in TCPSocket 43 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() function in TCPSocket 48 TCPSocket::TCPSocket(NativeSocket socket, bool should_close) in TCPSocket() function in TCPSocket 53 TCPSocket::~TCPSocket() { CloseListenSockets(); } in ~TCPSocket() 55 llvm::Expected<TCPSocket::Pair> TCPSocket::CreatePair() { in CreatePair() 56 auto listen_socket_up = std::make_unique<TCPSocket>(true); in CreatePair() 65 auto connect_socket_up = std::make_unique<TCPSocket>(true); in CreatePair() 78 std::unique_ptr<TCPSocket>(static_cast<TCPSocket *>(accept_socket))); in CreatePair() 81 bool TCPSocket::IsValid() const { in IsValid() 86 uint16_t TCPSocket::GetLocalPortNumber() const { in GetLocalPortNumber() [all …]
|
| H A D | Socket.cpp | 208 socket_up = std::make_unique<TCPSocket>(should_close); in Create() 243 return TCPSocket::CreatePair(); in CreatePair() 271 llvm::Expected<std::unique_ptr<TCPSocket>> 276 std::unique_ptr<TCPSocket> listen_socket( in TcpListen() 277 new TCPSocket(/*should_close=*/true)); in TcpListen()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/ |
| H A D | TCPSocket.h | 20 class TCPSocket : public Socket { 22 explicit TCPSocket(bool should_close); 23 TCPSocket(NativeSocket socket, bool should_close); 24 ~TCPSocket() override; 27 std::pair<std::unique_ptr<TCPSocket>, std::unique_ptr<TCPSocket>>; 64 TCPSocket(NativeSocket socket, const TCPSocket &listen_socket);
|
| /freebsd/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-platform.cpp | 179 const Socket::SocketProtocol protocol, std::unique_ptr<TCPSocket> &gdb_sock, in ListenGdbConnectionsIfNeeded() 184 gdb_sock = std::make_unique<TCPSocket>(/*should_close=*/true); in ListenGdbConnectionsIfNeeded() 198 std::unique_ptr<TCPSocket> &gdb_sock, in AcceptGdbConnectionsIfNeeded() 494 socket = std::make_unique<TCPSocket>(sockfd, /*should_close=*/true); in main_platform() 551 static_cast<TCPSocket *>(platform_sock.get())->GetLocalPortNumber(); in main_platform() 566 std::unique_ptr<TCPSocket> gdb_sock; in main_platform()
|
| H A D | lldb-gdbserver.cpp | 222 std::make_unique<TCPSocket>(sockfd, /*should_close=*/true)); in ConnectToRemote()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
| H A D | Socket.h | 45 class TCPSocket; variable 130 static llvm::Expected<std::unique_ptr<TCPSocket>>
|
| /freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | ConnectionFileDescriptorPosix.cpp | 617 static_cast<TCPSocket &>(listening_socket).GetLocalPortNumber(); in AcceptTCP() 623 static_cast<TCPSocket *>(m_io_sp.get())->GetRemoteConnectionURI()); in AcceptTCP() 684 std::unique_ptr<TCPSocket> tcp_socket; in ConnectFD() 685 tcp_socket = std::make_unique<TCPSocket>(fd, /*should_close=*/false); in ConnectFD()
|
| /freebsd/lib/clang/liblldb/ |
| H A D | Makefile | 281 SRCS+= Host/common/TCPSocket.cpp
|