Searched refs:visibleDecimalDigitCount (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 609 ASSERT_EQUAL(0, fd.visibleDecimalDigitCount); in TestFixedDecimal() 615 ASSERT_EQUAL(3, fd.visibleDecimalDigitCount); in TestFixedDecimal() 626 ASSERT_EQUAL(0, fd.visibleDecimalDigitCount); in TestFixedDecimal() 637 ASSERT_EQUAL(1, fd.visibleDecimalDigitCount); in TestFixedDecimal() 648 ASSERT_EQUAL(1, fd.visibleDecimalDigitCount); in TestFixedDecimal() 659 ASSERT_EQUAL(2, fd.visibleDecimalDigitCount); in TestFixedDecimal() 670 ASSERT_EQUAL(4, fd.visibleDecimalDigitCount); in TestFixedDecimal() 696 ASSERT_EQUAL(2, fd.visibleDecimalDigitCount); in TestFixedDecimal() 707 ASSERT_EQUAL(22, fd.visibleDecimalDigitCount); in TestFixedDecimal() 719 ASSERT_EQUAL(22, fd.visibleDecimalDigitCount); in TestFixedDecimal() [all …]
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | PluralRules.java | 427 public final int visibleDecimalDigitCount; field in PluralRules.FixedDecimal 481 return visibleDecimalDigitCount; in getVisibleDecimalDigitCount() 561 visibleDecimalDigitCount = v; in FixedDecimal() 716 case v: return visibleDecimalDigitCount; in get() 743 if (visibleDecimalDigitCount != other.visibleDecimalDigitCount) { in compareTo() 744 return visibleDecimalDigitCount < other.visibleDecimalDigitCount ? -1 : 1; in compareTo() 770 …return source == other.source && visibleDecimalDigitCount == other.visibleDecimalDigitCount && dec… in equals() 781 return (int)(decimalDigits + 37 * (visibleDecimalDigitCount + (int)(37 * source))); in hashCode() 791 return String.format("%." + visibleDecimalDigitCount + "f", source); in toString() 911 if (start.visibleDecimalDigitCount != end.visibleDecimalDigitCount) { in FixedDecimalRange() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | PluralRules.java | 440 public final int visibleDecimalDigitCount; field in PluralRules.FixedDecimal 494 return visibleDecimalDigitCount; in getVisibleDecimalDigitCount() 574 visibleDecimalDigitCount = v; in FixedDecimal() 732 case v: return visibleDecimalDigitCount; in get() 759 if (visibleDecimalDigitCount != other.visibleDecimalDigitCount) { in compareTo() 760 return visibleDecimalDigitCount < other.visibleDecimalDigitCount ? -1 : 1; in compareTo() 786 …return source == other.source && visibleDecimalDigitCount == other.visibleDecimalDigitCount && dec… in equals() 797 return (int)(decimalDigits + 37 * (visibleDecimalDigitCount + (int)(37 * source))); in hashCode() 807 return String.format("%." + visibleDecimalDigitCount + "f", source); in toString() 927 if (start.visibleDecimalDigitCount != end.visibleDecimalDigitCount) { in FixedDecimalRange() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | plurrule.cpp | 312 if (fixed.visibleDecimalDigitCount == 0 || sampleValue != floor(sampleValue)) { in getSamplesFromString() 346 if (!(sampleValue == floor(sampleValue) && fixedLo.visibleDecimalDigitCount > 0)) { in getSamplesFromString() 1431 visibleDecimalDigitCount = other.visibleDecimalDigitCount; in FixedDecimal() 1461 visibleDecimalDigitCount = v; in init() 1556 int32_t numTrailingFractionZeros = minFractionDigits - visibleDecimalDigitCount; in adjustForMinFractionDigits() 1566 visibleDecimalDigitCount += numTrailingFractionZeros; in adjustForMinFractionDigits() 1577 case tVariableV: return visibleDecimalDigitCount; in get() 1585 return visibleDecimalDigitCount; in getVisibleFractionDigitCount()
|
D | plurrule_impl.h | 206 int32_t visibleDecimalDigitCount; variable
|
D | decimfmt.cpp | 1127 … result.quickInit(number) && result.visibleDecimalDigitCount <= getMaximumFractionDigits()) { 1218 …ult.decimalDigits = result.decimalDigitsWithoutTrailingZeros = result.visibleDecimalDigitCount = 0; 1220 result.visibleDecimalDigitCount++;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 75 …als(testDouble[0] + " visibleDecimalDigitCount", (int) testDouble[2], fd.visibleDecimalDigitCount); in testOverUnderflow()
|