Home
last modified time | relevance | path

Searched refs:path_matcher (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc363 const XdsApi::Route::Matchers::PathMatcher& path_matcher) { in PathMatch() argument
364 switch (path_matcher.type) { in PathMatch()
366 return path_matcher.case_sensitive in PathMatch()
367 ? absl::StartsWith(path, path_matcher.string_matcher) in PathMatch()
369 path_matcher.string_matcher); in PathMatch()
371 return path_matcher.case_sensitive in PathMatch()
372 ? path == path_matcher.string_matcher in PathMatch()
373 : absl::EqualsIgnoreCase(path, path_matcher.string_matcher); in PathMatch()
378 return RE2::FullMatch(path.data(), *path_matcher.regex_matcher); in PathMatch()
477 entry.route.matchers.path_matcher)) { in GetCallConfig()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_api.h117 PathMatcher path_matcher; member
122 return (path_matcher == other.path_matcher &&
Dxds_api.cc276 contents.push_back(path_matcher.ToString()); in ToString()
1067 route->matchers.path_matcher.case_sensitive = in RoutePathMatchParse()
1094 route->matchers.path_matcher.type = in RoutePathMatchParse()
1096 route->matchers.path_matcher.string_matcher = std::string(prefix); in RoutePathMatchParse()
1129 route->matchers.path_matcher.type = in RoutePathMatchParse()
1131 route->matchers.path_matcher.string_matcher = std::string(path); in RoutePathMatchParse()
1139 options.set_case_sensitive(route->matchers.path_matcher.case_sensitive); in RoutePathMatchParse()
1145 route->matchers.path_matcher.type = in RoutePathMatchParse()
1147 route->matchers.path_matcher.regex_matcher = std::move(regex); in RoutePathMatchParse()