Lines Matching refs:ruleText
41 , ruleText(_ruleText) in NFRule()
47 if (!ruleText.isEmpty()) { in NFRule()
48 parseRuleDescriptor(ruleText, status); in NFRule()
124 description = rule1->ruleText; in makeRules()
413 const UnicodeString &ruleText, in extractSubstitutions() argument
420 this->ruleText = ruleText; in extractSubstitutions()
429 int32_t pluralRuleStart = this->ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions()
430 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? this->ruleText.indexOf(gClosedParenthesisDollar, -… in extractSubstitutions()
432 int32_t endType = this->ruleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions()
437 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions()
450 this->ruleText.tempSubString(endType + 1, pluralRuleEnd - endType - 1), status); in extractSubstitutions()
486 if (ruleText.indexOf(gGreaterGreaterGreater, 3, 0) == subStart) { in extractSubstitution()
492 UChar c = ruleText.charAt(subStart); in extractSubstitution()
493 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
495 …if (c == gLessThan && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) … in extractSubstitution()
515 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
520 ruleText.removeBetween(subStart, subEnd+1); in extractSubstitution()
603 int32_t pos = ruleText.indexOf(*RULE_PREFIXES[i]); in indexOfAnyRulePrefix()
639 && ruleText == rhs.ruleText in operator ==()
692 if (ruleText.charAt(0) == gSpace && (sub1 == NULL || sub1->getPos() != 0)) { in _appendRuleText()
699 ruleTextCopy.setTo(ruleText); in _appendRuleText()
739 int32_t pluralRuleStart = ruleText.length(); in doFormat()
742 toInsertInto.insert(pos, ruleText); in doFormat()
745 pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat()
746 int pluralRuleEnd = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat()
748 if (pluralRuleEnd < ruleText.length() - 1) { in doFormat()
749 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
754 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
756 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
785 int32_t pluralRuleStart = ruleText.length(); in doFormat()
788 toInsertInto.insert(pos, ruleText); in doFormat()
791 pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat()
792 int pluralRuleEnd = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat()
794 if (pluralRuleEnd < ruleText.length() - 1) { in doFormat()
795 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
808 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
810 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
903 int32_t sub1Pos = sub1 != NULL ? sub1->getPos() : ruleText.length(); in doParse()
904 int32_t sub2Pos = sub2 != NULL ? sub2->getPos() : ruleText.length(); in doParse()
911 prefix.setTo(ruleText, 0, sub1Pos); in doParse()
995 temp.setTo(ruleText, sub1Pos, sub2Pos - sub1Pos); in doParse()
1015 temp.setTo(ruleText, sub2Pos, ruleText.length() - sub2Pos); in doParse()
1473 int32_t pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in findText()
1474 … int32_t pluralRuleSuffix = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart) + 2; in findText()
1476 UnicodeString prefix(ruleText.tempSubString(0, pluralRuleStart)); in findText()
1477 UnicodeString suffix(ruleText.tempSubString(pluralRuleSuffix)); in findText()