/external/llvm/test/CodeGen/X86/ |
legalizedag_vec.ll | 7 ; legalizing the divide in LegalizeDAG, we scalarize the vector divide and make 8 ; two 64 bit divide library calls which introduces i64 nodes that needs to be
|
/external/compiler-rt/lib/ubsan/lit_tests/Integer/ |
div-zero.cpp | 1 // RUN: %clang -fsanitize=integer-divide-by-zero -DDIVIDEND=0 %s -o %t && %t 2>&1 | FileCheck %s 2 // RUN: %clang -fsanitize=integer-divide-by-zero -DDIVIDEND=1U %s -o %t && %t 2>&1 | FileCheck %s 3 // RUN: %clang -fsanitize=float-divide-by-zero -DDIVIDEND=1.5 %s -o %t && %t 2>&1 | FileCheck %s 4 // RUN: %clang -fsanitize=integer-divide-by-zero -DDIVIDEND='intmax(123)' %s -o %t && %t 2>&1 | FileCheck %s
|
/external/llvm/test/Transforms/ConstProp/ |
2002-05-03-DivideByZeroException.ll | 1 ; Make sure that the constant propogator doesn't divide by zero!
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalArithmeticTest.java | 197 a.round(mc).divide(b.round(mc)).toString()); 198 res = a.divide(b, BigDecimal.ROUND_FLOOR); 203 res = a.divide(b, BigDecimal.ROUND_UNNECESSARY); 209 res = a.divide(b, BigDecimal.ROUND_UNNECESSARY); 223 res = a.divide(b, -1220, BigDecimal.ROUND_FLOOR); 228 res = a.divide(b, 1, BigDecimal.ROUND_UNNECESSARY); 234 res = a.divide(b, 0, BigDecimal.ROUND_UNNECESSARY); 252 a.round(mc).divide(b.round(mc)).toString()); 253 res = a.divide(b, mc); 259 res = a.divide(b, mc) [all...] |
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerDivideTest.java | 28 * Methods: divide, remainder, mod, and divideAndRemainder 32 * Divide by zero 42 aNumber.divide(bNumber); 49 * Divide by ZERO 57 aNumber.divide(bNumber); 64 * Divide two equal positive numbers 74 BigInteger result = aNumber.divide(bNumber); 84 * Divide two equal in absolute value numbers of different signs. 94 BigInteger result = aNumber.divide(bNumber); 104 * Divide two numbers of different length and different signs [all...] |
BigDecimalArithmeticTest.java | 29 * Methods: add, subtract, multiply, divide 478 * Divide by zero 486 aNumber.divide(bNumber); 494 * Divide with ROUND_UNNECESSARY 504 aNumber.divide(bNumber, BigDecimal.ROUND_UNNECESSARY); 512 * Divide with invalid rounding mode 522 aNumber.divide(bNumber, 100); 530 * Divide: local variable exponent is less than zero 541 BigDecimal result = aNumber.divide(bNumber, resScale, BigDecimal.ROUND_CEILING); 547 * Divide: local variable exponent is equal to zer [all...] |
/dalvik/tests/083-jit-regressions/src/ |
ZeroTests.java | 31 private static void longTest(String name, boolean divide) throws Exception { 36 if (divide) { 50 if (divide) {
|
/dalvik/vm/compiler/template/mips/ |
TEMPLATE_STRING_INDEXOF.S | 95 sra v0, v0, 1 # divide by 2 100 sra v0, v0, 1 # divide by 2 105 sra v0, v0, 1 # divide by 2 110 sra v0, v0, 1 # divide by 2
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedLongsTest.java | 59 assertEquals(2, UnsignedLongs.divide(14, 5)); 60 assertEquals(0, UnsignedLongs.divide(0, 50)); 61 assertEquals(1, UnsignedLongs.divide(0xfffffffffffffffeL, 0xfffffffffffffffdL)); 62 assertEquals(0, UnsignedLongs.divide(0xfffffffffffffffdL, 0xfffffffffffffffeL)); 63 assertEquals(281479271743488L, UnsignedLongs.divide(0xfffffffffffffffeL, 65535)); 64 assertEquals(0x7fffffffffffffffL, UnsignedLongs.divide(0xfffffffffffffffeL, 2)); 65 assertEquals(3689348814741910322L, UnsignedLongs.divide(0xfffffffffffffffeL, 5)); 87 assertTrue(dividend - (divisor * UnsignedLongs.divide(dividend, divisor)
|
/external/proguard/src/proguard/evaluation/value/ |
SpecificDoubleValue.java | 80 public DoubleValue divide(DoubleValue other) method in class:SpecificDoubleValue 87 return other.divide(this); 134 public DoubleValue divide(SpecificDoubleValue other) method in class:SpecificDoubleValue 136 return new CompositeDoubleValue(this, CompositeDoubleValue.DIVIDE, other); 141 return new CompositeDoubleValue(other, CompositeDoubleValue.DIVIDE, this);
|
SpecificFloatValue.java | 80 public FloatValue divide(FloatValue other) method in class:SpecificFloatValue 87 return other.divide(this); 134 public FloatValue divide(SpecificFloatValue other) method in class:SpecificFloatValue 136 return new CompositeFloatValue(this, CompositeFloatValue.DIVIDE, other); 141 return new CompositeFloatValue(other, CompositeFloatValue.DIVIDE, this);
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
weight.h | 40 // Divide: for all a,b,c s.t. Times(a, b) == c 41 // --> b = Divide(c, a, DIVIDE_LEFT) if a left semiring and b.Member() 42 // --> a = Divide(c, b, DIVIDE_RIGHT) if a right semiring and a.Member() 43 // --> b = Divide(c, a) 44 // = Divide(c, a, DIVIDE_ANY) 45 // = Divide(c, a, DIVIDE_LEFT) 46 // = Divide(c, a, DIVIDE_RIGHT) if a commutative semiring
|
reweight.h | 71 arc.weight = Divide(Times(arc.weight, potential[arc.nextstate]), 75 arc.weight = Divide(Times(potential[state], arc.weight), 82 Divide(fst->Final(state), potential[state], DIVIDE_LEFT)); 99 Divide(Weight::One(), potential[state], DIVIDE_RIGHT), 106 fst->SetFinal(state, Times(Divide(Weight::One(), potential[state], 114 Divide(Weight::One(), potential[fst->Start()], DIVIDE_RIGHT);
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
BinaryOp.java | 27 * {@link #DIVIDE}, and {@link #REMAINDER}) support ints, longs, floats and 35 * For int and long operands, {@link #DIVIDE} and {@link #REMAINDER} throw 62 DIVIDE() {
|
/external/dropbear/libtommath/ |
bn_mp_gcd.c | 50 /* divide the power of two out */ 60 /* divide any remaining factors of two out */ 85 /* Divide out all factors of two */
|
/external/compiler-rt/lib/arm/ |
udivmodsi4.S | 1 /*===-- udivmodsi4.S - 32-bit unsigned integer divide and modulus ---------===// 10 * This file implements the __udivmodsi4 (32-bit unsigned integer divide and 35 // divide loop, we must calculate the left-shift amount necessary to align 42 tst b, b // detect divide-by-zero
|
udivsi3.S | 1 /*===-- udivsi3.S - 32-bit unsigned integer divide ------------------------===// 10 * This file implements the __udivsi3 (32-bit unsigned integer divide) 46 // divide loop, we must calculate the left-shift amount necessary to align 53 tst b, b // detect divide-by-zero
|
/external/skia/tools/ |
CopyTilesRenderer.h | 20 * it will divide the picture into large tiles and draw the picture once for each large tile.
|
/external/llvm/include/llvm/Transforms/Utils/ |
BypassSlowDivision.h | 14 // positive and less than 256 use an unsigned 8-bit divide. 27 /// profitably bypassed and carried out with a shorter, faster divide.
|
/external/openfst/src/include/fst/ |
reweight.h | 85 arc.weight = Divide(Times(arc.weight, nextweight), weight, 88 arc.weight = Divide(Times(weight, arc.weight), nextweight, 93 fst->SetFinal(state, Divide(fst->Final(state), weight, DIVIDE_LEFT)); 119 Divide(Weight::One(), startweight, DIVIDE_RIGHT), 126 fst->SetFinal(state, Times(Divide(Weight::One(), startweight, 132 Divide(Weight::One(), startweight, DIVIDE_RIGHT);
|
float-weight.h | 284 inline TropicalWeightTpl<T> Divide(const TropicalWeightTpl<T> &w1, 298 inline TropicalWeightTpl<float> Divide(const TropicalWeightTpl<float> &w1, 301 return Divide<float>(w1, w2, typ); 304 inline TropicalWeightTpl<double> Divide(const TropicalWeightTpl<double> &w1, 307 return Divide<double>(w1, w2, typ); 419 inline LogWeightTpl<T> Divide(const LogWeightTpl<T> &w1, 433 inline LogWeightTpl<float> Divide(const LogWeightTpl<float> &w1, 436 return Divide<float>(w1, w2, typ); 439 inline LogWeightTpl<double> Divide(const LogWeightTpl<double> &w1, 442 return Divide<double>(w1, w2, typ) [all...] |
weight.h | 46 // Divide: for all a,b,c s.t. Times(a, b) == c 47 // --> b' = Divide(c, a, DIVIDE_LEFT) if a left semiring, b'.Member() 49 // --> a' = Divide(c, b, DIVIDE_RIGHT) if a right semiring, a'.Member() 51 // --> b' = Divide(c, a) = Divide(c, a, DIVIDE_ANY) = 52 // Divide(c, a, DIVIDE_LEFT) = Divide(c, a, DIVIDE_RIGHT) if a
|
sparse-power-weight.h | 56 return Divide(v1, v2, divide_type_); 168 // Semimodule divide operation 170 inline SparsePowerWeight<W, K> Divide(const SparsePowerWeight<W, K> &w1, 216 inline SparsePowerWeight<W, K> Divide(const SparsePowerWeight<W, K> &w1, 220 return Divide(w1, w2, divide_type);
|
/external/speex/libspeex/ |
fixed_bfin.h | 52 "LOOP divide%= LC0 = P0;\n\t" 53 "LOOP_BEGIN divide%=;\n\t" 55 "LOOP_END divide%=;\n\t" 79 "LOOP divide%= LC0 = P0;\n\t" 80 "LOOP_BEGIN divide%=;\n\t" 82 "LOOP_END divide%=;\n\t"
|
/external/openfst/src/test/ |
weight-tester.h | 133 Weight d = Divide(p, w1, DIVIDE_LEFT); 136 CHECK(!Divide(w1, Weight::NoWeight(), DIVIDE_LEFT).Member()); 137 CHECK(!Divide(Weight::NoWeight(), w1, DIVIDE_LEFT).Member()); 141 Weight d = Divide(p, w2, DIVIDE_RIGHT); 144 CHECK(!Divide(w1, Weight::NoWeight(), DIVIDE_RIGHT).Member()); 145 CHECK(!Divide(Weight::NoWeight(), w1, DIVIDE_RIGHT).Member()); 149 Weight d = Divide(p, w1, DIVIDE_RIGHT);
|