Lines Matching refs:ruleText

39   , ruleText(_ruleText)  in NFRule()
45 if (!ruleText.isEmpty()) { in NFRule()
46 parseRuleDescriptor(ruleText, status); in NFRule()
122 description = rule1->ruleText; in makeRules()
411 const UnicodeString &ruleText, in extractSubstitutions() argument
418 this->ruleText = ruleText; in extractSubstitutions()
427 int32_t pluralRuleStart = this->ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions()
428 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? this->ruleText.indexOf(gClosedParenthesisDollar, -… in extractSubstitutions()
430 int32_t endType = this->ruleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions()
435 …UnicodeString type(this->ruleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2… in extractSubstitutions()
448 this->ruleText.tempSubString(endType + 1, pluralRuleEnd - endType - 1), status); in extractSubstitutions()
484 if (ruleText.indexOf(gGreaterGreaterGreater, 3, 0) == subStart) { in extractSubstitution()
490 UChar c = ruleText.charAt(subStart); in extractSubstitution()
491 subEnd = ruleText.indexOf(c, subStart + 1); in extractSubstitution()
493 …if (c == gLessThan && subEnd != -1 && subEnd < ruleText.length() - 1 && ruleText.charAt(subEnd+1) … in extractSubstitution()
513 subToken.setTo(ruleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
518 ruleText.removeBetween(subStart, subEnd+1); in extractSubstitution()
601 int32_t pos = ruleText.indexOf(*RULE_PREFIXES[i]); in indexOfAnyRulePrefix()
637 && ruleText == rhs.ruleText in operator ==()
690 if (ruleText.charAt(0) == gSpace && (sub1 == NULL || sub1->getPos() != 0)) { in _appendRuleText()
697 ruleTextCopy.setTo(ruleText); in _appendRuleText()
737 int32_t pluralRuleStart = ruleText.length(); in doFormat()
740 toInsertInto.insert(pos, ruleText); in doFormat()
743 pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat()
744 int pluralRuleEnd = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat()
746 if (pluralRuleEnd < ruleText.length() - 1) { in doFormat()
747 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
752 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
754 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
783 int32_t pluralRuleStart = ruleText.length(); in doFormat()
786 toInsertInto.insert(pos, ruleText); in doFormat()
789 pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat()
790 int pluralRuleEnd = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat()
792 if (pluralRuleEnd < ruleText.length() - 1) { in doFormat()
793 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
806 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
808 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
901 int32_t sub1Pos = sub1 != NULL ? sub1->getPos() : ruleText.length(); in doParse()
902 int32_t sub2Pos = sub2 != NULL ? sub2->getPos() : ruleText.length(); in doParse()
909 prefix.setTo(ruleText, 0, sub1Pos); in doParse()
993 temp.setTo(ruleText, sub1Pos, sub2Pos - sub1Pos); in doParse()
1013 temp.setTo(ruleText, sub2Pos, ruleText.length() - sub2Pos); in doParse()
1471 int32_t pluralRuleStart = ruleText.indexOf(gDollarOpenParenthesis, -1, 0); in findText()
1472 … int32_t pluralRuleSuffix = ruleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart) + 2; in findText()
1474 UnicodeString prefix(ruleText.tempSubString(0, pluralRuleStart)); in findText()
1475 UnicodeString suffix(ruleText.tempSubString(pluralRuleSuffix)); in findText()