Home
last modified time | relevance | path

Searched refs:host_str (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/ntp/libntp/
H A Ddecodenetnum.c47 const char *host_str; in decodenetnum() local
69 host_str = num; /* no colons */ in decodenetnum()
71 host_str = num; /* two or more colons */ in decodenetnum()
74 host_str = nbuf; in decodenetnum()
80 host_str = np = nbuf; in decodenetnum()
87 if ( ! *host_str) in decodenetnum()
96 err = getaddrinfo(host_str, port_str, &hints, &ai); in decodenetnum()
101 err = getaddrinfo(host_str, port_str, &hints, &ai); in decodenetnum()
107 err = getaddrinfo(host_str, port_str, &hints, &ai); in decodenetnum()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DUDPSocket.cpp66 std::string host_str; in Connect() local
69 if (!DecodeHostAndPort(name, host_str, port_str, port, &error)) in Connect()
81 int err = ::getaddrinfo(host_str.c_str(), port_str.c_str(), &hints, in Connect()
90 host_str.c_str(), port_str.c_str(), err, gai_strerror(err)); in Connect()
117 const bool bind_addr_success = (host_str == "127.0.0.1" || host_str == "localhost") in Connect()
H A DTCPSocket.cpp139 std::string host_str; in Connect() local
142 if (!DecodeHostAndPort(name, host_str, port_str, port, &error)) in Connect()
146 host_str.c_str(), NULL, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Connect()
176 std::string host_str; in Listen() local
179 if (!DecodeHostAndPort(name, host_str, port_str, port, &error)) in Listen()
182 if (host_str == "*") in Listen()
183 host_str = "0.0.0.0"; in Listen()
185 host_str.c_str(), NULL, AF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); in Listen()
H A DSocket.cpp150 std::string host_str; in TcpListen() local
153 if (!DecodeHostAndPort(host_and_port, host_str, port_str, port, &error)) in TcpListen()
257 std::string &host_str, std::string &port_str, in DecodeHostAndPort() argument
263 if (regex_match.GetMatchAtIndex(host_and_port.data(), 1, host_str) && in DecodeHostAndPort()
266 if (host_str.front() == '[' && host_str.back() == ']') in DecodeHostAndPort()
267 host_str = host_str.substr(1, host_str.size() - 2); in DecodeHostAndPort()
285 host_str.clear(); in DecodeHostAndPort()
/freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-server/
H A DAcceptor.cpp98 std::string host_str; in Create() local
102 if (Socket::DecodeHostAndPort(name, host_str, port_str, port, nullptr)) in Create()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DSocket.h100 std::string &host_str, std::string &port_str,
/freebsd-12.1/crypto/openssh/
H A Dclientloop.c1762 char *host_str, *ip_str; member
1797 free(ctx->host_str); in hostkeys_update_ctx_free()
1897 ctx->host_str, ctx->ip_str, ctx->keys, ctx->nkeys, in update_known_hosts()
2088 options.port, &ctx->host_str, in client_input_hostkeys()
2093 ctx, ctx->host_str, ctx->ip_str, in client_input_hostkeys()