Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
Dutil_test.cc73 CU_ASSERT(util::strieq(std::string("alpha"), std::string("alpha"))); in test_util_strieq()
74 CU_ASSERT(util::strieq(std::string("alpha"), std::string("AlPhA"))); in test_util_strieq()
75 CU_ASSERT(util::strieq(std::string(), std::string())); in test_util_strieq()
76 CU_ASSERT(!util::strieq(std::string("alpha"), std::string("AlPhA "))); in test_util_strieq()
77 CU_ASSERT(!util::strieq(std::string(), std::string("AlPhA "))); in test_util_strieq()
80 util::strieq(StringRef::from_lit("alpha"), StringRef::from_lit("alpha"))); in test_util_strieq()
82 util::strieq(StringRef::from_lit("alpha"), StringRef::from_lit("AlPhA"))); in test_util_strieq()
83 CU_ASSERT(util::strieq(StringRef{}, StringRef{})); in test_util_strieq()
84 CU_ASSERT(!util::strieq(StringRef::from_lit("alpha"), in test_util_strieq()
87 !util::strieq(StringRef::from_lit(""), StringRef::from_lit("AlPhA "))); in test_util_strieq()
Dutil.h304 bool strieq(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2) { in strieq() function
312 template <typename T, typename S> bool strieq(const T &a, const S &b) { in strieq() function
313 return strieq(a.begin(), a.end(), b.begin(), b.end()); in strieq()
318 return strieq(a, a + (N - 1), b, b + blen); in strieq_l()
323 return strieq(a, a + (N - 1), b.begin(), b.end()); in strieq_l()
DHtmlParser.cc47 if (util::strieq(StringRef{attrs[0], strlen(reinterpret_cast<const char *>( in get_attr()
Dshrpx_tls.cc772 if (util::strieq(supported.name, name)) { in create_tls_proto_mask()
1262 return util::strieq(pattern, hostname); in tls_hostname_match()
1279 return util::strieq(pattern, hostname); in tls_hostname_match()
1285 !util::strieq(StringRef{ptLeftLabelEnd, std::end(pattern)}, in tls_hostname_match()
Dshrpx_downstream.cc865 util::strieq(expect->value, StringRef::from_lit("100-continue")); in inspect_http1_request()
Dh2load.cc2130 if (util::strieq(StringRef::from_lit(NGHTTP2_CLEARTEXT_PROTO_VERSION_ID), in main()
2133 } else if (util::strieq(NGHTTP2_H1_1, proto)) { in main()
Dhttp2.cc1929 if (util::strieq(trailers, StringRef{p, p + trailers.size()})) { in contains_trailers()