Lines Matching defs:host
745 std::array<char, NI_MAXHOST> host;
746 auto rv = getnameinfo(sa, salen, host.data(), host.size(), nullptr, 0,
751 return host.data();
766 std::array<char, NI_MAXHOST> host;
768 auto rv = getnameinfo(sa, salen, host.data(), host.size(), serv.data(),
774 auto hostlen = strlen(host.data());
783 p = std::copy_n(host.data(), hostlen, p);
788 p = std::copy_n(host.data(), hostlen, p);
1123 bool ipv6_numeric_addr(const char *host) {
1125 return nghttp2_inet_pton(AF_INET6, host, dst) == 1;
1340 StringRef make_http_hostport(BlockAllocator &balloc, const StringRef &host,
1342 auto iov = make_byte_ref(balloc, host.size() + 2 + 1 + 5 + 1);
1343 return make_http_hostport(iov.base, host, port);
1346 StringRef make_hostport(BlockAllocator &balloc, const StringRef &host,
1348 auto iov = make_byte_ref(balloc, host.size() + 2 + 1 + 5 + 1);
1349 return make_hostport(iov.base, host, port);