/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | NumberFormat.java | 1065 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1565 maximumFractionDigits = maxFractionDigits; in readObject() 1598 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1680 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1137 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode() 1653 maximumFractionDigits = maxFractionDigits; in readObject() 1686 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1768 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 97 int32_t maxFractionDigits; variable
|
D | numfmtst.h | 416 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 | 1459 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument 1461 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1463 …logln((UnicodeString)"" + x + " formats with " + maxFractionDigits + " fractional digits to " + ou… in roundingTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/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
|
/third_party/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
|
/third_party/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
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cnmdptst.c | 575 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument 583 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
|