Lines Matching refs:util

87 #include "util.h"
203 util::inp_strlower(std::begin(buf), end_buf);
413 LOG(INFO) << "Memcached: cache session, id=" << util::format_hex(id, idlen);
420 util::format_hex(balloc, StringRef{id, static_cast<size_t>(idlen)});
470 << util::format_hex(id, idlen);
483 << util::format_hex(id, idlen);
490 util::format_hex(balloc, StringRef{id, static_cast<size_t>(idlen)});
568 << util::format_hex(key.data.name);
609 << util::format_hex(key_name, 16) << " not found";
616 << util::format_hex(key_name, 16);
693 util::streq(target_proto_id, StringRef{proto_id, proto_len})) {
915 if (util::strieq(supported.name, name)) {
1522 if (!util::select_h2(const_cast<const unsigned char **>(out), outlen, in,
1537 if (util::streq(NGHTTP2_H1_1_ALPN, StringRef{in, in + (in[0] + 1)})) {
1711 rv = util::make_socket_nodelay(fd);
1740 return util::strieq(pattern, hostname);
1752 ptLeftLabelEnd < ptWildcard || util::istarts_with_l(pattern, "xn--")) {
1757 return util::strieq(pattern, hostname);
1763 !util::strieq(StringRef{ptLeftLabelEnd, std::end(pattern)},
1773 return util::istarts_with(StringRef{std::begin(hostname), hnLeftLabelEnd},
1775 util::iends_with(StringRef{std::begin(hostname), hnLeftLabelEnd},
1869 auto rv = util::streq(hostname, cn);
1951 if (util::numeric_host(hostname.c_str())) {
2088 if (!util::ends_with(rev_prefix, wprefix.prefix)) {
2169 util::inp_strlower(std::begin(buf), end_buf);
2210 util::inp_strlower(std::begin(buf), end_buf);
2231 if (util::streq(proto, needle)) {
2399 auto alpn = util::get_default_alpn();
2459 if (util::strieq_l("TLSv1.3", v)) {
2463 if (util::strieq_l("TLSv1.2", v)) {
2466 if (util::strieq_l("TLSv1.1", v)) {
2469 if (util::strieq_l("TLSv1.0", v)) {
2614 return util::format_hex(balloc, StringRef{b.data(), static_cast<size_t>(n)});
2650 auto tt = util::parse_openssl_asn1_time_print(