Lines Matching refs:options
69 bool InitSocketTransport(JdwpState* state, const JdwpOptions* options) { in InitSocketTransport() argument
70 uint16_t port = options->port; in InitSocketTransport()
72 if (options->server) { in InitSocketTransport()
73 if (options->port != 0) { in InitSocketTransport()
86 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")"; in InitSocketTransport()
93 if (options->suspend) { in InitSocketTransport()
96 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port; in InitSocketTransport()
261 bool JdwpSocketState::Establish(const JdwpOptions* options) { in Establish() argument
268 CHECK(!options->server); in Establish()
269 CHECK(!options->host.empty()); in Establish()
270 CHECK_NE(options->port, 0); in Establish()
279 int cc = gethostbyname_r(options->host.c_str(), &he, auxBuf, sizeof(auxBuf), &pEntry, &error); in Establish()
281 LOG(WARNING) << "gethostbyname_r('" << options->host << "') failed: " << hstrerror(error); in Establish()
286 pEntry = gethostbyname(options->host.c_str()); in Establish()
288 PLOG(WARNING) << "gethostbyname('" << options->host << "') failed"; in Establish()
297 addr.addrInet.sin_port = htons(options->port); in Establish()
320 …LOG(INFO) << "Connection established to " << options->host << " (" << inet_ntoa(addr.addrInet.sin_… in Establish()