/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 197 if (tuple.maxFractionDigits != null) { 198 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 370 if (tuple.maxFractionDigits != null) { 371 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 477 if (tuple.maxFractionDigits != null) { in propertiesFromTuple() 478 properties.setMaximumFractionDigits(tuple.maxFractionDigits); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 88 public Integer maxFractionDigits = null; field in DataDrivenNumberFormatTestData 288 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
|
D | NumberFormatTest.java | 1176 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() argument 1177 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1179 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatDataDrivenTest.java | 200 if (tuple.maxFractionDigits != null) { 201 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 373 if (tuple.maxFractionDigits != null) { 374 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 480 if (tuple.maxFractionDigits != null) { in propertiesFromTuple() 481 properties.setMaximumFractionDigits(tuple.maxFractionDigits); in propertiesFromTuple()
|
D | DataDrivenNumberFormatTestData.java | 91 public Integer maxFractionDigits = null; field in DataDrivenNumberFormatTestData 291 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
|
D | NumberFormatTest.java | 1179 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() argument 1180 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1182 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1138 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1654 maximumFractionDigits = maxFractionDigits; in readObject() 1687 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1769 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 1005 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1502 maximumFractionDigits = maxFractionDigits; in readObject() 1535 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1617 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 | 411 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
D | numberformattesttuple.cpp | 304 FIELD_INIT(maxFractionDigits, &gIntOps),
|
D | numfmtdatadriventest.cpp | 81 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); in adjustDecimalFormat()
|
D | numfmtst.cpp | 1454 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument 1456 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1458 …logln((UnicodeString)"" + x + " formats with " + maxFractionDigits + " fractional digits to " + ou… in roundingTest()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/ |
D | numberformattestspecification.txt | 53 set maxFractionDigits 5 321 minFractionDigits maxFractionDigits output 341 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 407 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1379 set maxFractionDigits 0 1466 maxFractionDigits format output breaks
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 53 set maxFractionDigits 5 321 minFractionDigits maxFractionDigits output 341 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 407 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1379 set maxFractionDigits 0 1466 maxFractionDigits format output breaks
|
/external/icu/icu4c/source/test/testdata/ |
D | numberformattestspecification.txt | 53 set maxFractionDigits 5 321 minFractionDigits maxFractionDigits output 341 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 407 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1379 set maxFractionDigits 0 1466 maxFractionDigits format output breaks
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnmdptst.c | 573 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument 581 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
|