Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Host/common/
DTCPSocket.cpp60 TCPSocket::TCPSocket(bool should_close, bool child_processes_inherit) in TCPSocket() function in TCPSocket
63 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() function in TCPSocket
69 TCPSocket::TCPSocket(NativeSocket socket, bool should_close, in TCPSocket() function in TCPSocket
75 TCPSocket::~TCPSocket() { CloseListenSockets(); } in ~TCPSocket()
77 bool TCPSocket::IsValid() const { in IsValid()
82 uint16_t TCPSocket::GetLocalPortNumber() const { in GetLocalPortNumber()
98 std::string TCPSocket::GetLocalIPAddress() const { in GetLocalIPAddress()
110 uint16_t TCPSocket::GetRemotePortNumber() const { in GetRemotePortNumber()
120 std::string TCPSocket::GetRemoteIPAddress() const { in GetRemoteIPAddress()
132 std::string TCPSocket::GetRemoteConnectionURI() const { in GetRemoteConnectionURI()
[all …]
DSocket.cpp118 std::make_unique<TCPSocket>(true, child_processes_inherit); in Create()
169 llvm::Expected<std::unique_ptr<TCPSocket>>
182 std::unique_ptr<TCPSocket> listen_socket( in TcpListen()
183 new TCPSocket(true, child_processes_inherit)); in TcpListen()
/external/llvm-project/lldb/include/lldb/Host/common/
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);
/external/openscreen/osp/impl/discovery/mdns/
Dmdns_responder_platform.cc162 TCPSocket* mDNSPlatformTCPSocket(mDNS* const m, in mDNSPlatformTCPSocket()
169 TCPSocket* mDNSPlatformTCPAccept(TCPSocketFlags flags, int sd) { in mDNSPlatformTCPAccept()
174 int mDNSPlatformTCPGetFD(TCPSocket* sock) { in mDNSPlatformTCPGetFD()
179 mStatus mDNSPlatformTCPConnect(TCPSocket* sock, in mDNSPlatformTCPConnect()
190 void mDNSPlatformTCPCloseConnection(TCPSocket* sock) { in mDNSPlatformTCPCloseConnection()
194 long mDNSPlatformReadTCP(TCPSocket* sock, // NOLINT in mDNSPlatformReadTCP()
202 long mDNSPlatformWriteTCP(TCPSocket* sock, // NOLINT in mDNSPlatformWriteTCP()
/external/llvm-project/lldb/unittests/Host/
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()
DSocketTest.cpp120 std::unique_ptr<TCPSocket> socket_a_up; in TEST_P()
121 std::unique_ptr<TCPSocket> socket_b_up; in TEST_P()
127 std::unique_ptr<TCPSocket> socket_a_up; in TEST_P()
128 std::unique_ptr<TCPSocket> socket_b_up; in TEST_P()
162 llvm::Expected<std::unique_ptr<TCPSocket>> sock = in TEST_P()
170 std::unique_ptr<TCPSocket> socket_a_up; in TEST_P()
171 std::unique_ptr<TCPSocket> socket_b_up; in TEST_P()
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()
DSocketTestUtilities.h35 std::unique_ptr<TCPSocket> *a_up,
36 std::unique_ptr<TCPSocket> *b_up);
DConnectionFileDescriptorTest.cpp23 std::unique_ptr<TCPSocket> socket_a_up; in TestGetURI()
24 std::unique_ptr<TCPSocket> socket_b_up; in TestGetURI()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DTCPChannelClient.java42 private TCPSocket socket;
124 private abstract class TCPSocket extends Thread { class in TCPChannelClient
143 TCPSocket() { in TCPSocket() method in TCPChannelClient.TCPSocket
268 private class TCPSocketServer extends TCPSocket {
334 private class TCPSocketClient extends TCPSocket {
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.h49 typedef void ( *TCPReadEventHandler )( TCPSocket * sock );
68 TCPSocket * nextDispatchable;
197 extern mStatus TCPAddSocket( mDNS * const inMDNS, TCPSocket *sock );
DmDNSWin32.c142 mDNSlocal void TCPCanRead( TCPSocket * sock );
143 mDNSlocal mStatus TCPBeginRecv( TCPSocket * sock );
145 mDNSlocal void TCPCloseSocket( TCPSocket * socket );
146 mDNSlocal void CALLBACK TCPFreeSocket( TCPSocket *sock );
165 mDNSlocal void DispatchTCPEvent( mDNS * const m, TCPSocket * sock );
297 InitLinkedList( &gTCPDispatchableSockets, offsetof( TCPSocket, nextDispatchable ) ); in mDNSPlatformInit()
957 TCPSocket *
965 TCPSocket * sock = NULL; in mDNSPlatformTCPSocket()
977 sock = (TCPSocket *) malloc( sizeof( TCPSocket ) ); in mDNSPlatformTCPSocket()
979 mDNSPlatformMemZero( sock, sizeof( TCPSocket ) ); in mDNSPlatformTCPSocket()
[all …]
/external/llvm-project/lldb/tools/lldb-server/
DAcceptor.cpp114 TCPSocket *tcp_socket = in Create()
115 static_cast<TCPSocket *>(listener_socket_up.get()); in Create()
/external/llvm-project/lldb/include/lldb/Host/
DSocket.h39 class TCPSocket; variable
69 static llvm::Expected<std::unique_ptr<TCPSocket>>
/external/llvm-project/lldb/source/Plugins/Platform/Android/
DPlatformAndroidRemoteGDBServer.cpp65 std::unique_ptr<TCPSocket> tcp_socket(new TCPSocket(true, false)); in FindUnusedPort()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c115 TCPSocket *sock; // socket connected to client
238 mDNSlocal mStatus AddSourceToEventLoop( DaemonInfo * self, TCPSocket *sock, EventCallback callback,… in AddSourceToEventLoop()
270 mDNSlocal mStatus RemoveSourceFromEventLoop( DaemonInfo * self, TCPSocket *sock ) in RemoveSourceFromEventLoop()
296 mDNSlocal TCPSocket *ConnectToServer(DaemonInfo *d) in ConnectToServer()
305 TCPSocket *sock = mDNSPlatformTCPSocket( NULL, 0, &port ); in ConnectToServer()
323 mDNSlocal int MySend(TCPSocket *sock, const void *msg, int len) in MySend()
351 mDNSlocal int SendPacket(TCPSocket *sock, PktMsg *pkt) in SendPacket()
368 static int my_recv(TCPSocket *sock, void *const buf, const int len, mDNSBool * closed) in my_recv()
415 TCPSocket * sock, in RecvPacket()
910 TCPSocket *sock = NULL; in UpdateSRV()
[all …]
Ddnsextd.h112 TCPSocket * sock;
/external/mdnsresponder/mDNSCore/
DmDNSEmbeddedAPI.h455 typedef struct TCPSocket_struct TCPSocket; typedef
492 TCPSocket *sock;
988 TCPSocket *sock;
2631 typedef void (*TCPConnectionCallback)(TCPSocket *sock, void *context, mDNSBool ConnectionEstablishe…
2632 extern TCPSocket *mDNSPlatformTCPSocket(mDNS *const m, TCPSocketFlags flags, mDNSIPPort *port); // …
2633 extern TCPSocket *mDNSPlatformTCPAccept(TCPSocketFlags flags, int sd);
2634 extern int mDNSPlatformTCPGetFD(TCPSocket *sock);
2635 extern mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport…
2637 extern void mDNSPlatformTCPCloseConnection(TCPSocket *sock);
2638 extern long mDNSPlatformReadTCP(TCPSocket *sock, void *buf, unsigned long buflen, mDNSBool *c…
[all …]
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c147 static void UDSCanRead( TCPSocket * sock );
2066 mDNSlocal void UDSCanRead( TCPSocket * sock ) in UDSCanRead()
2094 TCPSocket * sock; in udsSupportAddFDToEventLoop()
2096 sock = malloc( sizeof( TCPSocket ) ); in udsSupportAddFDToEventLoop()
2098 mDNSPlatformMemZero( sock, sizeof( TCPSocket ) ); in udsSupportAddFDToEventLoop()
2134 TCPSocket * sock; in udsSupportReadFD()
2140 sock = ( TCPSocket* ) platform_data; in udsSupportReadFD()
2164 TCPSocket * sock; in udsSupportRemoveFDFromEventLoop()
2167 sock = ( TCPSocket* ) platform_data; in udsSupportRemoveFDFromEventLoop()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c329 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port) in mDNSPlatformTCPSocket()
337 mDNSexport TCPSocket *mDNSPlatformTCPAccept(TCPSocketFlags flags, int sd) in mDNSPlatformTCPAccept()
344 mDNSexport int mDNSPlatformTCPGetFD(TCPSocket *sock) in mDNSPlatformTCPGetFD()
350 mDNSexport mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstpor… in mDNSPlatformTCPConnect()
363 mDNSexport void mDNSPlatformTCPCloseConnection(TCPSocket *sock) in mDNSPlatformTCPCloseConnection()
368 mDNSexport long mDNSPlatformReadTCP(TCPSocket *sock, void *buf, unsigned long buflen, mDNSBool * cl… in mDNSPlatformReadTCP()
377 mDNSexport long mDNSPlatformWriteTCP(TCPSocket *sock, const char *msg, unsigned long len) in mDNSPlatformWriteTCP()
/external/llvm-project/lldb/source/Host/posix/
DConnectionFileDescriptorPosix.cpp211 std::unique_ptr<TCPSocket> tcp_socket; in Connect()
212 tcp_socket = std::make_unique<TCPSocket>(fd, false, false); in Connect()
702 llvm::Expected<std::unique_ptr<TCPSocket>> listening_socket = in SocketListenAndAccept()
/external/antlr/runtime/Ruby/test/functional/debugging/
Ddebug-mode.rb22 @socket = TCPSocket.open( 'localhost', @port )
/external/llvm-project/lldb/unittests/debugserver/
DRNBSocketTest.cpp112 auto port = ((TCPSocket *)server_socket)->GetLocalPortNumber(); in TestSocketConnect()
/external/llvm-project/lldb/source/Host/
DCMakeLists.txt41 common/TCPSocket.cpp
/external/antlr/runtime/Ruby/lib/antlr3/debug/
Dsocket.rb328 TCPSocket.open( @host, @port ) do |socket|

12