Home
last modified time | relevance | path

Searched refs:recursionCount (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java298 …ic void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCount) { in doSubstitution() argument
305 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
343 … void doSubstitution(double number, StringBuilder toInsertInto, int position, int recursionCount) { 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()
921 …ic void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCount) { in doSubstitution() argument
926 super.doSubstitution(number, toInsertInto, position, recursionCount); in doSubstitution()
932 ruleToUse.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
945 … void doSubstitution(double number, StringBuilder toInsertInto, int position, int recursionCount) { in doSubstitution() argument
[all …]
DNFRuleSet.java436 public void format(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
437 if (recursionCount >= RECURSION_LIMIT) { in format()
441 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
452 public void format(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
453 if (recursionCount >= RECURSION_LIMIT) { in format()
457 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
DNFRule.java746 public void doFormat(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
771 …(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
774 …(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
787 public void doFormat(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
822 …(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
825 …(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java299 …ic void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCount) { in doSubstitution() argument
306 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
344 … void doSubstitution(double number, StringBuilder toInsertInto, int position, int recursionCount) { 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()
922 …ic void doSubstitution(long number, StringBuilder toInsertInto, int position, int recursionCount) { in doSubstitution() argument
927 super.doSubstitution(number, toInsertInto, position, recursionCount); in doSubstitution()
933 ruleToUse.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
946 … void doSubstitution(double number, StringBuilder toInsertInto, int position, int recursionCount) { in doSubstitution() argument
[all …]
DNFRuleSet.java437 public void format(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
438 if (recursionCount >= RECURSION_LIMIT) { in format()
442 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
453 public void format(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in format() argument
454 if (recursionCount >= RECURSION_LIMIT) { in format()
458 applicableRule.doFormat(number, toInsertInto, pos, ++recursionCount); in format()
DNFRule.java747 public void doFormat(long number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
772 …(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
775 …(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
788 public void doFormat(double number, StringBuilder toInsertInto, int pos, int recursionCount) { in doFormat() argument
823 …(number, toInsertInto, pos - (sub2.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
826 …(number, toInsertInto, pos - (sub1.getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount); in doFormat()
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp150 …on(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, UErrorCode& s…
151 …ion(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, UErrorCode& s…
218 …ion(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, UErrorCode& s…
294 …ion(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, UErrorCode& s…
574 …n(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& s… in doSubstitution() argument
580 … ruleSet->format(transformNumber(number), toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
623 …on(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& s… in doSubstitution() argument
631 … infiniteRule->doFormat(numberToFormat, toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
638 …>format(util64_fromDouble(numberToFormat), toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
645 ruleSet->format(numberToFormat, toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
[all …]
Dnfsubs.h118 …on(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, UErrorCode& s…
130 …ion(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, UErrorCode& s…
Dnfrs.h55 …void format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UErro…
56 …void format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UError…
Dnfrs.cpp400 NFRuleSet::format(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, U… in format() argument
402 if (recursionCount >= RECURSION_LIMIT) { in format()
409 rule->doFormat(number, toAppendTo, pos, ++recursionCount, status); in format()
414 NFRuleSet::format(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UE… in format() argument
416 if (recursionCount >= RECURSION_LIMIT) { in format()
423 rule->doFormat(number, toAppendTo, pos, ++recursionCount, status); in format()
Dnfrule.h70 …void doFormat(int64_t number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UErr…
71 …void doFormat(double number, UnicodeString& toAppendTo, int32_t pos, int32_t recursionCount, UErr…
Dnfrule.cpp739 NFRule::doFormat(int64_t number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, … in doFormat() argument
767 …toInsertInto, pos - (sub2->getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount, status); in doFormat()
770 …toInsertInto, pos - (sub1->getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount, status); in doFormat()
784 NFRule::doFormat(double number, UnicodeString& toInsertInto, int32_t pos, int32_t recursionCount, U… in doFormat() argument
821 …toInsertInto, pos - (sub2->getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount, status); in doFormat()
824 …toInsertInto, pos - (sub1->getPos() > pluralRuleStart ? lengthOffset : 0), recursionCount, status); in doFormat()