Lines Matching refs:fRuleText
42 , fRuleText(_ruleText) in NFRule()
48 if (!fRuleText.isEmpty()) { in NFRule()
49 parseRuleDescriptor(fRuleText, status); in NFRule()
125 description = rule1->fRuleText; in makeRules()
421 fRuleText = ruleText; in extractSubstitutions()
430 int32_t pluralRuleStart = fRuleText.indexOf(gDollarOpenParenthesis, -1, 0); in extractSubstitutions()
431 …int32_t pluralRuleEnd = (pluralRuleStart >= 0 ? fRuleText.indexOf(gClosedParenthesisDollar, -1, pl… in extractSubstitutions()
433 int32_t endType = fRuleText.indexOf(gComma, pluralRuleStart); in extractSubstitutions()
438 … UnicodeString type(fRuleText.tempSubString(pluralRuleStart + 2, endType - pluralRuleStart - 2)); in extractSubstitutions()
451 fRuleText.tempSubString(endType + 1, pluralRuleEnd - endType - 1), status); in extractSubstitutions()
487 if (fRuleText.indexOf(gGreaterGreaterGreater, 3, 0) == subStart) { in extractSubstitution()
493 UChar c = fRuleText.charAt(subStart); in extractSubstitution()
494 subEnd = fRuleText.indexOf(c, subStart + 1); in extractSubstitution()
496 …if (c == gLessThan && subEnd != -1 && subEnd < fRuleText.length() - 1 && fRuleText.charAt(subEnd+1… in extractSubstitution()
516 subToken.setTo(fRuleText, subStart, subEnd + 1 - subStart); in extractSubstitution()
521 fRuleText.removeBetween(subStart, subEnd+1); in extractSubstitution()
604 int32_t pos = fRuleText.indexOf(*RULE_PREFIXES[i]); in indexOfAnyRulePrefix()
640 && fRuleText == rhs.fRuleText in operator ==()
693 if (fRuleText.charAt(0) == gSpace && (sub1 == NULL || sub1->getPos() != 0)) { in _appendRuleText()
700 ruleTextCopy.setTo(fRuleText); in _appendRuleText()
746 int32_t pluralRuleStart = fRuleText.length(); in doFormat()
749 toInsertInto.insert(pos, fRuleText); in doFormat()
752 pluralRuleStart = fRuleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat()
753 int pluralRuleEnd = fRuleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat()
755 if (pluralRuleEnd < fRuleText.length() - 1) { in doFormat()
756 toInsertInto.insert(pos, fRuleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
761 toInsertInto.insert(pos, fRuleText.tempSubString(0, pluralRuleStart)); in doFormat()
763 lengthOffset = fRuleText.length() - (toInsertInto.length() - initialLength); in doFormat()
792 int32_t pluralRuleStart = fRuleText.length(); in doFormat()
795 toInsertInto.insert(pos, fRuleText); in doFormat()
798 pluralRuleStart = fRuleText.indexOf(gDollarOpenParenthesis, -1, 0); in doFormat()
799 int pluralRuleEnd = fRuleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart); in doFormat()
801 if (pluralRuleEnd < fRuleText.length() - 1) { in doFormat()
802 toInsertInto.insert(pos, fRuleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
815 toInsertInto.insert(pos, fRuleText.tempSubString(0, pluralRuleStart)); in doFormat()
817 lengthOffset = fRuleText.length() - (toInsertInto.length() - initialLength); in doFormat()
911 int32_t sub1Pos = sub1 != NULL ? sub1->getPos() : fRuleText.length(); in doParse()
912 int32_t sub2Pos = sub2 != NULL ? sub2->getPos() : fRuleText.length(); in doParse()
919 prefix.setTo(fRuleText, 0, sub1Pos); in doParse()
1003 temp.setTo(fRuleText, sub1Pos, sub2Pos - sub1Pos); in doParse()
1024 temp.setTo(fRuleText, sub2Pos, fRuleText.length() - sub2Pos); in doParse()
1486 int32_t pluralRuleStart = fRuleText.indexOf(gDollarOpenParenthesis, -1, 0); in findText()
1487 … int32_t pluralRuleSuffix = fRuleText.indexOf(gClosedParenthesisDollar, -1, pluralRuleStart) + 2; in findText()
1489 UnicodeString prefix(fRuleText.tempSubString(0, pluralRuleStart)); in findText()
1490 UnicodeString suffix(fRuleText.tempSubString(pluralRuleSuffix)); in findText()