Searched refs:strieq (Results 1 – 7 of 7) sorted by relevance
/third_party/nghttp2/src/ |
D | util_test.cc | 73 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()
|
D | util.h | 304 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()
|
D | HtmlParser.cc | 47 if (util::strieq(StringRef{attrs[0], strlen(reinterpret_cast<const char *>( in get_attr()
|
D | shrpx_tls.cc | 772 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()
|
D | shrpx_downstream.cc | 865 util::strieq(expect->value, StringRef::from_lit("100-continue")); in inspect_http1_request()
|
D | h2load.cc | 2130 if (util::strieq(StringRef::from_lit(NGHTTP2_CLEARTEXT_PROTO_VERSION_ID), in main() 2133 } else if (util::strieq(NGHTTP2_H1_1, proto)) { in main()
|
D | http2.cc | 1929 if (util::strieq(trailers, StringRef{p, p + trailers.size()})) { in contains_trailers()
|