/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1043 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1560 maximumFractionDigits = maxFractionDigits; in readObject() 1593 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1675 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 969 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1470 maximumFractionDigits = maxFractionDigits; in readObject() 1503 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1585 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTestTuple.java | 87 public Integer maxFractionDigits = null; field in NumberFormatTestTuple 284 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
|
D | NumberFormatTest.java | 180 if (tuple.maxFractionDigits != null) { 181 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 361 if (tuple.maxFractionDigits != null) { 362 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 1395 …public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { in roundingTest() argument 1396 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1398 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 | NumberFormatTestTuple.java | 86 public Integer maxFractionDigits = null; field in NumberFormatTestTuple 283 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
|
D | NumberFormatTest.java | 176 if (tuple.maxFractionDigits != null) { 177 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 357 if (tuple.maxFractionDigits != null) { 358 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); 1391 …public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { in roundingTest() argument 1392 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1394 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 94 int32_t maxFractionDigits; variable
|
D | numfmtst.h | 320 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
D | numberformattesttuple.cpp | 302 FIELD_INIT(maxFractionDigits, &gIntOps),
|
D | numfmtst.cpp | 123 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); in adjustDecimalFormat() 1696 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument 1698 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1700 …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 | 43 set maxFractionDigits 5 215 minFractionDigits maxFractionDigits output 235 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 289 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1104 set maxFractionDigits 0
|
/external/icu/icu4c/source/test/testdata/ |
D | numberformattestspecification.txt | 43 set maxFractionDigits 5 215 minFractionDigits maxFractionDigits output 235 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 289 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1104 set maxFractionDigits 0
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
D | numberformattestspecification.txt | 43 set maxFractionDigits 5 215 minFractionDigits maxFractionDigits output 235 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 289 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks 1104 set maxFractionDigits 0
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnmdptst.c | 637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument 645 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
|