/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 144 public static final int ROUND_DOWN=1; field in MathContext 302 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
|
D | BigDecimal.java | 272 public static final int ROUND_DOWN = android.icu.math.MathContext.ROUND_DOWN; field in BigDecimal 3638 } else if (mode == ROUND_DOWN) { in round()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | MathContext.java | 149 public static final int ROUND_DOWN=1; field in MathContext 313 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
|
D | BigDecimal.java | 275 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN; field in BigDecimal 3703 } else if (mode == ROUND_DOWN) { in round()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 149 public static final int ROUND_DOWN=1; field in MathContext 313 …l int ROUNDS[]=new int[]{ROUND_HALF_UP,ROUND_UNNECESSARY,ROUND_CEILING,ROUND_DOWN,ROUND_FLOOR,ROUN…
|
D | BigDecimal.java | 277 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN; field in BigDecimal 3713 } else if (mode == ROUND_DOWN) { in round()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 116 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode() 212 fIcuNfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
|
D | DecimalFormatICU.java | 205 case com.ibm.icu.math.BigDecimal.ROUND_DOWN: in getRoundingMode() 370 fIcuDecfmt.setRoundingMode(com.ibm.icu.math.BigDecimal.ROUND_DOWN); in setRoundingMode()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 156 icuMode = BigDecimal.ROUND_DOWN; in getRoundingMode() 258 case BigDecimal.ROUND_DOWN: in setRoundingMode()
|
/external/libdrm/amdgpu/ |
D | amdgpu_internal.h | 44 #define ROUND_DOWN(x, y) ((x) & ~__round_mask(x, y)) macro
|
D | amdgpu_bo.c | 546 cpu0 = ROUND_DOWN((uintptr_t)cpu, ps); in amdgpu_create_bo_from_user_mem()
|
/external/speex/libspeex/ |
D | jitter.c | 76 #define ROUND_DOWN(x, step) ((x)<0 ? ((x)-(step)+1)/(step)*(step) : (x)/(step)*(step)) macro 232 latest = ROUND_DOWN(latest, jitter->delay_step); in compute_opt_delay() 667 desired_span = ROUND_DOWN(desired_span, jitter->concealment_size); in jitter_buffer_get()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpDec.java | 217 case ROUND_DOWN: in round()
|
D | DfpField.java | 32 ROUND_DOWN, enumConstant
|
D | Dfp.java | 1333 case ROUND_DOWN: in round() 1736 … if (field.getRoundingMode() == DfpField.RoundingMode.ROUND_DOWN && nsqd == mant.length) { in divide()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 659 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UniversalTimeScale.java | 605 return universalTime.divide(units, BigDecimal.ROUND_DOWN).subtract(epochOffset); in toBigDecimalTrunc()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeUnitTest.java | 40 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
|
D | NumberFormatTestData.java | 138 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
|
D | NumberFormatTest.java | 461 BigDecimal.ROUND_DOWN, in TestRoundingScientific10542() 569 {BigDecimal.ROUND_DOWN, 1.588, "1"}, in Test10419RoundingWith0FractionDigits() 2650 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding() 3933 Integer.valueOf(BigDecimal.ROUND_DOWN), // Rounding Mode or null (implicit) in TestRoundingBehavior() 3949 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior() 3965 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeUnitTest.java | 41 nf.setRoundingMode(BigDecimal.ROUND_DOWN); in Test10219FractionalPlurals()
|
D | NumberFormatTestData.java | 139 roundingModeMap.put("down", BigDecimal.ROUND_DOWN);
|
D | NumberFormatTest.java | 462 BigDecimal.ROUND_DOWN, in TestRoundingScientific10542() 570 {BigDecimal.ROUND_DOWN, 1.588, "1"}, in Test10419RoundingWith0FractionDigits() 2651 f.setRoundingMode(BigDecimal.ROUND_DOWN); in TestBigDecimalRounding() 3934 Integer.valueOf(BigDecimal.ROUND_DOWN), // Rounding Mode or null (implicit) in TestRoundingBehavior() 3950 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior() 3966 Integer.valueOf(BigDecimal.ROUND_DOWN), in TestRoundingBehavior()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | MathUtils.java | 1548 case BigDecimal.ROUND_DOWN : 1608 "ROUND_DOWN", BigDecimal.ROUND_DOWN,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/ |
D | DiagBigDecimalTest.java | 708 …rue("cuc011", android.icu.math.BigDecimal.ROUND_DOWN == (constantVal = android.icu.math.MathContex… in diagmutation() 1179 …thContext(2,android.icu.math.MathContext.SCIENTIFIC,false,android.icu.math.MathContext.ROUND_DOWN); in diagdivide() 1234 rd = android.icu.math.MathContext.ROUND_DOWN; in diagdivide() 1295 rd=android.icu.math.MathContext.ROUND_DOWN; // test this is actually being used in diagdivide() 1315 …cu.math.BigDecimal("0.055")).divide(one,2,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 1316 …cu.math.BigDecimal("0.055")).divide(one,1,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 1317 …cu.math.BigDecimal("0.055")).divide(one,0,android.icu.math.MathContext.ROUND_DOWN).toString()).equ… in diagdivide() 3143 …True("for117", (m050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat() 3144 …True("for118", (m150.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("-0.1")… in diagformat() 3145 …True("for119", (d050.format(-1,1,-1,-1,-1,android.icu.math.MathContext.ROUND_DOWN)).equals("0.0")); in diagformat() [all …]
|