/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 322 private final int scale; // Note: this may have any value, so field in BigDecimal 453 BigDecimal(BigInteger intVal, long val, int scale, int prec) { in BigDecimal() 1119 public BigDecimal(BigInteger unscaledVal, int scale) { in BigDecimal() 1139 public BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) { in BigDecimal() 1298 public static BigDecimal valueOf(long unscaledVal, int scale) { in valueOf() 1328 static BigDecimal valueOf(long unscaledVal, int scale, int prec) { in valueOf() 1338 static BigDecimal valueOf(BigInteger intVal, int scale, int prec) { in valueOf() 1348 static BigDecimal zeroValueOf(int scale) { in zeroValueOf() 1654 public BigDecimal divide(BigDecimal divisor, int scale, int roundingMode) { in divide() 1688 public BigDecimal divide(BigDecimal divisor, int scale, RoundingMode roundingMode) { in divide() [all …]
|
D | MutableBigInteger.java | 206 BigDecimal toBigDecimal(int sign, int scale) { in toBigDecimal()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryTest.java | 34 int scale = Integer.BYTES; in testSetIntArray() local 75 int scale = Long.BYTES; in testSetLongArray() local 113 int scale = Short.BYTES; in testSetShortArray() local
|
/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | DivideTests.java | 300 int scale = tc[2].scale(); in scaledRoundedDivideTests() local 355 int scale = (int)uas[1]; in divideByOneTests() local
|
D | RangeTests.java | 155 private static void testRoundingFromBigInteger(BigInteger bi, int scale, MathContext mc) { in testRoundingFromBigInteger()
|
D | StringConstructor.java | 87 int scale = random.nextInt(decimalLength); in testRoundtrip() local
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetMetaDataTest.java | 279 int scale = 3; in testGetPrecision() local 346 int scale = 3; in testGetScale() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 3808 int scale = value.scale(); in print() local 3862 int scale = value.scale(); in print() local 3944 private int scale; field in Formatter.FormatSpecifier.BigDecimalLayout 3946 public BigDecimalLayout(BigInteger intVal, int scale, BigDecimalLayoutForm form) { in BigDecimalLayout() 3954 public int scale() { in scale() method in Formatter.FormatSpecifier.BigDecimalLayout 3968 private void layout(BigInteger intVal, int scale, BigDecimalLayoutForm form) { in layout()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalConvertTest.java | 470 int scale = 12; in testValueOfNegScalePos() local 481 int scale = -12; in testValueOfNegScaleNeg() local 492 int scale = 12; in testValueOfPosScalePos() local 503 int scale = -12; in testValueOfPosScaleNeg() local
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | RowSetMetaData.java | 193 void setScale(int columnIndex, int scale) throws SQLException; in setScale()
|
D | RowSet.java | 1281 void setObject(String parameterName, Object x, int targetSqlType, int scale) in setObject()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | CallableStatement.java | 137 void registerOutParameter(int parameterIndex, int sqlType, int scale) in registerOutParameter() 301 BigDecimal getBigDecimal(int parameterIndex, int scale) in getBigDecimal() 695 void registerOutParameter(String parameterName, int sqlType, int scale) in registerOutParameter() 1125 void setObject(String parameterName, Object x, int targetSqlType, int scale) in setObject()
|
D | ResultSet.java | 366 BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException; in getBigDecimal() 657 BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException; in getBigDecimal()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | IeeeRecommendedTests.java | 1019 float scale = 1.0f; // 2^j in testFloatScalb() local 1215 double scale = 1.0; // 2^j in testDoubleScalb() local
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 938 int scale = bd.scale(); in toString() local
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigDecimalTest.java | 127 private static void checkDivide(String expected, long n, long d, int scale, RoundingMode rm) { in checkDivide()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 208 private static long scale(long d, long m, long over) { in scale() method in FileTime
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 123 private final long scale; field in TimeUnit
|
/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | ArraysSupport.java | 72 private static int exactLog2(int scale) { in exactLog2()
|