Lines Matching defs:host
319 "set host:port for inspector",
325 "activate inspector on host:port (default: 127.0.0.1:9229)",
336 "activate inspector on host:port and break at start of user script",
1000 inline std::string RemoveBrackets(const std::string& host) {
1001 if (!host.empty() && host.front() == '[' && host.back() == ']')
1002 return host.substr(1, host.size() - 2);
1004 return host;
1024 std::string host = RemoveBrackets(arg);
1025 if (host.length() < arg.length())
1026 return HostPort{host, DebugOptions::kDefaultInspectorPort};
1030 // Either a port number or a host name. Assume that
1031 // if it's not all decimal digits, it's a host name.
1165 Local<Value> host;
1166 if (!ToV8Value(context, host_port.host()).ToLocal(&host) ||
1167 obj->Set(context, env->host_string(), host).IsNothing() ||