Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java289 …public void doSubstitution(long number, StringBuffer toInsertInto, int position, int recursionCoun… in doSubstitution() argument
296 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
307 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
321 …public void doSubstitution(double number, StringBuffer toInsertInto, int position, int recursionCo… in doSubstitution() argument
329 infiniteRule.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
336 ruleSet.format((long)numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution() local
343 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
345 toInsertInto.insert(position + this.pos, numberFormat.format(numberToFormat)); in doSubstitution()
884 …public void doSubstitution(long number, StringBuffer toInsertInto, int position, int recursionCoun… in doSubstitution() argument
889 super.doSubstitution(number, toInsertInto, position, recursionCount); in doSubstitution()
[all …]
DNFRule.java741 public void doFormat(long number, StringBuffer toInsertInto, int pos, int recursionCount) { in doFormat() argument
750 toInsertInto.insert(pos, ruleText); in doFormat()
755 int initialLength = toInsertInto.length(); in doFormat()
757 toInsertInto.insert(pos, ruleText.substring(pluralRuleEnd + 2)); in doFormat()
759toInsertInto.insert(pos, rulePatternFormat.format((long)(number/Math.pow(radix, exponent)))); in doFormat()
761 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat()
763 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
766 …sub2.doSubstitution(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : … in doFormat()
769 …sub1.doSubstitution(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : … in doFormat()
782 public void doFormat(double number, StringBuffer toInsertInto, int pos, int recursionCount) { in doFormat() argument
[all …]
DNFRuleSet.java431 public void format(long number, StringBuffer toInsertInto, int pos, int recursionCount) { in format() argument
436 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
447 public void format(double number, StringBuffer toInsertInto, int pos, int recursionCount) { in format() argument
452 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java290 …public void doSubstitution(long number, StringBuffer toInsertInto, int position, int recursionCoun… in doSubstitution() argument
297 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
308 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
322 …public void doSubstitution(double number, StringBuffer toInsertInto, int position, int recursionCo… in doSubstitution() argument
330 infiniteRule.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
337 ruleSet.format((long)numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution() local
344 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
346 toInsertInto.insert(position + this.pos, numberFormat.format(numberToFormat)); in doSubstitution()
885 …public void doSubstitution(long number, StringBuffer toInsertInto, int position, int recursionCoun… in doSubstitution() argument
890 super.doSubstitution(number, toInsertInto, position, recursionCount); in doSubstitution()
[all …]
DNFRule.java742 public void doFormat(long number, StringBuffer toInsertInto, int pos, int recursionCount) { in doFormat() argument
751 toInsertInto.insert(pos, ruleText); in doFormat()
756 int initialLength = toInsertInto.length(); in doFormat()
758 toInsertInto.insert(pos, ruleText.substring(pluralRuleEnd + 2)); in doFormat()
760toInsertInto.insert(pos, rulePatternFormat.format((long)(number/Math.pow(radix, exponent)))); in doFormat()
762 toInsertInto.insert(pos, ruleText.substring(0, pluralRuleStart)); in doFormat()
764 lengthOffset = ruleText.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()
783 public void doFormat(double number, StringBuffer toInsertInto, int pos, int recursionCount) { in doFormat() argument
[all …]
DNFRuleSet.java432 public void format(long number, StringBuffer toInsertInto, int pos, int recursionCount) { in format() argument
437 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
448 public void format(double number, StringBuffer toInsertInto, int pos, int recursionCount) { in format() argument
453 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp149 …virtual void doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recu…
150 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
216 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
291 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
570 NFSubstitution::doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t r… in doSubstitution() argument
576 … ruleSet->format(transformNumber(number), toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
589 toInsertInto.insert(_pos + this->pos, temp); in doSubstitution()
604 NFSubstitution::doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t re… in doSubstitution() argument
612 … infiniteRule->doFormat(numberToFormat, toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
619 …ruleSet->format(util64_fromDouble(numberToFormat), toInsertInto, _pos + this->pos, recursionCount,… in doSubstitution()
[all …]
Dnfrule.cpp730 NFRule::doFormat(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, … in doFormat() argument
740 toInsertInto.insert(pos, ruleText); in doFormat()
745 int initialLength = toInsertInto.length(); in doFormat()
747 toInsertInto.insert(pos, ruleText.tempSubString(pluralRuleEnd + 2)); in doFormat()
749 toInsertInto.insert(pos, in doFormat()
752 toInsertInto.insert(pos, ruleText.tempSubString(0, pluralRuleStart)); in doFormat()
754 lengthOffset = ruleText.length() - (toInsertInto.length() - initialLength); in doFormat()
758 …sub2->doSubstitution(number, toInsertInto, pos - (sub2->getPos() > pluralRuleStart ? lengthOffset … in doFormat()
761 …sub1->doSubstitution(number, toInsertInto, pos - (sub1->getPos() > pluralRuleStart ? lengthOffset … in doFormat()
775 NFRule::doFormat(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, U… in doFormat() argument
[all …]
Dnfsubs.h116 …virtual void doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recu…
128 …virtual void doSubstitution(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recur…
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...