/external/icu4c/tools/toolutil/ |
H A D | xmlparser.h | 206 UXMLElement *createElement(RegexMatcher &mEl, UErrorCode &status); 219 RegexMatcher mXMLDecl; 220 RegexMatcher mXMLComment; 221 RegexMatcher mXMLSP; 222 RegexMatcher mXMLDoctype; 223 RegexMatcher mXMLPI; 224 RegexMatcher mXMLElemStart; 225 RegexMatcher mXMLElemEnd; 226 RegexMatcher mXMLElemEmpty; 227 RegexMatcher mXMLCharDat [all...] |
H A D | xmlparser.cpp | 487 UXMLParser::createElement(RegexMatcher &mEl, UErrorCode &status) {
|
/external/icu4c/i18n/unicode/ |
H A D | regex.h | 28 * <code>RegexPattern</code> and <code>RegexMatcher</code>. 31 * and can be used to create <code>RegexMatcher</code> objects for the pattern.</p> 33 * <p>Class <code>RegexMatcher</code> bundles together a regular expression 35 * <code>RegexMatcher</code> includes API for doing plain find or search 39 * <p>Note that by constructing <code>RegexMatcher</code> objects directly from regular 61 class RegexMatcher; 122 * RegexMatcher objects that were created from the RegexPattern are active. 169 * <p>Note that RegexPattern objects must not be deleted while RegexMatcher 176 * <p>Note that it is often more convenient to construct a RegexMatcher directly 178 * then creating a RegexMatcher objec 644 class U_I18N_API RegexMatcher: public UObject { class in inherits:UObject [all...] |
/external/icu4c/i18n/ |
H A D | rematch.cpp | 10 // Contains the implementation of class RegexMatcher, 77 RegexMatcher::RegexMatcher(const RegexPattern *pat) { function in class:RegexMatcher 93 RegexMatcher::RegexMatcher(const UnicodeString ®exp, const UnicodeString &input, function in class:RegexMatcher 112 RegexMatcher::RegexMatcher(UText *regexp, UText *input, function in class:RegexMatcher 129 RegexMatcher::RegexMatcher(const UnicodeString ®exp, function in class:RegexMatcher 144 RegexMatcher function in class:RegexMatcher [all...] |
H A D | repattrn.cpp | 435 RegexMatcher *RegexPattern::matcher(const UnicodeString &input, 437 RegexMatcher *retMatcher = matcher(status); 451 RegexMatcher *RegexPattern::matcher(UErrorCode &status) const { 452 RegexMatcher *retMatcher = NULL; 462 retMatcher = new RegexMatcher(this); 487 RegexMatcher *matcher = NULL; 511 RegexMatcher *matcher = NULL; 590 RegexMatcher m(this); 611 RegexMatcher m(this);
|
H A D | uregex.cpp | 40 RegexMatcher *fMatcher; 1291 // Dummy class, because these functions need to be friends of class RegexMatcher, 1370 RegexMatcher *m = regexp->fMatcher; 1609 RegexMatcher *m = regexp->fMatcher;
|
/external/icu4c/tools/genrb/ |
H A D | prscmnts.cpp | 45 RegexMatcher myMatcher(patString, src, options, *status); 93 RegexMatcher matcher(patternString, UREGEX_DOTALL, *status); 153 RegexMatcher matcher(patternStrings[option], UREGEX_DOTALL, *status); 192 RegexMatcher matcher(patternStrings[option], UREGEX_DOTALL, *status);
|
/external/icu4c/test/intltest/ |
H A D | regextst.cpp | 365 RegexMatcher *REMatcher = NULL; 428 RegexMatcher *REMatcher = NULL; 721 RegexMatcher matcher(&pattern, 0, status); 742 // API_Match Test that the API for class RegexMatcher 778 RegexMatcher *m1 = pat2->matcher(inStr1, status); 851 RegexMatcher m("A?", 0, status); // will match zero length string. 888 // RegexMatcher::start(); 889 // RegexMatcher::end(); 890 // RegexMatcher::groupCount(); 902 RegexMatcher *matche [all...] |
H A D | dcfmtest.cpp | 205 RegexMatcher parseLineMat(UnicodeString( 213 RegexMatcher formatLineMat(UnicodeString( 222 RegexMatcher commentMat (UNICODE_STRING_SIMPLE("\\s*(#.*)?$"), 0, status); 223 RegexMatcher lineMat(UNICODE_STRING_SIMPLE("(?m)^(.*?)$"), testString, 0, status); 226 dataerrln("Construct RegexMatcher() error.");
|
H A D | itspoof.cpp | 367 RegexMatcher parseLine("(?m)^([0-9A-F]{4}[^#;]*?);([^#;]*?);([^#]*)", confusablesTxt, 0, status);
|
H A D | rbbitst.cpp | 1464 RegexMatcher localeMatcher(UNICODE_STRING_SIMPLE("<locale *([\\p{L}\\p{Nd}_]*) *>"), 0, status); 2192 RegexMatcher tokenMatcher(tokenExpr, testFileAsString, UREGEX_MULTILINE | UREGEX_DOTALL, status); 2632 RegexMatcher *fMatcher; 3259 RegexMatcher *fNumberMatcher; 3260 RegexMatcher *fLB11Matcher; 3366 fNumberMatcher = new RegexMatcher( 3865 RegexMatcher m(name, params, 0, status); 4291 RegexMatcher m(" *type *= *(char|word|line|sent|title) *", p, 0, status); 4298 RegexMatcher u(" *utext", p, 0, status); 4307 if (RegexMatcher(UNICODE_STRING_SIMPL 4196 TEST_ASSERT(expectedcount < EXPECTEDSIZE); return; } expected[expectedcount ++] = i; } testBreakBoundPreceding(this, ustr, bi, expected, expectedcount); } delete bi; } void RBBITest::TestSentBreaks(void) { Locale locale(Ó); UErrorCode status = U_ZERO_ERROR; BreakIterator *bi = BreakIterator::createSentenceInstance(locale, status); UChar str[200]; static const char *strlist[] = { Ó, Ó, Ó, Ó, Ó, Ó, Ó, Ó, Ó, Ó, Ó Ó Ó Ó, Ó Ó Ó Ó Ó Ó }; int loop; if (U_FAILURE(status)) { errcheckln(status, Ó, u_errorName(status)); return; } for (loop = 0; loop < (int)(sizeof(strlist) / sizeof(char *)); loop ++) { u_unescape(strlist[loop], str, (int32_t)(sizeof(str) / sizeof(str[0]))); UnicodeString ustr(str); RBBISentMonkey monkey; if (U_FAILURE(monkey.deferredStatus)) { continue; } const int EXPECTEDSIZE = 50; int expected[EXPECTEDSIZE]; int expectedcount = 0; monkey.setText(ustr); int i; for (i = 0; i != BreakIterator::DONE; i = monkey.next(i)) { if (expectedcount >= EXPECTEDSIZE) { TEST_ASSERT(expectedcount < EXPECTEDSIZE); return; } expected[expectedcount ++] = i; } testBreakBoundPreceding(this, ustr, bi, expected, expectedcount); } delete bi; } void RBBITest::TestMonkey(char *params) { UErrorCode status = U_ZERO_ERROR; int32_t loopCount = 500; int32_t seed = 1; UnicodeString breakType = Ó; Locale locale(Ó); UBool useUText = FALSE; if (quick == FALSE) { loopCount = 10000; } if (params) { UnicodeString p(params); loopCount = getIntParam(Ó, p, loopCount); seed = getIntParam(Ó, p, seed); RegexMatcher m(Ó, p, 0, status); if (m.find()) { breakType = m.group(1, status); m.reset(); p = m.replaceFirst(Ó, status); } RegexMatcher u(Ó, p, 0, status); if (u.find()) { useUText = TRUE; u.reset(); p = u.replaceFirst(Ó, status); } if (RegexMatcher(UNICODE_STRING_SIMPLE(Ó), p, 0, status).find()) { char buf[100]; p.extract(buf, sizeof(buf), NULL, status); buf[sizeof(buf)-1] = 0; errln(Ó, buf); return; } } if (breakType == Ó || breakType == Ó) { RBBICharMonkey m; BreakIterator *bi = BreakIterator::createCharacterInstance(locale, status); if (U_SUCCESS(status)) { RunMonkey(bi, m, Ó, seed, loopCount, useUText); if (breakType == Ó && useUText==FALSE) { RunMonkey(bi, m, Ó, seed, loopCount, TRUE); } } else { errcheckln(status, Ó, u_errorName(status)); } delete bi; } if (breakType == Ó || breakType == Ó) { logln(Ó); RBBIWordMonkey m; BreakIterator *bi = BreakIterator::createWordInstance(locale, status); if (U_SUCCESS(status)) { RunMonkey(bi, m, Ó, seed, loopCount, useUText); } else { errcheckln(status, Ó, u_errorName(status)); } delete bi; } if (breakType == Ó || breakType == Ó) { logln(Ó); RBBILineMonkey m; BreakIterator *bi = BreakIterator::createLineInstance(locale, status); if (loopCount >= 10) { loopCount = loopCount / 5; } if (U_SUCCESS(status)) { RunMonkey(bi, m, Ó, seed, loopCount, useUText); } else { errcheckln(status, Ó, u_errorName(status)); } delete bi; } if (breakType == Ó || breakType == Ó ) { logln(Ó); RBBISentMonkey m; BreakIterator *bi = BreakIterator::createSentenceInstance(locale, status); if (loopCount >= 10) argument [all...] |
H A D | ssearch.cpp | 2057 RegexMatcher m(name, params, 0, status); 2263 RegexMatcher m(" *strength *= *(primary|secondary|tertiary) *", p, 0, status); 2278 if (RegexMatcher("\\S", p, 0, status).find()) { 2402 RegexMatcher m(" *strength *= *(primary|secondary|tertiary) *", p, 0, status); 2417 if (RegexMatcher("\\S", p, 0, status).find()) {
|
/external/icu4c/samples/ugrep/ |
H A D | ugrep.cpp | 117 // Create a RegexMatcher from the newly created pattern. 120 RegexMatcher *matcher = rePat->matcher(empty, status); 122 fprintf(stderr, "ugrep: error in creating RegexMatcher: \"%s\"\n",
|
/external/chromium/chrome/browser/autofill/ |
H A D | form_field.cc | 79 icu::RegexMatcher matcher(icu_pattern, icu_input,
|
/external/chromium/net/base/ |
H A D | net_util.cc | 628 icu::RegexMatcher dangerous_patterns(icu::UnicodeString( 645 icu::RegexMatcher dangerous_patterns(icu::UnicodeString(
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
H A D | urename.h | 1371 #define RegexMatcher RegexMatcher_3_2 macro
|
/external/webkit/Source/JavaScriptGlue/icu/unicode/ |
H A D | urename.h | 1371 #define RegexMatcher RegexMatcher_3_2 macro
|
/external/webkit/Source/WebCore/icu/unicode/ |
H A D | urename.h | 1371 #define RegexMatcher RegexMatcher_3_2 macro
|
/external/webkit/Source/WebKit/mac/icu/unicode/ |
H A D | urename.h | 1371 #define RegexMatcher RegexMatcher_3_2 macro
|
/external/icu4c/common/unicode/ |
H A D | urename.h | 2113 #define RegexMatcher U_ICU_ENTRY_POINT_RENAME(RegexMatcher) macro
|