Searched refs:istarts_with (Results 1 – 5 of 5) sorted by relevance
/third_party/nghttp2/src/ |
D | util_test.cc | 403 CU_ASSERT(util::istarts_with(StringRef::from_lit("FOO"), in test_util_starts_with() 405 CU_ASSERT(util::istarts_with(StringRef::from_lit("ofoo"), StringRef{})); in test_util_starts_with() 406 CU_ASSERT(util::istarts_with(StringRef::from_lit("fOOo"), in test_util_starts_with() 408 CU_ASSERT(!util::istarts_with(StringRef::from_lit("ofoo"), in test_util_starts_with()
|
D | util.h | 309 bool istarts_with(InputIterator1 first1, InputIterator1 last1, in istarts_with() function 317 template <typename S, typename T> bool istarts_with(const S &a, const T &b) { in istarts_with() function 318 return istarts_with(a.begin(), a.end(), b.begin(), b.end()); in istarts_with() 323 return istarts_with(a.begin(), a.end(), b, b + N - 1); in istarts_with_l()
|
D | util.cc | 578 if (istarts_with(options[i].name, options[i].name + optnamelen, unkopt, in show_candidates()
|
D | shrpx_config.cc | 2831 if (util::istarts_with(optarg, SHRPX_UNIX_PATH_PREFIX)) { in parse_config() 2909 if (util::istarts_with(optarg, SHRPX_UNIX_PATH_PREFIX)) { in parse_config()
|
D | shrpx_tls.cc | 1773 return util::istarts_with(StringRef{std::begin(hostname), hnLeftLabelEnd}, in tls_hostname_match()
|