Lines Matching refs:util
55 #include "util.h"
163 randgen_(util::make_mt19937()),
364 util::shuffle(std::begin(shared_addr->addrs),
741 auto service = util::utos(faddr.port);
798 util::make_socket_nonblocking(fd);
799 util::make_socket_closeonexec(fd);
1072 faddr.hostport = util::make_http_hostport(mod_config()->balloc,
1109 std::array<char, util::max_hostport> hostport_buf;
1111 auto hostport = util::make_http_hostport(std::begin(hostport_buf),
1127 if (util::streq(faddr.hostport, StringRef::from_lit("0.0.0.0"))) {
1133 if (util::streq(faddr.hostport, StringRef::from_lit("[::]"))) {
1144 if (util::starts_with(faddr.hostport,
1151 if (util::starts_with(faddr.hostport, StringRef::from_lit("[::]:"))) {
1296 util::inp_strlower(low_host.base, ep);
1320 LOG(WARN) << "Could not connect to " << util::to_numeric_addr(raddr)