| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | decodenetnum.c | 47 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 D | UDPSocket.cpp | 66 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 D | TCPSocket.cpp | 139 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 D | Socket.cpp | 150 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 D | Acceptor.cpp | 98 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 D | Socket.h | 100 std::string &host_str, std::string &port_str,
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | clientloop.c | 1762 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()
|