Home
last modified time | relevance | path

Searched refs:fRuleMatcher (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp220 …thisRule->fRuleMatcher.adoptInstead(new RegexMatcher(thisRule->fExpandedRule, UREGEX_COMMENTS | UR… in addRule()
435 rule->fRuleMatcher->reset(fString); in set()
468 rule->fRuleMatcher->reset(); in set()
469 if (rule->fRuleMatcher->lookingAt(strIdx, status)) { in set()
472 matchStart = rule->fRuleMatcher->start(status); in set()
473 matchEnd = rule->fRuleMatcher->end(status); in set()
474 … breakGroup = rule->fRuleMatcher->pattern().groupNumberFromName("BreakPosition", status); in set()
493 if (matchingRule->fRuleMatcher->group(status).length() == 0) { in set()
513 int32_t breakPos = matchingRule->fRuleMatcher->start(breakGroup, status); in set()
528 strIdx = matchingRule->fRuleMatcher->end(breakGroup, status); in set()
Drbbimonkeytest.h104 LocalPointer<RegexMatcher> fRuleMatcher; // Regular expression that matches the rule. variable
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java66 Matcher fRuleMatcher; // Regular expression that matches the rule. field in RBBIMonkeyTest.BreakRule
323 …thisRule.fRuleMatcher = Pattern.compile(thisRule.fExpandedRule, Pattern.COMMENTS | Pattern.DOTALL)… in addRule()
577 rule.fRuleMatcher.reset(fString.substring(strIdx)); in set()
578 if (rule.fRuleMatcher.lookingAt()) { in set()
582 matchEnd = strIdx + rule.fRuleMatcher.end(); in set()
583 hasBreak = BreakGroupStart(rule.fRuleMatcher) >= 0; in set()
599 if (matchingRule.fRuleMatcher.group().length() == 0) { in set()
620 int breakPos = strIdx + BreakGroupStart(matchingRule.fRuleMatcher); in set()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java69 Matcher fRuleMatcher; // Regular expression that matches the rule. field in RBBIMonkeyTest.BreakRule
326 …thisRule.fRuleMatcher = Pattern.compile(thisRule.fExpandedRule, Pattern.COMMENTS | Pattern.DOTALL)… in addRule()
580 rule.fRuleMatcher.reset(fString.substring(strIdx)); in set()
581 if (rule.fRuleMatcher.lookingAt()) { in set()
585 matchEnd = strIdx + rule.fRuleMatcher.end(); in set()
586 hasBreak = BreakGroupStart(rule.fRuleMatcher) >= 0; in set()
602 if (matchingRule.fRuleMatcher.group().length() == 0) { in set()
623 int breakPos = strIdx + BreakGroupStart(matchingRule.fRuleMatcher); in set()