/aosp_15_r20/external/grpc-grpc-java/xds/src/test/java/io/grpc/xds/internal/security/trust/ |
H A D | XdsX509TrustManagerTest.java | 35 import io.envoyproxy.envoy.type.matcher.v3.StringMatcher; 92 StringMatcher stringMatcher = StringMatcher.newBuilder().setExact("foo.com").build(); in missingPeerCerts() 107 StringMatcher stringMatcher = StringMatcher.newBuilder().setExact("foo.com").build(); in emptyArrayPeerCerts() 122 StringMatcher stringMatcher = StringMatcher.newBuilder().setExact("foo.com").build(); in noSansInPeerCerts() 139 StringMatcher stringMatcher = in oneSanInPeerCertsVerifies() 140 StringMatcher.newBuilder() in oneSanInPeerCertsVerifies() 156 StringMatcher stringMatcher = in oneSanInPeerCertsVerifies_differentCase_expectException() 157 StringMatcher.newBuilder() in oneSanInPeerCertsVerifies_differentCase_expectException() 177 StringMatcher stringMatcher = in oneSanInPeerCertsVerifies_ignoreCase() 178 StringMatcher.newBuilder().setExact("Waterzooi.Test.google.be").setIgnoreCase(true).build(); in oneSanInPeerCertsVerifies_ignoreCase() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/matchers/ |
D | matchers.h | 32 class StringMatcher { 44 static absl::StatusOr<StringMatcher> Create(Type type, 48 StringMatcher() = default; 49 StringMatcher(const StringMatcher& other); 50 StringMatcher& operator=(const StringMatcher& other); 51 StringMatcher(StringMatcher&& other) noexcept; 52 StringMatcher& operator=(StringMatcher&& other) noexcept; 53 bool operator==(const StringMatcher& other) const; 70 StringMatcher(Type type, absl::string_view matcher, bool case_sensitive); 71 explicit StringMatcher(std::unique_ptr<RE2> regex_matcher); [all …]
|
D | matchers.cc | 35 absl::StatusOr<StringMatcher> StringMatcher::Create(Type type, in Create() 45 return StringMatcher(std::move(regex_matcher)); in Create() 47 return StringMatcher(type, matcher, case_sensitive); in Create() 51 StringMatcher::StringMatcher(Type type, absl::string_view matcher, in StringMatcher() function in grpc_core::StringMatcher 55 StringMatcher::StringMatcher(std::unique_ptr<RE2> regex_matcher) in StringMatcher() function in grpc_core::StringMatcher 58 StringMatcher::StringMatcher(const StringMatcher& other) in StringMatcher() function in grpc_core::StringMatcher 67 StringMatcher& StringMatcher::operator=(const StringMatcher& other) { in operator =() 78 StringMatcher::StringMatcher(StringMatcher&& other) noexcept in StringMatcher() function in grpc_core::StringMatcher 87 StringMatcher& StringMatcher::operator=(StringMatcher&& other) noexcept { in operator =() 98 bool StringMatcher::operator==(const StringMatcher& other) const { in operator ==() [all …]
|
/aosp_15_r20/external/grpc-grpc/src/core/lib/matchers/ |
H A D | matchers.h | 32 class StringMatcher { 44 static absl::StatusOr<StringMatcher> Create(Type type, 48 StringMatcher() = default; 49 StringMatcher(const StringMatcher& other); 50 StringMatcher& operator=(const StringMatcher& other); 51 StringMatcher(StringMatcher&& other) noexcept; 52 StringMatcher& operator=(StringMatcher&& other) noexcept; 53 bool operator==(const StringMatcher& other) const; 70 StringMatcher(Type type, absl::string_view matcher, bool case_sensitive); 71 explicit StringMatcher(std::unique_ptr<RE2> regex_matcher); [all …]
|
H A D | matchers.cc | 34 absl::StatusOr<StringMatcher> StringMatcher::Create(Type type, in Create() 44 return StringMatcher(std::move(regex_matcher)); in Create() 46 return StringMatcher(type, matcher, case_sensitive); in Create() 50 StringMatcher::StringMatcher(Type type, absl::string_view matcher, in StringMatcher() function in grpc_core::StringMatcher 54 StringMatcher::StringMatcher(std::unique_ptr<RE2> regex_matcher) in StringMatcher() function in grpc_core::StringMatcher 57 StringMatcher::StringMatcher(const StringMatcher& other) in StringMatcher() function in grpc_core::StringMatcher 66 StringMatcher& StringMatcher::operator=(const StringMatcher& other) { in operator =() 77 StringMatcher::StringMatcher(StringMatcher&& other) noexcept in StringMatcher() function in grpc_core::StringMatcher 86 StringMatcher& StringMatcher::operator=(StringMatcher&& other) noexcept { in operator =() 97 bool StringMatcher::operator==(const StringMatcher& other) const { in operator ==() [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/ |
H A D | strmatch.cpp | 25 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(StringMatcher) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 27 StringMatcher::StringMatcher(const UnicodeString& theString, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 StringMatcher::StringMatcher(const StringMatcher& o) : in StringMatcher() function in StringMatcher 55 StringMatcher::~StringMatcher() { in ~StringMatcher() 61 StringMatcher* StringMatcher::clone() const { in clone() 62 return new StringMatcher(*this); in clone() 69 UnicodeMatcher* StringMatcher::toMatcher() const { in toMatcher() 70 StringMatcher *nonconst_this = const_cast<StringMatcher *>(this); in toMatcher() 80 UnicodeReplacer* StringMatcher::toReplacer() const { in toReplacer() 81 StringMatcher *nonconst_this = const_cast<StringMatcher *>(this); in toReplacer() [all …]
|
H A D | strmatch.h | 44 class StringMatcher : public UnicodeFunctor, public UnicodeMatcher, public UnicodeReplacer { 60 StringMatcher(const UnicodeString& string, 70 StringMatcher(const StringMatcher& o); 75 virtual ~StringMatcher(); 81 virtual StringMatcher* clone() const override;
|
/aosp_15_r20/external/icu/icu4c/source/i18n/ |
H A D | strmatch.cpp | 25 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(StringMatcher) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 27 StringMatcher::StringMatcher(const UnicodeString& theString, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 StringMatcher::StringMatcher(const StringMatcher& o) : in StringMatcher() function in StringMatcher 55 StringMatcher::~StringMatcher() { in ~StringMatcher() 61 StringMatcher* StringMatcher::clone() const { in clone() 62 return new StringMatcher(*this); in clone() 69 UnicodeMatcher* StringMatcher::toMatcher() const { in toMatcher() 70 StringMatcher *nonconst_this = const_cast<StringMatcher *>(this); in toMatcher() 80 UnicodeReplacer* StringMatcher::toReplacer() const { in toReplacer() 81 StringMatcher *nonconst_this = const_cast<StringMatcher *>(this); in toReplacer() [all …]
|
H A D | strmatch.h | 44 class StringMatcher : public UnicodeFunctor, public UnicodeMatcher, public UnicodeReplacer { 60 StringMatcher(const UnicodeString& string, 70 StringMatcher(const StringMatcher& o); 75 virtual ~StringMatcher(); 81 virtual StringMatcher* clone() const override;
|
H A D | rbt_rule.h | 26 class StringMatcher; variable 71 StringMatcher *anteContext; 76 StringMatcher *key; 82 StringMatcher *postContext; 301 friend class StringMatcher;
|
/aosp_15_r20/external/grpc-grpc/test/core/matchers/ |
H A D | matchers_test.cc | 24 StringMatcher::Create(StringMatcher::Type::kExact, in TEST() 34 StringMatcher::Create(StringMatcher::Type::kExact, in TEST() 42 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kPrefix, in TEST() 53 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kPrefix, in TEST() 63 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kSuffix, in TEST() 74 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kSuffix, in TEST() 84 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kSafeRegex, in TEST() 96 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kSafeRegex, in TEST() 106 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kSafeRegex, in TEST() 114 auto string_matcher = StringMatcher::Create(StringMatcher::Type::kContains, in TEST() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/xds/go/xds/type/matcher/v3/ |
D | string.pb.go | 29 type StringMatcher struct { struct 44 func (x *StringMatcher) Reset() { argument 45 *x = StringMatcher{} 53 func (x *StringMatcher) String() string { argument 57 func (*StringMatcher) ProtoMessage() {} argument 59 func (x *StringMatcher) ProtoReflect() protoreflect.Message { argument 72 func (*StringMatcher) Descriptor() ([]byte, []int) { argument 76 func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern { argument 83 func (x *StringMatcher) GetExact() string { argument 90 func (x *StringMatcher) GetPrefix() string { argument [all …]
|
/aosp_15_r20/external/grpc-grpc/test/core/security/ |
H A D | authorization_matchers_test.cc | 113 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 125 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 189 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 199 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 209 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 220 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 231 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 446 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 471 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() 485 StringMatcher::Create(StringMatcher::Type::kExact, in TEST_F() [all …]
|
H A D | xds_credentials_test.cc | 32 StringMatcher ExactMatcher(const char* string) { in ExactMatcher() 33 return StringMatcher::Create(StringMatcher::Type::kExact, string).value(); in ExactMatcher() 36 StringMatcher PrefixMatcher(const char* string, bool case_sensitive = true) { in PrefixMatcher() 37 return StringMatcher::Create(StringMatcher::Type::kPrefix, string, in PrefixMatcher() 42 StringMatcher SuffixMatcher(const char* string, bool case_sensitive = true) { in SuffixMatcher() 43 return StringMatcher::Create(StringMatcher::Type::kSuffix, string, in SuffixMatcher() 48 StringMatcher ContainsMatcher(const char* string, bool case_sensitive = true) { in ContainsMatcher() 49 return StringMatcher::Create(StringMatcher::Type::kContains, string, in ContainsMatcher() 54 StringMatcher SafeRegexMatcher(const char* string) { in SafeRegexMatcher() 55 return StringMatcher::Create(StringMatcher::Type::kSafeRegex, string).value(); in SafeRegexMatcher()
|
/aosp_15_r20/external/grpc-grpc-java/xds/src/main/java/io/grpc/xds/internal/ |
H A D | Matchers.java | 71 public abstract StringMatcher stringMatcher(); in stringMatcher() 130 String name, StringMatcher stringMatcher, boolean inverted) { in forString() 141 @Nullable StringMatcher stringMatcher, boolean inverted) { in create() 207 public abstract static class StringMatcher { class in Matchers 231 public static StringMatcher forExact(String exact, boolean ignoreCase) { in forExact() 233 return StringMatcher.create(exact, null, null, null, null, in forExact() 238 public static StringMatcher forPrefix(String prefix, boolean ignoreCase) { in forPrefix() 240 return StringMatcher.create(null, prefix, null, null, null, in forPrefix() 245 public static StringMatcher forSuffix(String suffix, boolean ignoreCase) { in forSuffix() 247 return StringMatcher.create(null, null, suffix, null, null, in forSuffix() [all …]
|
H A D | MatcherParser.java | 71 public static Matchers.StringMatcher parseStringMatcher( in parseStringMatcher() 72 io.envoyproxy.envoy.type.matcher.v3.StringMatcher proto) { in parseStringMatcher() 75 return Matchers.StringMatcher.forExact(proto.getExact(), proto.getIgnoreCase()); in parseStringMatcher() 77 return Matchers.StringMatcher.forPrefix(proto.getPrefix(), proto.getIgnoreCase()); in parseStringMatcher() 79 return Matchers.StringMatcher.forSuffix(proto.getSuffix(), proto.getIgnoreCase()); in parseStringMatcher() 81 return Matchers.StringMatcher.forSafeRegEx( in parseStringMatcher() 84 return Matchers.StringMatcher.forContains(proto.getContains()); in parseStringMatcher()
|
/aosp_15_r20/external/grpc-grpc-java/xds/src/test/java/io/grpc/xds/internal/ |
H A D | MatcherTest.java | 25 import io.grpc.xds.internal.Matchers.StringMatcher; 65 StringMatcher matcher = StringMatcher.forExact("essence", false); in stringMatcher() 73 matcher = StringMatcher.forExact("essence", true); in stringMatcher() 76 matcher = StringMatcher.forExact("", true); in stringMatcher() 80 matcher = StringMatcher.forPrefix("Ess", false); in stringMatcher() 89 matcher = StringMatcher.forPrefix("Ess", true); in stringMatcher() 93 matcher = StringMatcher.forPrefix("", false); in stringMatcher() 96 matcher = StringMatcher.forSuffix("ess", false); in stringMatcher() 104 matcher = StringMatcher.forSuffix("ess", true); in stringMatcher() 107 matcher = StringMatcher.forSuffix("", true); in stringMatcher() [all …]
|
/aosp_15_r20/external/grpc-grpc-java/authz/src/test/java/io/grpc/authz/ |
H A D | AuthorizationPolicyTranslatorTest.java | 32 import io.envoyproxy.envoy.type.matcher.v3.StringMatcher; 209 .setPrincipalName(StringMatcher.newBuilder() in parseSourceSuccess() 213 .setPrincipalName(StringMatcher.newBuilder() in parseSourceSuccess() 217 .setPrincipalName(StringMatcher.newBuilder() in parseSourceSuccess() 221 .setPrincipalName(StringMatcher.newBuilder() in parseSourceSuccess() 236 .setPrincipalName(StringMatcher.newBuilder() in parseSourceSuccess() 470 .setPath(StringMatcher.newBuilder() in parseRequestSuccess() 474 .setPath(StringMatcher.newBuilder() in parseRequestSuccess() 484 .setStringMatch(StringMatcher.newBuilder() in parseRequestSuccess() 507 .setStringMatch(StringMatcher.newBuilder() in parseRequestSuccess() [all …]
|
/aosp_15_r20/external/clang/utils/TableGen/ |
H A D | ClangCommentHTMLTagsEmitter.cpp | 25 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags() 33 StringMatcher("Name", Matches, OS).Emit(); in EmitClangCommentHTMLTags() 41 std::vector<StringMatcher::StringPair> MatchesEndTagOptional; in EmitClangCommentHTMLTagsProperties() 42 std::vector<StringMatcher::StringPair> MatchesEndTagForbidden; in EmitClangCommentHTMLTagsProperties() 45 StringMatcher::StringPair Match(Spelling, "return true;"); in EmitClangCommentHTMLTagsProperties() 55 StringMatcher("Name", MatchesEndTagOptional, OS).Emit(); in EmitClangCommentHTMLTagsProperties() 60 StringMatcher("Name", MatchesEndTagForbidden, OS).Emit(); in EmitClangCommentHTMLTagsProperties()
|
/aosp_15_r20/prebuilts/runtime/mainline/i18n/test-exports/common_os/include/external/icu/icu4c/source/i18n/ |
H A D | strmatch.h | 44 class StringMatcher : public UnicodeFunctor, public UnicodeMatcher, public UnicodeReplacer { 60 StringMatcher(const UnicodeString& string, 70 StringMatcher(const StringMatcher& o); 75 virtual ~StringMatcher(); 81 virtual StringMatcher* clone() const;
|
H A D | rbt_rule.h | 26 class StringMatcher; variable 71 StringMatcher *anteContext; 76 StringMatcher *key; 82 StringMatcher *postContext; 301 friend class StringMatcher;
|
/aosp_15_r20/external/icu/libicu/cts_headers/ |
H A D | strmatch.h | 44 class StringMatcher : public UnicodeFunctor, public UnicodeMatcher, public UnicodeReplacer { 60 StringMatcher(const UnicodeString& string, 70 StringMatcher(const StringMatcher& o); 75 virtual ~StringMatcher(); 81 virtual StringMatcher* clone() const override;
|
H A D | rbt_rule.h | 26 class StringMatcher; variable 71 StringMatcher *anteContext; 76 StringMatcher *key; 82 StringMatcher *postContext; 301 friend class StringMatcher;
|
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/search/ |
D | StringMatcherUtility.java | 39 public static boolean matches(String query, String target, StringMatcher matcher) { in matches() 76 public static IntArray getListOfBreakpoints(CharSequence input, StringMatcher matcher) { 108 public static class StringMatcher { 114 StringMatcher() { 144 public static StringMatcher getInstance() { in getInstance() 145 return new StringMatcher(); in getInstance() 206 public static class StringMatcherSpace extends StringMatcher {
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/xds/ |
D | xds_common_types.cc | 210 StringMatcher::Type type; in CertificateValidationContextParse() 214 type = StringMatcher::Type::kExact; in CertificateValidationContextParse() 219 type = StringMatcher::Type::kPrefix; in CertificateValidationContextParse() 224 type = StringMatcher::Type::kSuffix; in CertificateValidationContextParse() 229 type = StringMatcher::Type::kContains; in CertificateValidationContextParse() 235 type = StringMatcher::Type::kSafeRegex; in CertificateValidationContextParse() 246 absl::StatusOr<StringMatcher> string_matcher = in CertificateValidationContextParse() 247 StringMatcher::Create(type, matcher, in CertificateValidationContextParse() 253 if (type == StringMatcher::Type::kSafeRegex && ignore_case) { in CertificateValidationContextParse()
|