/external/llvm/include/llvm/ADT/ |
D | APFloat.h | 158 enum roundingMode { enum 295 opStatus add(const APFloat &, roundingMode); 296 opStatus subtract(const APFloat &, roundingMode); 297 opStatus multiply(const APFloat &, roundingMode); 298 opStatus divide(const APFloat &, roundingMode); 303 opStatus fusedMultiplyAdd(const APFloat &, const APFloat &, roundingMode); 304 opStatus roundToIntegral(roundingMode); 361 opStatus convert(const fltSemantics &, roundingMode, bool *); 362 opStatus convertToInteger(integerPart *, unsigned int, bool, roundingMode, 364 opStatus convertToInteger(APSInt &, roundingMode, bool *) const; [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | ShortDuration.java | 110 public abstract long to(TimeUnit unit, RoundingMode roundingMode); in to() argument 142 public abstract ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode); in times() argument 151 public abstract ShortDuration dividedBy(long divisor, RoundingMode roundingMode); in dividedBy() argument 160 public abstract ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode); in dividedBy() argument 165 @Override public long to(TimeUnit unit, RoundingMode roundingMode) { 178 @Override public ShortDuration times(BigDecimal multiplicand, RoundingMode roundingMode) { 181 @Override public ShortDuration dividedBy(long divisor, RoundingMode roundingMode) { 182 return dividedBy(new BigDecimal(divisor), roundingMode); 184 @Override public ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode) { 214 @Override public long to(TimeUnit unit, RoundingMode roundingMode) { in to() argument [all …]
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
D | ImfTiledMisc.cpp | 81 V2i (levelSize (minX, maxX, lx, tileDesc.roundingMode) - 1, in dataWindowForLevel() 82 levelSize (minY, maxY, ly, tileDesc.roundingMode) - 1); in dataWindowForLevel() 198 num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; in calculateNumXLevels() 206 num = roundLog2 (w, tileDesc.roundingMode) + 1; in calculateNumXLevels() 238 num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; in calculateNumYLevels() 246 num = roundLog2 (h, tileDesc.roundingMode) + 1; in calculateNumYLevels() 292 tileDesc.roundingMode); in precalculateTileInfo() 298 tileDesc.roundingMode); in precalculateTileInfo()
|
D | ImfTileDescription.h | 74 LevelRoundingMode roundingMode; variable 84 roundingMode (r) in xSize() 95 roundingMode == other.roundingMode;
|
D | ImfTileDescriptionAttribute.cpp | 63 unsigned char tmp = _value.mode | (_value.roundingMode << 4); in writeValueTo() 80 _value.roundingMode = LevelRoundingMode ((tmp >> 4) & 0x0f); in readValueFrom()
|
D | ImfTiledInputFile.cpp | 1127 return _data->tileDesc.roundingMode; in levelRoundingMode() 1180 _data->tileDesc.roundingMode); in levelWidth() 1197 _data->tileDesc.roundingMode); in levelHeight()
|
D | ImfHeader.cpp | 733 if (tileDesc.roundingMode != ROUND_UP && in sanityCheck() 734 tileDesc.roundingMode != ROUND_DOWN) in sanityCheck()
|
D | ImfTiledOutputFile.cpp | 1449 return _data->tileDesc.roundingMode; in levelRoundingMode() 1500 _data->tileDesc.roundingMode); in levelWidth() 1519 _data->tileDesc.roundingMode); in levelHeight()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 206 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() argument 207 if (roundingMode.equals(RoundingMode.CEILING)) { in setRoundingMode() 209 } else if (roundingMode.equals(RoundingMode.DOWN)) { in setRoundingMode() 211 } else if (roundingMode.equals(RoundingMode.FLOOR)) { in setRoundingMode() 213 } else if (roundingMode.equals(RoundingMode.HALF_DOWN)) { in setRoundingMode() 215 } else if (roundingMode.equals(RoundingMode.HALF_EVEN)) { in setRoundingMode() 217 } else if (roundingMode.equals(RoundingMode.HALF_UP)) { in setRoundingMode() 219 } else if (roundingMode.equals(RoundingMode.UNNECESSARY)) { in setRoundingMode() 221 } else if (roundingMode.equals(RoundingMode.UP)) { in setRoundingMode()
|
D | DecimalFormatICU.java | 364 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() argument 365 if (roundingMode.equals(RoundingMode.CEILING)) { in setRoundingMode() 367 } else if (roundingMode.equals(RoundingMode.DOWN)) { in setRoundingMode() 369 } else if (roundingMode.equals(RoundingMode.FLOOR)) { in setRoundingMode() 371 } else if (roundingMode.equals(RoundingMode.HALF_DOWN)) { in setRoundingMode() 373 } else if (roundingMode.equals(RoundingMode.HALF_EVEN)) { in setRoundingMode() 375 } else if (roundingMode.equals(RoundingMode.HALF_UP)) { in setRoundingMode() 377 } else if (roundingMode.equals(RoundingMode.UNNECESSARY)) { in setRoundingMode() 379 } else if (roundingMode.equals(RoundingMode.UP)) { in setRoundingMode()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | BigReal.java | 53 private RoundingMode roundingMode = RoundingMode.HALF_UP; field in BigReal 198 return roundingMode; in getRoundingMode() 206 public void setRoundingMode(RoundingMode roundingMode) { in setRoundingMode() argument 207 this.roundingMode = roundingMode; in setRoundingMode() 241 return new BigReal(d.divide(a.d, scale, roundingMode)); in divide()
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | MathContext.java | 285 int roundingMode; field in MathContext 444 roundingMode=setroundingmode; in MathContext() 503 return roundingMode; in getRoundingMode() 557 if (roundingMode==ROUNDS[r]) in toString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | MathContext.java | 296 int roundingMode; field in MathContext 460 roundingMode=setroundingmode; in MathContext() 523 return roundingMode; in getRoundingMode() 578 if (roundingMode==ROUNDS[r]) in toString()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | MathContext.java | 296 int roundingMode; field in MathContext 460 roundingMode=setroundingmode; in MathContext() 523 return roundingMode; in getRoundingMode() 578 if (roundingMode==ROUNDS[r]) in toString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RuleBasedNumberFormat.java | 601 private int roundingMode = BigDecimal.ROUND_UNNECESSARY; field in RuleBasedNumberFormat 978 out.writeInt(this.roundingMode); in writeObject() 998 roundingMode = in.readInt(); in readObject() 1519 return roundingMode; in getRoundingMode() 1534 public void setRoundingMode(int roundingMode) { in setRoundingMode() argument 1535 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) { in setRoundingMode() 1536 throw new IllegalArgumentException("Invalid rounding mode: " + roundingMode); in setRoundingMode() 1539 this.roundingMode = roundingMode; in setRoundingMode() 1933 …gDecimal(Double.toString(number)).setScale(getMaximumFractionDigits(), roundingMode).doubleValue(); in format()
|
D | DecimalFormat.java | 816 number, roundingDouble, roundingDoubleReciprocal, roundingMode, in round() 908 …if (useExponentialNotation && precision > 0 && number != 0.0 && roundingMode != BigDecimal.ROUND_H… in format() 919 …number = DecimalFormat.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 1126 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1161 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1188 …number = number.divide(actualRoundingIncrement, 0, roundingMode).multiply(actualRoundingIncrement); in format() 1195 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1220 number = number.divide(actualRoundingIncrementICU, 0, roundingMode) in format() 1228 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 3491 return roundingMode; [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RuleBasedNumberFormat.java | 598 private int roundingMode = BigDecimal.ROUND_UNNECESSARY; field in RuleBasedNumberFormat 964 out.writeInt(this.roundingMode); in writeObject() 984 roundingMode = in.readInt(); in readObject() 1483 return roundingMode; in getRoundingMode() 1498 public void setRoundingMode(int roundingMode) { in setRoundingMode() argument 1499 if (roundingMode < BigDecimal.ROUND_UP || roundingMode > BigDecimal.ROUND_UNNECESSARY) { in setRoundingMode() 1500 throw new IllegalArgumentException("Invalid rounding mode: " + roundingMode); in setRoundingMode() 1503 this.roundingMode = roundingMode; in setRoundingMode() 1897 …gDecimal(Double.toString(number)).setScale(getMaximumFractionDigits(), roundingMode).doubleValue(); in format()
|
D | DecimalFormat.java | 811 number, roundingDouble, roundingDoubleReciprocal, roundingMode, in round() 903 …if (useExponentialNotation && precision > 0 && number != 0.0 && roundingMode != BigDecimal.ROUND_H… in format() 914 …number = DecimalFormat.round(number, roundingInc, roundingIncReciprocal, roundingMode, isNegative); in format() 1120 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1153 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1178 …number = number.divide(actualRoundingIncrement, 0, roundingMode).multiply(actualRoundingIncrement); in format() 1185 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 1208 number = number.divide(actualRoundingIncrementICU, 0, roundingMode) in format() 1216 if (digitList.wasRounded() && roundingMode == BigDecimal.ROUND_UNNECESSARY) { in format() 3460 return roundingMode; [all …]
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 1218 APFloat::handleOverflow(roundingMode rounding_mode) in handleOverflow() 1244 APFloat::roundAwayFromZero(roundingMode rounding_mode, in roundAwayFromZero() 1281 APFloat::normalize(roundingMode rounding_mode, in normalize() 1663 APFloat::addOrSubtract(const APFloat &rhs, roundingMode rounding_mode, in addOrSubtract() 1694 APFloat::add(const APFloat &rhs, roundingMode rounding_mode) in add() 1701 APFloat::subtract(const APFloat &rhs, roundingMode rounding_mode) in subtract() 1708 APFloat::multiply(const APFloat &rhs, roundingMode rounding_mode) in multiply() 1727 APFloat::divide(const APFloat &rhs, roundingMode rounding_mode) in divide() 1825 roundingMode rounding_mode) in fusedMultiplyAdd() 1867 APFloat::opStatus APFloat::roundToIntegral(roundingMode rounding_mode) { in roundToIntegral() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 250 public void setRoundingMode(int roundingMode) { in setRoundingMode() argument 252 switch (roundingMode) { in setRoundingMode() 279 throw new IllegalArgumentException("Invalid rounding mode: " + roundingMode); in setRoundingMode()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | BigFraction.java | 558 public BigDecimal bigDecimalValue(final int roundingMode) { in bigDecimalValue() argument 559 return new BigDecimal(numerator).divide(new BigDecimal(denominator), roundingMode); in bigDecimalValue() 577 public BigDecimal bigDecimalValue(final int scale, final int roundingMode) { in bigDecimalValue() argument 578 return new BigDecimal(numerator).divide(new BigDecimal(denominator), scale, roundingMode); in bigDecimalValue()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | BigMatrixImpl.java | 85 private int roundingMode = BigDecimal.ROUND_HALF_UP; field in BigMatrixImpl 538 return roundingMode; in getRoundingMode() 546 public void setRoundingMode(int roundingMode) { in setRoundingMode() argument 547 this.roundingMode = roundingMode; in setRoundingMode() 1185 bpCol[j] = bpCol[j].divide(luDiag, scale, roundingMode); in solve() 1291 luRow[col] = luRow[col].divide(luDiag, scale, roundingMode); in luDecompose()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTestTuple.java | 99 public Integer roundingMode = null; field in NumberFormatTestTuple 339 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTestTuple.java | 100 public Integer roundingMode = null; field in NumberFormatTestTuple 340 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
|
/external/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.h | 108 DecimalFormat::ERoundingMode roundingMode; variable
|