Home
last modified time | relevance | path

Searched refs:numberToFormat (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java303 long numberToFormat = transformNumber(number); in doSubstitution() local
305 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
312 double numberToFormat = transformNumber((double) number); in doSubstitution() local
314 numberToFormat = Math.floor(numberToFormat); in doSubstitution()
317 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
327 long numberToFormat = transformNumber(number); in doSubstitution() local
328 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
346 double numberToFormat = transformNumber(number); in doSubstitution() local
348 if (Double.isInfinite(numberToFormat)) { in doSubstitution()
351 infiniteRule.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java304 long numberToFormat = transformNumber(number); in doSubstitution() local
306 ruleSet.format(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
313 double numberToFormat = transformNumber((double) number); in doSubstitution() local
315 numberToFormat = Math.floor(numberToFormat); in doSubstitution()
318 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
328 long numberToFormat = transformNumber(number); in doSubstitution() local
329 toInsertInto.insert(position + pos, numberFormat.format(numberToFormat)); in doSubstitution()
347 double numberToFormat = transformNumber(number); in doSubstitution() local
349 if (Double.isInfinite(numberToFormat)) { in doSubstitution()
352 infiniteRule.doFormat(numberToFormat, toInsertInto, position + pos, recursionCount); in doSubstitution()
[all …]
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp587 double numberToFormat = transformNumber((double)number); in doSubstitution() local
589 numberToFormat = uprv_floor(numberToFormat); in doSubstitution()
593 numberFormat->format(numberToFormat, temp, status); in doSubstitution()
604 int64_t numberToFormat = transformNumber(number); in doSubstitution() local
606 numberFormat->format(numberToFormat, temp, status); in doSubstitution()
626 double numberToFormat = transformNumber(number); in doSubstitution() local
628 if (uprv_isInfinite(numberToFormat)) { in doSubstitution()
631 … infiniteRule->doFormat(numberToFormat, toInsertInto, _pos + this->pos, recursionCount, status); in doSubstitution()
637 if (numberToFormat == uprv_floor(numberToFormat) && ruleSet != NULL) { in doSubstitution()
638 …ruleSet->format(util64_fromDouble(numberToFormat), toInsertInto, _pos + this->pos, recursionCount,… in doSubstitution()
[all …]