Home
last modified time | relevance | path

Searched refs:StringMatcher (Results 1 – 25 of 94) sorted by relevance

1234

/external/icu/icu4c/source/i18n/
Dstrmatch.cpp25 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 …]
Dstrmatch.h44 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;
Drbt_rule.h26 class StringMatcher; variable
71 StringMatcher *anteContext;
76 StringMatcher *key;
82 StringMatcher *postContext;
301 friend class StringMatcher;
/external/proguard/src/proguard/util/
DListParser.java52 public StringMatcher parse(String regularExpression) in parse()
65 public StringMatcher parse(List regularExpressions) in parse()
67 StringMatcher listMatcher = null; in parse()
75 StringMatcher entryMatcher = parseEntry(regularExpression); in parse()
80 (StringMatcher)entryMatcher : in parse()
82 (StringMatcher)new AndMatcher(entryMatcher, listMatcher) : in parse()
83 (StringMatcher)new OrMatcher(entryMatcher, listMatcher); in parse()
96 private StringMatcher parseEntry(String regularExpression) in parseEntry()
124 StringMatcher matcher = parser.parse(args[0]); in main()
DAndMatcher.java29 public class AndMatcher implements StringMatcher
31 private final StringMatcher matcher1;
32 private final StringMatcher matcher2;
35 public AndMatcher(StringMatcher matcher1, StringMatcher matcher2) in AndMatcher()
DOrMatcher.java29 public class OrMatcher implements StringMatcher
31 private final StringMatcher matcher1;
32 private final StringMatcher matcher2;
35 public OrMatcher(StringMatcher matcher1, StringMatcher matcher2) in OrMatcher()
DListMatcher.java31 public class ListMatcher implements StringMatcher
33 private final StringMatcher[] matchers;
37 public ListMatcher(StringMatcher[] matchers) in ListMatcher()
43 public ListMatcher(StringMatcher[] matchers, boolean[] negate) in ListMatcher()
57 StringMatcher matcher = matchers[index]; in matches()
DNameParser.java39 public StringMatcher parse(String regularExpression) in parse()
42 StringMatcher nextMatcher = new EmptyStringMatcher(); in parse()
79 … (StringMatcher)new FixedStringMatcher(regularExpression.substring(0, index), nextMatcher) : in parse()
80 (StringMatcher)nextMatcher; in parse()
93 StringMatcher matcher = parser.parse(args[0]); in main()
DFileNameParser.java40 public StringMatcher parse(String regularExpression) in parse()
43 StringMatcher nextMatcher = new EmptyStringMatcher(); in parse()
94 … (StringMatcher)new FixedStringMatcher(regularExpression.substring(0, index), nextMatcher) : in parse()
95 (StringMatcher)nextMatcher; in parse()
108 StringMatcher matcher = parser.parse(args[0]); in main()
DClassNameParser.java60 public StringMatcher parse(String regularExpression) in parse()
63 StringMatcher nextMatcher = new EmptyStringMatcher(); in parse()
154 … (StringMatcher)new FixedStringMatcher(regularExpression.substring(0, index), nextMatcher) : in parse()
155 (StringMatcher)nextMatcher; in parse()
165 private VariableStringMatcher createAnyTypeMatcher(StringMatcher nextMatcher) in createAnyTypeMatcher()
202 StringMatcher matcher = parser.parse(args[0]); in main()
DNotMatcher.java29 public class NotMatcher implements StringMatcher
31 private final StringMatcher matcher;
34 public NotMatcher(StringMatcher matcher) in NotMatcher()
DSettableMatcher.java29 public class SettableMatcher implements StringMatcher
31 private StringMatcher matcher;
34 public void setMatcher(StringMatcher matcher) in setMatcher()
DFixedStringMatcher.java29 public class FixedStringMatcher implements StringMatcher
32 private final StringMatcher nextMatcher;
41 public FixedStringMatcher(String fixedString, StringMatcher nextMatcher) in FixedStringMatcher()
DVariableStringMatcher.java29 public class VariableStringMatcher implements StringMatcher
35 private final StringMatcher nextMatcher;
42 StringMatcher nextMatcher) in VariableStringMatcher()
/external/clang/utils/TableGen/
DClangCommentHTMLTagsEmitter.cpp25 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()
/external/llvm-project/clang/utils/TableGen/
DClangCommentHTMLTagsEmitter.cpp24 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()
/external/icu/libicu/cts_headers/
Dstrmatch.h44 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;
Drbt_rule.h26 class StringMatcher; variable
71 StringMatcher *anteContext;
76 StringMatcher *key;
82 StringMatcher *postContext;
301 friend class StringMatcher;
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dxds_credentials_test.cc32 XdsApi::StringMatcher ExactMatcher(const char* string) { in ExactMatcher()
33 return XdsApi::StringMatcher(XdsApi::StringMatcher::StringMatcherType::EXACT, in ExactMatcher()
37 XdsApi::StringMatcher PrefixMatcher(const char* string, in PrefixMatcher()
39 return XdsApi::StringMatcher(XdsApi::StringMatcher::StringMatcherType::PREFIX, in PrefixMatcher()
43 XdsApi::StringMatcher SuffixMatcher(const char* string, in SuffixMatcher()
45 return XdsApi::StringMatcher(XdsApi::StringMatcher::StringMatcherType::SUFFIX, in SuffixMatcher()
49 XdsApi::StringMatcher ContainsMatcher(const char* string, in ContainsMatcher()
51 return XdsApi::StringMatcher( in ContainsMatcher()
52 XdsApi::StringMatcher::StringMatcherType::CONTAINS, string, ignore_case); in ContainsMatcher()
55 XdsApi::StringMatcher SafeRegexMatcher(const char* string) { in SafeRegexMatcher()
[all …]
/external/proguard/src/proguard/io/
DDataEntryNameFilter.java23 import proguard.util.StringMatcher;
34 private final StringMatcher stringMatcher;
42 public DataEntryNameFilter(StringMatcher stringMatcher) in DataEntryNameFilter()
/external/catch2/include/internal/
Dcatch_capture_matchers.cpp13 using StringMatcher = Matchers::Impl::MatcherBase<std::string>; typedef
18 …void handleExceptionMatchExpr( AssertionHandler& handler, StringMatcher const& matcher, StringRef … in handleExceptionMatchExpr()
20 … MatchExpr<std::string, StringMatcher const&> expr( exceptionMessage, matcher, matcherString ); in handleExceptionMatchExpr()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_certificate_provider.h39 std::vector<XdsApi::StringMatcher> san_matchers);
51 std::vector<XdsApi::StringMatcher> matchers);
68 std::vector<XdsApi::StringMatcher> subject_alternative_name_matchers() { in subject_alternative_name_matchers()
102 std::vector<XdsApi::StringMatcher> san_matchers_;
Dxds_api.h178 class StringMatcher {
188 StringMatcher() = default;
189 StringMatcher(const StringMatcher& other);
190 StringMatcher(StringMatcherType type, const std::string& matcher,
192 StringMatcher& operator=(const StringMatcher& other);
193 bool operator==(const StringMatcher& other) const;
216 std::vector<StringMatcher> match_subject_alt_names;
/external/llvm-project/lld/include/lld/Common/
DStrings.h62 class StringMatcher {
68 StringMatcher() = default;
71 StringMatcher(llvm::StringRef Pattern) in StringMatcher() function
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliterationRule.java59 private StringMatcher anteContext;
64 private StringMatcher key;
70 private StringMatcher postContext;
205 anteContext = new StringMatcher(pattern.substring(0, anteContextLength), in TransliterationRule()
211 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
218 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
384 ((StringMatcher) segments[i]).resetMatch(); in matchAndReplace()

1234