/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 349 if (tuple.maxFractionDigits != null) { 350 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 451 if (tuple.maxFractionDigits != null) { in propertiesFromTuple() 452 properties.setMaximumFractionDigits(tuple.maxFractionDigits); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 91 public Integer maxFractionDigits = null; field in DataDrivenNumberFormatTestData 289 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
|
D | NumberFormatTest.java | 1129 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() argument 1130 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1132 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 346 if (tuple.maxFractionDigits != null) { 347 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 448 if (tuple.maxFractionDigits != null) { in propertiesFromTuple() 449 properties.setMaximumFractionDigits(tuple.maxFractionDigits); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 88 public Integer maxFractionDigits = null; field in DataDrivenNumberFormatTestData 286 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
|
D | NumberFormatTest.java | 1126 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() argument 1127 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1129 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 994 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1491 maximumFractionDigits = maxFractionDigits; in readObject() 1524 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1606 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1069 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1582 maximumFractionDigits = maxFractionDigits; in readObject() 1615 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1697 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 97 int32_t maxFractionDigits; variable
|
D | numfmtst.h | 326 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
D | numberformattesttuple.cpp | 304 FIELD_INIT(maxFractionDigits, &gIntOps),
|
D | numfmtst.cpp | 150 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); in adjustDecimalFormat() 1739 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument 1741 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1743 …logln((UnicodeString)"" + x + " formats with " + maxFractionDigits + " fractional digits to " + ou… in roundingTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 45 set maxFractionDigits 5 293 minFractionDigits maxFractionDigits output 313 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 370 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1351 set maxFractionDigits 0 1435 maxFractionDigits format output breaks
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberformattestspecification.txt | 45 set maxFractionDigits 5 293 minFractionDigits maxFractionDigits output 313 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 370 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1351 set maxFractionDigits 0 1435 maxFractionDigits format output breaks
|
/external/icu/icu4c/source/test/testdata/ |
D | numberformattestspecification.txt | 45 set maxFractionDigits 5 293 minFractionDigits maxFractionDigits output 313 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 370 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1351 set maxFractionDigits 0 1435 maxFractionDigits format output breaks
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnmdptst.c | 640 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument 648 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
|