/external/proguard/src/proguard/evaluation/value/ |
SpecificIntegerValue.java | 96 throws ArithmeticException 102 throws ArithmeticException 108 throws ArithmeticException 114 throws ArithmeticException 228 throws ArithmeticException 234 throws ArithmeticException 240 throws ArithmeticException 246 throws ArithmeticException
|
LongValue.java | 104 throws ArithmeticException 113 throws ArithmeticException 122 throws ArithmeticException 132 throws ArithmeticException 142 throws ArithmeticException
|
IntegerValue.java | 106 throws ArithmeticException; 112 throws ArithmeticException; 118 throws ArithmeticException; 125 throws ArithmeticException; 132 throws ArithmeticException;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
CountingInputStream.java | 112 * NOTE: From v1.3 this method throws an ArithmeticException if the 117 * @throws ArithmeticException if the byte count is too large 122 throw new ArithmeticException("The byte count " + result + " is too large to be converted to an int"); 130 * NOTE: From v1.3 this method throws an ArithmeticException if the 135 * @throws ArithmeticException if the byte count is too large 140 throw new ArithmeticException("The byte count " + result + " is too large to be converted to an int");
|
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
IntMathTest.java | 95 } catch (ArithmeticException e) { 139 } catch (ArithmeticException e) { 159 fail("Expected ArithmeticException"); 160 } catch (ArithmeticException expected) {} 178 fail("Expected ArithmeticException"); 179 } catch (ArithmeticException expected) {} 188 fail("Expected ArithmeticException"); 189 } catch (ArithmeticException expected) {} 243 } catch (ArithmeticException e) { 258 } catch (ArithmeticException e) [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/util/ |
ShortDurationTest.java | 52 } catch (ArithmeticException expected) {
|
/external/guava/guava-tests/test/com/google/common/math/ |
LongMathTest.java | 72 fail("Expected ArithmeticException"); 73 } catch (ArithmeticException expected) {} 101 fail("Expected ArithmeticException"); 102 } catch (ArithmeticException expect) {} 128 fail("Expected ArithmeticException"); 129 } catch (ArithmeticException expected) {} 136 fail("Expected ArithmeticException"); 137 } catch (ArithmeticException expected) {} 153 // Throws an ArithmeticException if "the simple implementation" of binomial coefficients overflows 212 } catch (ArithmeticException e) [all...] |
DoubleMathTest.java | 93 } catch (ArithmeticException e) { 111 } catch (ArithmeticException e) { 128 } catch (ArithmeticException e) { 139 fail("Expected ArithmeticException"); 140 } catch (ArithmeticException expected) {} 149 fail("Expected ArithmeticException"); 150 } catch (ArithmeticException expected) {} 159 fail("Expected ArithmeticException"); 160 } catch (ArithmeticException expected) {} 163 fail("Expected ArithmeticException"); [all...] |
MathPreconditionsTest.java | 244 } catch (ArithmeticException expected) {} 255 } catch (ArithmeticException expected) {} 266 } catch (ArithmeticException expected) {}
|
IntMathTest.java | 158 } catch (ArithmeticException e) { 206 } catch (ArithmeticException e) { 263 } catch (ArithmeticException e) { 306 } catch (ArithmeticException e) { 326 fail("Expected ArithmeticException"); 327 } catch (ArithmeticException expected) {} 345 fail("Expected ArithmeticException"); 346 } catch (ArithmeticException expected) {} 355 fail("Expected ArithmeticException"); 356 } catch (ArithmeticException expected) { [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerTest.java | 384 } catch (ArithmeticException e) { 405 } catch (ArithmeticException e) { 572 fail("ArithmeticException expected"); 573 } catch (ArithmeticException e) { 578 fail("ArithmeticException expected"); 579 } catch (ArithmeticException e) { 584 fail("ArithmeticException expected"); 585 } catch (ArithmeticException e) { 590 fail("ArithmeticException expected"); 591 } catch (ArithmeticException e) [all...] |
BigIntegerModPowTest.java | 46 fail("ArithmeticException has not been caught"); 47 } catch (ArithmeticException e) { 52 fail("ArithmeticException has not been caught"); 53 } catch (ArithmeticException e) { 139 fail("ArithmeticException has not been caught"); 140 } catch (ArithmeticException e) { 156 fail("ArithmeticException has not been caught"); 157 } catch (ArithmeticException e) {
|
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
BRTest.java | 92 } catch (ArithmeticException ignored) { 188 } catch (ArithmeticException ignored) {} 192 } catch (ArithmeticException ignored) {} 196 } catch (ArithmeticException ignored) {} 200 } catch (ArithmeticException ignored) {} 204 } catch (ArithmeticException ignored) {}
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalArithmeticTest.java | 99 fail("ArithmeticException is not thrown for negative exponent"); 100 } catch (ArithmeticException e) { 105 fail("ArithmeticException is not thrown for negative exponent"); 106 } catch (ArithmeticException e) { 146 fail("ArithmeticException is not thrown"); 147 } catch (ArithmeticException e) { 160 fail("ArithmeticException is not thrown for negative exponent and precision = 0"); 161 } catch (ArithmeticException e) { 169 fail("ArithmeticException is not thrown for negative exponent and precision = 0"); 170 } catch (ArithmeticException e) [all...] |
OldBigDecimalCompareTest.java | 50 fail("No ArithmeticException for RoundingMode.UNNECESSARY"); 51 } catch (ArithmeticException expected) {
|
OldBigDecimalConstructorsTest.java | 99 fail("No ArithmeticException for RoundingMode.UNNECESSARY"); 100 } catch (ArithmeticException e) { 105 fail("No ArithmeticException for RoundingMode.UNNECESSARY"); 106 } catch (ArithmeticException e) { 186 fail("No ArithmeticException for RoundingMode.UNNECESSARY"); 187 } catch (ArithmeticException e) { 192 fail("No ArithmeticException for RoundingMode.UNNECESSARY"); 193 } catch (ArithmeticException e) { 246 fail("No ArithmeticException for RoundingMode.UNNECESSARY"); 247 } catch (ArithmeticException e) [all...] |
/external/guava/guava-tests/benchmark/com/google/common/math/ |
ApacheBenchmark.java | 67 } catch (ArithmeticException e) { 77 } catch (ArithmeticException e) { 87 } catch (ArithmeticException e) { 97 } catch (ArithmeticException e) {
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
BoundedRational.java | 218 public static class ZeroDivisionException extends ArithmeticException { 248 throw new ArithmeticException("sqrt(negative)"); 311 throw new ArithmeticException("inverse trig argument out of range"); 392 throw new ArithmeticException("Tangent undefined"); 487 throw new ArithmeticException("log(non-positive)"); 521 throw new ArithmeticException("log(non-positive)"); 579 throw new ArithmeticException("Non-integral factorial argument"); 582 throw new ArithmeticException("Negative factorial argument"); 586 throw new ArithmeticException("Factorial argument too big");
|
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 159 * @throws ArithmeticException if {@code bitLength < 2}. 165 throw new ArithmeticException("bitLength < 2: " + bitLength); 534 * @throws ArithmeticException if {@code n < 0}. 538 throw new ArithmeticException("n < 0: " + n); 580 * @throws ArithmeticException if {@code n < 0}. 600 * @throws ArithmeticException if {@code n < 0}. 620 * @throws ArithmeticException if {@code n < 0}. 625 throw new ArithmeticException("n < 0: " + n); 901 * @throws ArithmeticException if {@code exp < 0}. 905 throw new ArithmeticException("exp < 0: " + exp) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/ |
Test_div_int.java | 128 loadAndRun("dot.junit.opcodes.div_int.d.T_div_int_1", ArithmeticException.class, 1, 0);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_2addr/ |
Test_div_int_2addr.java | 126 loadAndRun("dot.junit.opcodes.div_int_2addr.d.T_div_int_2addr_1", ArithmeticException.class,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long/ |
Test_div_long.java | 126 loadAndRun("dot.junit.opcodes.div_long.d.T_div_long_1", ArithmeticException.class,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/ |
Test_div_long_2addr.java | 126 ArithmeticException.class, 12345678912345l, 0);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/ |
Test_rem_int.java | 126 loadAndRun("dot.junit.opcodes.rem_int.d.T_rem_int_1", ArithmeticException.class, 1, 0);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/ |
Test_rem_int_2addr.java | 126 loadAndRun("dot.junit.opcodes.rem_int_2addr.d.T_rem_int_2addr_1", ArithmeticException.class,
|