Home
last modified time | relevance | path

Searched refs:ArithmeticException (Results 1 – 25 of 74) sorted by relevance

123

/external/proguard/src/proguard/evaluation/value/
DSpecificLongValue.java81 throws ArithmeticException in divide()
87 throws ArithmeticException in divideOf()
93 throws ArithmeticException in remainder()
99 throws ArithmeticException in remainderOf()
173 throws ArithmeticException in divide()
179 throws ArithmeticException in divideOf()
185 throws ArithmeticException in remainder()
191 throws ArithmeticException in remainderOf()
DParticularLongValue.java101 throws ArithmeticException in divide()
107 throws ArithmeticException in divideOf()
113 throws ArithmeticException in remainder()
119 throws ArithmeticException in remainderOf()
189 throws ArithmeticException in divide()
195 throws ArithmeticException in divideOf()
201 throws ArithmeticException in remainder()
207 throws ArithmeticException in remainderOf()
DUnknownLongValue.java76 throws ArithmeticException in multiply()
82 throws ArithmeticException in divide()
88 throws ArithmeticException in divideOf()
94 throws ArithmeticException in remainder()
100 throws ArithmeticException in remainderOf()
DSpecificIntegerValue.java96 throws ArithmeticException in divide()
102 throws ArithmeticException in divideOf()
108 throws ArithmeticException in remainder()
114 throws ArithmeticException in remainderOf()
228 throws ArithmeticException in divide()
234 throws ArithmeticException in divideOf()
240 throws ArithmeticException in remainder()
246 throws ArithmeticException in remainderOf()
DUnknownIntegerValue.java92 throws ArithmeticException in multiply()
98 throws ArithmeticException in divide()
104 throws ArithmeticException in divideOf()
110 throws ArithmeticException in remainder()
116 throws ArithmeticException in remainderOf()
DParticularIntegerValue.java128 throws ArithmeticException in divide()
134 throws ArithmeticException in divideOf()
140 throws ArithmeticException in remainder()
146 throws ArithmeticException in remainderOf()
256 throws ArithmeticException in divide()
262 throws ArithmeticException in divideOf()
268 throws ArithmeticException in remainder()
274 throws ArithmeticException in remainderOf()
DLongValue.java104 throws ArithmeticException in multiply()
113 throws ArithmeticException in divide()
122 throws ArithmeticException in divideOf()
132 throws ArithmeticException in remainder()
142 throws ArithmeticException in remainderOf()
DIntegerValue.java106 throws ArithmeticException; in multiply()
112 throws ArithmeticException; in divide()
118 throws ArithmeticException; in divideOf()
125 throws ArithmeticException; in remainder()
132 throws ArithmeticException; in remainderOf()
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java93 } catch (ArithmeticException e) { in testRoundIntegralDoubleToInt()
111 } catch (ArithmeticException e) { in testRoundFractionalDoubleToInt()
128 } catch (ArithmeticException e) { in testRoundExactIntegralDoubleToInt()
140 } catch (ArithmeticException expected) {} in testRoundExactFractionalDoubleToIntFails()
150 } catch (ArithmeticException expected) {} in testRoundNaNToIntAlwaysFails()
160 } catch (ArithmeticException expected) {} in testRoundInfiniteToIntAlwaysFails()
164 } catch (ArithmeticException expected) {} in testRoundInfiniteToIntAlwaysFails()
179 } catch (ArithmeticException e) { in testRoundIntegralDoubleToLong()
197 } catch (ArithmeticException e) { in testRoundFractionalDoubleToLong()
215 } catch (ArithmeticException e) { in testRoundExactIntegralDoubleToLong()
[all …]
DLongMathTest.java73 } catch (ArithmeticException expected) {} in testConstantsPowersOf10()
102 } catch (ArithmeticException expect) {} in testConstantsFactorials()
129 } catch (ArithmeticException expected) {} in testConstantsBiggestSimpleBinomials()
137 } catch (ArithmeticException expected) {} in testConstantsBiggestSimpleBinomials()
212 } catch (ArithmeticException e) { in testLog2Exact()
259 } catch (ArithmeticException e) { in testLog10Exact()
307 } catch (ArithmeticException e) { in testSqrtExactMatchesFloorOrThrows()
346 } catch (ArithmeticException e) { in testDivNonZeroExact()
369 } catch (ArithmeticException expected) {} in testDivByZeroAlwaysFails()
392 } catch (ArithmeticException expected) {} in testIntModNegativeModulusFails()
[all …]
DIntMathTest.java158 } catch (ArithmeticException e) { in testLog2Exact()
206 } catch (ArithmeticException e) { in testLog10Exact()
263 } catch (ArithmeticException e) { in testSqrtExactMatchesFloorOrThrows()
306 } catch (ArithmeticException e) { in testDivNonZeroExact()
327 } catch (ArithmeticException expected) {} in testDivByZeroAlwaysFails()
346 } catch (ArithmeticException expected) {} in testModNegativeModulusFails()
356 } catch (ArithmeticException expected) {} in testModZeroModulusFails()
410 } catch (ArithmeticException e) { in testCheckedAdd()
425 } catch (ArithmeticException e) { in testCheckedSubtract()
440 } catch (ArithmeticException e) { in testCheckedMultiply()
[all …]
DMathPreconditionsTest.java244 } catch (ArithmeticException expected) {} in testCheckRoundingUnnecessary_failure()
255 } catch (ArithmeticException expected) {} in testCheckInRange_failure()
266 } catch (ArithmeticException expected) {} in testCheckNoOverflow_failure()
DBigIntegerMathTest.java115 } catch (ArithmeticException e) { in testLog2Exact()
205 } catch (ArithmeticException e) { in testLog10Exact()
306 } catch (ArithmeticException e) {
378 } catch (ArithmeticException e) {
401 } catch (ArithmeticException expected) {}
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DIntMathTest.java95 } catch (ArithmeticException e) { in testLog2Exact()
139 } catch (ArithmeticException e) { in testDivNonZeroExact()
160 } catch (ArithmeticException expected) {} in testDivByZeroAlwaysFails()
179 } catch (ArithmeticException expected) {} in testModNegativeModulusFails()
189 } catch (ArithmeticException expected) {} in testModZeroModulusFails()
243 } catch (ArithmeticException e) { in testCheckedAdd()
258 } catch (ArithmeticException e) { in testCheckedSubtract()
273 } catch (ArithmeticException e) { in testCheckedMultiply()
288 } catch (ArithmeticException e) { in testCheckedPow()
/external/sfntly/cpp/src/sfntly/port/
Dexception_type.h72 class ArithmeticException : public Exception {
74 ArithmeticException() throw() : Exception("Arithmetic exception") {} in ArithmeticException() function
75 explicit ArithmeticException(const char* message) throw() in ArithmeticException() function
77 virtual ~ArithmeticException() throw() {} in ~ArithmeticException()
/external/testng/src/test/java/test/sample/
DSample1.java51 @ExpectedExceptions( {NumberFormatException.class, ArithmeticException.class})
57 @ExpectedExceptions( {NumberFormatException.class, ArithmeticException.class})
59 throw new ArithmeticException(); in throwExpectedException2ShouldPass()
/external/guava/guava/src/com/google/common/math/
DMathPreconditions.java81 throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary"); in checkRoundingUnnecessary()
87 throw new ArithmeticException("not in range"); in checkInRange()
93 throw new ArithmeticException("overflow"); in checkNoOverflow()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java1353 throw new java.lang.ArithmeticException("Negative scale:" + " " + scale); in divide()
1739 throw new java.lang.ArithmeticException("Negative power:" + " " + rhs.toString()); in pow()
1743 throw new java.lang.ArithmeticException("Too many digits:" + " " + rhs.toString()); in pow()
1879 throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in byteValueExact()
2200 … throw new java.lang.ArithmeticException("Exponent Overflow:" + " " + num.exp); in format()
2369 … throw new java.lang.ArithmeticException("Decimal part non-zero:" + " " + this.toString()); in intValueExact()
2375 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in intValueExact()
2401 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in intValueExact()
2454 … throw new java.lang.ArithmeticException("Decimal part non-zero:" + " " + this.toString()); in longValueExact()
2460 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in longValueExact()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/math/
DApacheBenchmark.java67 } catch (ArithmeticException e) { in noAddOverflow()
77 } catch (ArithmeticException e) { in noAddOverflow()
87 } catch (ArithmeticException e) { in noMulOverflow()
97 } catch (ArithmeticException e) { in noMulOverflow()
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DTimeUtilsTest.java42 thrown.expect(ArithmeticException.class); in checkedAdd_TooLow()
49 thrown.expect(ArithmeticException.class); in checkedAdd_TooHigh()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java1382 throw new java.lang.ArithmeticException("Negative scale:" + " " + scale); in divide()
1783 throw new java.lang.ArithmeticException("Negative power:" + " " + rhs.toString()); in pow()
1787 throw new java.lang.ArithmeticException("Too many digits:" + " " + rhs.toString()); in pow()
1928 throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in byteValueExact()
2254 … throw new java.lang.ArithmeticException("Exponent Overflow:" + " " + num.exp); in format()
2426 … throw new java.lang.ArithmeticException("Decimal part non-zero:" + " " + this.toString()); in intValueExact()
2432 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in intValueExact()
2458 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in intValueExact()
2513 … throw new java.lang.ArithmeticException("Decimal part non-zero:" + " " + this.toString()); in longValueExact()
2519 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in longValueExact()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DBigDecimal.java1379 throw new java.lang.ArithmeticException("Negative scale:" + " " + scale); in divide()
1780 throw new java.lang.ArithmeticException("Negative power:" + " " + rhs.toString()); in pow()
1784 throw new java.lang.ArithmeticException("Too many digits:" + " " + rhs.toString()); in pow()
1925 throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in byteValueExact()
2248 … throw new java.lang.ArithmeticException("Exponent Overflow:" + " " + num.exp); in format()
2418 … throw new java.lang.ArithmeticException("Decimal part non-zero:" + " " + this.toString()); in intValueExact()
2424 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in intValueExact()
2450 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in intValueExact()
2504 … throw new java.lang.ArithmeticException("Decimal part non-zero:" + " " + this.toString()); in longValueExact()
2510 … throw new java.lang.ArithmeticException("Conversion overflow:" + " " + this.toString()); in longValueExact()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/
DExceptionConstants.java59 Class<ArithmeticException> ARITHMETIC_EXCEPTION = ArithmeticException.class;
DExceptionConst.java56 public static final Class<ArithmeticException> ARITHMETIC_EXCEPTION = ArithmeticException.class;
/external/opencensus-java/testing/src/test/java/io/opencensus/testing/common/
DTestClockTest.java56 @Test(expected = ArithmeticException.class)
61 @Test(expected = ArithmeticException.class)

123