Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_adb.cc457 if (memcmp(input_buffer_, kMagicHandshake, kMagicHandshakeLen) != 0) { in ProcessIncoming()
463 int cc = TEMP_FAILURE_RETRY(write(clientSock, input_buffer_, kMagicHandshakeLen)); in ProcessIncoming()
464 if (cc != kMagicHandshakeLen) { in ProcessIncoming()
465 … PLOG(ERROR) << "Failed writing handshake bytes (" << cc << " of " << kMagicHandshakeLen << ")"; in ProcessIncoming()
469 ConsumeBytes(kMagicHandshakeLen); in ProcessIncoming()
Djdwp_socket.cc503 if (memcmp(input_buffer_, kMagicHandshake, kMagicHandshakeLen) != 0) { in ProcessIncoming()
509 int cc = TEMP_FAILURE_RETRY(write(clientSock, input_buffer_, kMagicHandshakeLen)); in ProcessIncoming()
510 if (cc != kMagicHandshakeLen) { in ProcessIncoming()
512 << cc << " of " << kMagicHandshakeLen << ")"; in ProcessIncoming()
516 ConsumeBytes(kMagicHandshakeLen); in ProcessIncoming()
Djdwp_priv.h42 static constexpr size_t kMagicHandshakeLen = sizeof(kMagicHandshake) - 1; variable
Djdwp_main.cc207 return (input_count_ >= kMagicHandshakeLen); in HaveFullPacket()