Home
last modified time | relevance | path

Searched refs:clientSock (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jdwp/
Djdwp_socket.cc179 int local_clientSock = this->clientSock; in Shutdown()
182 this->listenSock = this->clientSock = -1; in Shutdown()
226 CHECK_EQ(clientSock, -1); /* must not already be talking */ in Accept()
249 clientSock = sock; in Accept()
254 SetNoDelay(clientSock); in Accept()
332 clientSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in Establish()
333 if (clientSock < 0) { in Establish()
341 if (connect(clientSock, &addr.addrPlain, sizeof(addr)) != 0) { in Establish()
344 close(clientSock); in Establish()
345 clientSock = -1; in Establish()
[all …]
Djdwp_adb.cc77 if (clientSock != -1) { in ~JdwpAdbState()
78 shutdown(clientSock, SHUT_RDWR); in ~JdwpAdbState()
79 close(clientSock); in ~JdwpAdbState()
100 local_clientSock = this->clientSock; in Shutdown()
102 this->control_sock_ = this->clientSock = -1; in Shutdown()
304 clientSock = sock; in Accept()
309 if (clientSock == -1) { in Accept()
316 VLOG(jdwp) << "received file descriptor " << clientSock << " from ADB"; in Accept()
341 CHECK_NE(clientSock, -1); in ProcessIncoming()
362 fd = clientSock; in ProcessIncoming()
[all …]
Djdwp_main.cc158 clientSock = -1; in JdwpNetStateBase()
225 return clientSock >= 0; in IsConnected()
232 if (clientSock < 0) { in Close()
236 VLOG(jdwp) << "+++ closing JDWP connection on fd " << clientSock; in Close()
238 close(clientSock); in Close()
239 clientSock = -1; in Close()
252 return TEMP_FAILURE_RETRY(write(clientSock, expandBufGetBuffer(pReply), length)); in WritePacket()
266 return TEMP_FAILURE_RETRY(writev(clientSock, &iov[0], iov.size())); in WriteBufferedPacketLocked()
Djdwp_priv.h98 int clientSock; // Active connection to debugger. variable