Searched refs:regex_matcher (Results 1 – 13 of 13) sorted by relevance
38 auto regex_matcher = std::make_unique<RE2>(std::string(matcher)); in Create() local39 if (!regex_matcher->ok()) { in Create()42 regex_matcher->error())); in Create()44 return StringMatcher(std::move(regex_matcher)); in Create()54 StringMatcher::StringMatcher(std::unique_ptr<RE2> regex_matcher) in StringMatcher() argument55 : type_(Type::kSafeRegex), regex_matcher_(std::move(regex_matcher)) {} in StringMatcher()
65 RE2* regex_matcher() const { return regex_matcher_.get(); } in regex_matcher() function71 explicit StringMatcher(std::unique_ptr<RE2> regex_matcher);136 RE2* regex_matcher() const { return matcher_.regex_matcher(); } in regex_matcher() function
39 auto regex_matcher = std::make_unique<RE2>(std::string(matcher)); in Create() local40 if (!regex_matcher->ok()) { in Create()43 regex_matcher->error())); in Create()45 return StringMatcher(std::move(regex_matcher)); in Create()55 StringMatcher::StringMatcher(std::unique_ptr<RE2> regex_matcher) in StringMatcher() argument56 : type_(Type::kSafeRegex), regex_matcher_(std::move(regex_matcher)) {} in StringMatcher()
150 std::unique_ptr<UniLib::RegexMatcher> regex_matcher = in SortedSymbolsForInput() local154 while (regex_matcher->Find(&status) && in SortedSymbolsForInput()156 const CodepointSpan span{regex_matcher->Start(0, &status) + context_start, in SortedSymbolsForInput()157 regex_matcher->End(0, &status) + context_start}; in SortedSymbolsForInput()
452 const envoy_type_matcher_v3_RegexMatcher* regex_matcher = in RoutePathMatchParse() local454 GPR_ASSERT(regex_matcher != nullptr); in RoutePathMatchParse()457 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in RoutePathMatchParse()509 const envoy_type_matcher_v3_RegexMatcher* regex_matcher = in RouteHeaderMatchersParse() local511 GPR_ASSERT(regex_matcher != nullptr); in RouteHeaderMatchersParse()514 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in RouteHeaderMatchersParse()548 const auto* regex_matcher = in RouteHeaderMatchersParse() local550 GPR_ASSERT(regex_matcher != nullptr); in RouteHeaderMatchersParse()552 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in RouteHeaderMatchersParse()
236 auto* regex_matcher = envoy_type_matcher_v3_StringMatcher_safe_regex( in CertificateValidationContextParse() local239 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in CertificateValidationContextParse()
73 const envoy_type_matcher_v3_RegexMatcher* regex_matcher) { in ParseRegexMatcherToJson() argument77 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)))}}); in ParseRegexMatcherToJson()
466 const envoy_type_matcher_v3_RegexMatcher* regex_matcher = in RoutePathMatchParse() local468 GPR_ASSERT(regex_matcher != nullptr); in RoutePathMatchParse()471 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in RoutePathMatchParse()523 const envoy_type_matcher_v3_RegexMatcher* regex_matcher = in RouteHeaderMatchersParse() local525 GPR_ASSERT(regex_matcher != nullptr); in RouteHeaderMatchersParse()528 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in RouteHeaderMatchersParse()562 const auto* regex_matcher = in RouteHeaderMatchersParse() local564 GPR_ASSERT(regex_matcher != nullptr); in RouteHeaderMatchersParse()566 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in RouteHeaderMatchersParse()
234 auto* regex_matcher = envoy_type_matcher_v3_StringMatcher_safe_regex( in CertificateValidationContextParse() local237 envoy_type_matcher_v3_RegexMatcher_regex(regex_matcher)); in CertificateValidationContextParse()
49 ? arg->string_matcher.value().regex_matcher()->pattern() ==59 ? arg->string_matcher.regex_matcher()->pattern() ==69 ? arg->header_matcher.regex_matcher()->pattern() ==
427 EXPECT_EQ(match_subject_alt_names[4].regex_matcher()->pattern(), "regex"); in TEST_F()