Home
last modified time | relevance | path

Searched refs:toInsertInto (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java298 …public void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCou… in doSubstitution() argument
305 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
317 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
328 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
343 …public void doSubstitution(double number, StringBuilder toInsertInto, int position, int recursionC… in doSubstitution() argument
351 infiniteRule.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
358 ruleSet.format((long)numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution() local
365 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
367 toInsertInto.insert(position + this.pos, numberFormat.format(numberToFormat)); in doSubstitution()
921 …public void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCou… in doSubstitution() argument
[all …]
DNFRule.java746 public void doFormat(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
755 toInsertInto.insert(pos, ruleText); in doFormat()
760 int initialLength = toInsertInto.length(); in doFormat()
762 toInsertInto.insert(pos, ruleText.substring(pluralRuleEnd + 2)); in doFormat()
764 toInsertInto.insert(pos, rulePatternFormat.format(number / power(radix, exponent))); in doFormat()
766 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat()
768 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
771 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat()
774 …sub1.doSubstitution(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : … in doFormat()
787 public void doFormat(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
[all …]
DNFRuleSet.java436 public void format(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
441 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
452 public void format(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
457 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java299 …public void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCou… in doSubstitution() argument
306 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
318 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
329 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
344 …public void doSubstitution(double number, StringBuilder toInsertInto, int position, int recursionC… in doSubstitution() argument
352 infiniteRule.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
359 ruleSet.format((long)numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution() local
366 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
368 toInsertInto.insert(position + this.pos, numberFormat.format(numberToFormat)); in doSubstitution()
922 …public void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCou… in doSubstitution() argument
[all …]
DNFRule.java747 public void doFormat(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
756 toInsertInto.insert(pos, ruleText); in doFormat()
761 int initialLength = toInsertInto.length(); in doFormat()
763 toInsertInto.insert(pos, ruleText.substring(pluralRuleEnd + 2)); in doFormat()
765 toInsertInto.insert(pos, rulePatternFormat.format(number / power(radix, exponent))); in doFormat()
767 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat()
769 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
772 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat()
775 …sub1.doSubstitution(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : … in doFormat()
788 public void doFormat(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
[all …]
DNFRuleSet.java437 public void format(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
442 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
453 public void format(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
458 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp150 …virtual void doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recu…
151 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
218 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
294 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
574 NFSubstitution::doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t r… in doSubstitution() argument
580 … ruleSet->format(transformNumber(number), toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
594 toInsertInto.insert(_pos + this->pos, temp); in doSubstitution()
607 toInsertInto.insert(_pos + this->pos, temp); in doSubstitution()
623 NFSubstitution::doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t re… in doSubstitution() argument
631 … infiniteRule->doFormat(numberToFormat, toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
[all …]
Dnfrule.cpp739 NFRule::doFormat(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, … in doFormat() argument
749 toInsertInto.insert(pos, fRuleText); in doFormat()
754 int initialLength = toInsertInto.length(); in doFormat()
756 toInsertInto.insert(pos, fRuleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
758 toInsertInto.insert(pos, in doFormat()
761 toInsertInto.insert(pos, fRuleText.tempSubString(0, pluralRuleStart)); in doFormat()
763 lengthOffset = fRuleText.length() - (toInsertInto.length() - initialLength); in doFormat()
767 …sub2->doSubstitution(number, toInsertInto, pos - (sub2->getPos() > pluralRuleStart ? lengthOffset … in doFormat()
770 …sub1->doSubstitution(number, toInsertInto, pos - (sub1->getPos() > pluralRuleStart ? lengthOffset … in doFormat()
784 NFRule::doFormat(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, U… in doFormat() argument
[all …]
Dnfsubs.h118 …virtual void doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recu…
130 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…