Home
last modified time | relevance | path

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

123

/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 UnicodeFunctor* 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 …]
Drbt_rule.h26 class StringMatcher; variable
71 StringMatcher *anteContext;
76 StringMatcher *key;
82 StringMatcher *postContext;
301 friend class StringMatcher;
Dstrmatch.h44 class StringMatcher : public UnicodeFunctor, public UnicodeMatcher, public UnicodeReplacer {
60 StringMatcher(const UnicodeString& string,
70 StringMatcher(const StringMatcher& o);
75 virtual ~StringMatcher();
Drbt_rule.cpp121 anteContext = new StringMatcher(pattern, 0, anteContextLength, in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
183 anteContext = (StringMatcher*) other.anteContext->clone(); in TransliterationRule()
186 key = (StringMatcher*) other.key->clone(); in TransliterationRule()
189 postContext = (StringMatcher*) other.postContext->clone(); in TransliterationRule()
366 ((StringMatcher*) segments[i])->resetMatch(); in matchAndReplace()
/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()
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()
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()
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()
DSettableMatcher.java29 public class SettableMatcher implements StringMatcher
31 private StringMatcher matcher;
34 public void setMatcher(StringMatcher matcher) in setMatcher()
DNotMatcher.java29 public class NotMatcher implements StringMatcher
31 private final StringMatcher matcher;
34 public NotMatcher(StringMatcher matcher) in NotMatcher()
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()
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp53 std::vector<StringMatcher::StringPair> NameToUTF8; in EmitClangCommentHTMLNamedCharacterReferences()
70 StringMatcher::StringPair Match(Spelling, CLiteral.str()); in EmitClangCommentHTMLNamedCharacterReferences()
79 StringMatcher("Name", NameToUTF8, OS).Emit(); in EmitClangCommentHTMLNamedCharacterReferences()
/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/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRule.java58 private StringMatcher anteContext;
63 private StringMatcher key;
69 private StringMatcher postContext;
204 anteContext = new StringMatcher(pattern.substring(0, anteContextLength), in TransliterationRule()
210 … key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
217 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
383 ((StringMatcher) segments[i]).resetMatch(); in matchAndReplace()
/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()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DStringMatcher.h31 class StringMatcher {
40 StringMatcher(StringRef strVariableName, in StringMatcher() function
/external/llvm/include/llvm/TableGen/
DStringMatcher.h31 class StringMatcher {
41 StringMatcher(StringRef strVariableName, in StringMatcher() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DStringMatcher.h32 class StringMatcher {
42 StringMatcher(StringRef strVariableName, in StringMatcher() function
/external/proguard/src/proguard/classfile/visitor/
DClassNameFilter.java37 private final StringMatcher regularExpressionMatcher;
78 public ClassNameFilter(StringMatcher regularExpressionMatcher, in ClassNameFilter()

123