Home
last modified time | relevance | path

Searched refs:RegexMatcher (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.h208 UXMLElement *createElement(RegexMatcher &mEl, UErrorCode &status);
221 RegexMatcher mXMLDecl;
222 RegexMatcher mXMLComment;
223 RegexMatcher mXMLSP;
224 RegexMatcher mXMLDoctype;
225 RegexMatcher mXMLPI;
226 RegexMatcher mXMLElemStart;
227 RegexMatcher mXMLElemEnd;
228 RegexMatcher mXMLElemEmpty;
229 RegexMatcher mXMLCharData;
[all …]
Dxmlparser.cpp489 UXMLParser::createElement(RegexMatcher &mEl, UErrorCode &status) { in createElement()
/external/icu/icu4c/source/i18n/unicode/
Dregex.h66 class RegexMatcher; variable
347 virtual RegexMatcher *matcher(const UnicodeString &input,
363 RegexMatcher *matcher(const UChar *input,
379 virtual RegexMatcher *matcher(UErrorCode &status) const;
632 friend class RegexMatcher; variable
664 class U_I18N_API RegexMatcher U_FINAL : public UObject {
681 RegexMatcher(const UnicodeString &regexp, uint32_t flags, UErrorCode &status);
698 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status);
721 RegexMatcher(const UnicodeString &regexp, const UnicodeString &input,
745 RegexMatcher(UText *regexp, UText *input,
[all …]
/external/icu/icu4c/source/i18n/
Drematch.cpp70 RegexMatcher::RegexMatcher(const RegexPattern *pat) { in RegexMatcher() function in RegexMatcher
86 RegexMatcher::RegexMatcher(const UnicodeString &regexp, const UnicodeString &input, in RegexMatcher() function in RegexMatcher
105 RegexMatcher::RegexMatcher(UText *regexp, UText *input, in RegexMatcher() function in RegexMatcher
122 RegexMatcher::RegexMatcher(const UnicodeString &regexp, in RegexMatcher() function in RegexMatcher
137 RegexMatcher::RegexMatcher(UText *regexp, in RegexMatcher() function in RegexMatcher
156 RegexMatcher::~RegexMatcher() { in ~RegexMatcher()
190 void RegexMatcher::init(UErrorCode &status) { in init()
238 void RegexMatcher::init2(UText *input, UErrorCode &status) { in init2()
277 RegexMatcher &RegexMatcher::appendReplacement(UnicodeString &dest, in appendReplacement()
300 RegexMatcher &RegexMatcher::appendReplacement(UText *dest, in appendReplacement()
[all …]
Drepattrn.cpp468 RegexMatcher *RegexPattern::matcher(const UnicodeString &input, in matcher()
470 RegexMatcher *retMatcher = matcher(status); in matcher()
484 RegexMatcher *RegexPattern::matcher(UErrorCode &status) const { in matcher()
485 RegexMatcher *retMatcher = NULL; in matcher()
495 retMatcher = new RegexMatcher(this); in matcher()
520 RegexMatcher *matcher = NULL; in matches()
544 RegexMatcher *matcher = NULL; in matches()
651 RegexMatcher m(this); in split()
672 RegexMatcher m(this); in split()
Duregex.cpp43 RegexMatcher *fMatcher;
1369 RegexMatcher *m = regexp->fMatcher; in appendReplacement()
1641 RegexMatcher *m = regexp->fMatcher; in appendTail()
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.h90 LocalPointer<RegexMatcher> fRuleMatcher; // Regular expression that matches the rule.
123 LocalPointer<RegexMatcher> fSetRefsMatcher;
124 LocalPointer<RegexMatcher> fCommentsMatcher;
125 LocalPointer<RegexMatcher> fClassDefMatcher;
126 LocalPointer<RegexMatcher> fRuleDefMatcher;
Dregextst.cpp400 RegexMatcher *REMatcher = NULL; in doRegexLMTest()
463 RegexMatcher *REMatcher = NULL; in doRegexLMTestUTF8()
616RegexMatcher *m = pattern->matcher(UNICODE_STRING_SIMPLE("a\\u00dfxzzz").unescape(), status); in Basic()
761 RegexMatcher matcher(&pattern, 0, status); in UTextBasic()
818 RegexMatcher *m1 = pat2->matcher(inStr1, status); in API_Match()
891 RegexMatcher m("A?", 0, status); // will match zero length string. in API_Match()
942 RegexMatcher *matcher = pat->matcher(data, status); in API_Match()
1002 RegexMatcher *matcher = pat->matcher(data, status); in API_Match()
1056 RegexMatcher *matcher = pat->matcher(data, status); in API_Match()
1080RegexMatcher m("(?= ?)", 0, status); // This pattern will zero-length matches anywhere, in API_Match()
[all …]
Ddcfmtest.cpp211 RegexMatcher parseLineMat(UnicodeString( in DataDrivenTests()
219 RegexMatcher formatLineMat(UnicodeString( in DataDrivenTests()
228 RegexMatcher commentMat (UNICODE_STRING_SIMPLE("\\s*(#.*)?$"), 0, status); in DataDrivenTests()
229 RegexMatcher lineMat(UNICODE_STRING_SIMPLE("(?m)^(.*?)$"), testString, 0, status); in DataDrivenTests()
Drbbimonkeytest.cpp75 fSetRefsMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules()
82 fCommentsMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules()
90 fClassDefMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules()
99 fRuleDefMatcher.adoptInstead(new RegexMatcher(UnicodeString( in BreakRules()
212 …thisRule->fRuleMatcher.adoptInstead(new RegexMatcher(thisRule->fExpandedRule, UREGEX_COMMENTS | UR… in addRule()
942 RegexMatcher m(name, params, 0, status); in getIntParam()
959 RegexMatcher m(name, params, 0, status); in getStringParam()
974 RegexMatcher m(name, params, UREGEX_CASE_INSENSITIVE, status); in getBoolParam()
Dssearch.cpp1275 RegexMatcher m(name, params, 0, status); in getIntParam()
1412 RegexMatcher m(" *strength *= *(primary|secondary|tertiary) *", p, 0, status); in monkeyTest()
1427 if (RegexMatcher("\\S", p, 0, status).find()) { in monkeyTest()
Drbbitst.cpp1132RegexMatcher localeMatcher(UNICODE_STRING_SIMPLE("<locale *([\\p{L}\\p{Nd}_@&=-]*) *>"), 0, s… in TestExtended()
1756RegexMatcher tokenMatcher(tokenExpr, testFileAsString, UREGEX_MULTILINE | UREGEX_DOTALL, status… in runUnicodeTestData()
3019 RegexMatcher *fNumberMatcher;
3150 fNumberMatcher = new RegexMatcher( in RBBILineMonkey()
3720 RegexMatcher m(name, params, 0, status); in getIntParam()
4144 RegexMatcher m(" *type *= *(char|word|line|sent|title) *", p, 0, status); in TestMonkey()
4151 RegexMatcher u(" *utext", p, 0, status); in TestMonkey()
4160 if (RegexMatcher(UNICODE_STRING_SIMPLE("\\S"), p, 0, status).find()) { in TestMonkey()
Ditspoof.cpp358RegexMatcher parseLine("(?m)^([0-9A-F]{4}[^#;]*?);([^#;]*?);([^#]*)", confusablesTxt, 0, status); in testConfData()
/external/icu/icu4c/source/tools/genrb/
Dprscmnts.cpp57 RegexMatcher myMatcher(patString, src, options, *status); in removeText()
105 RegexMatcher matcher(patternString, UREGEX_DOTALL, *status); in getText()
166 RegexMatcher matcher(patternString, UREGEX_DOTALL, *status); in getCount()
206 RegexMatcher matcher(patternString, UREGEX_DOTALL, *status); in getAt()
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp126 RegexMatcher *matcher = rePat->matcher(empty, status); in main()
/external/libtextclassifier/smartselect/
Dtoken-feature-extractor.cc275 std::unique_ptr<icu::RegexMatcher> matcher( in Extract()