Home
last modified time | relevance | path

Searched refs:getZero (Results 1 – 25 of 99) sorted by relevance

1234

/external/clang/test/Analysis/inlining/
Dpath-notes.c56 int *getZero() { in getZero() function
65 *getZero() = 1; // expected-warning{{Dereference of null pointer}} in testReturnZero()
72 return *getZero(); // expected-warning{{Dereference of null pointer}} in testReturnZero2()
79 int *a = getZero(); in testInitZero()
88 a = getZero(); in testStoreZero()
103 usePointer(getZero()); in testUseOfNullPointer()
DObjCDynTypePopagation.m13 - (int) getZero { method
43 clang_analyzer_eval([a getZero] == 0); // expected-warning{{TRUE}}
65 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}
72 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}
82 return [x getZero];
88 - (int) getZero; method
96 - (int) getZero { return 5; } method
99 clang_analyzer_eval([x getZero] == 0); //expected-warning{{TRUE}}
DDynDispatchBifurcate.m6 - (int)getZero; method
9 - (int)getZero { method
68 - (int)getZero; method
78 int z = [p getZero];
81 return 5/[p getZero];// expected-warning {{Division by zero}}
88 int z = [c getZero]; // MyClass overrides getZero to return '1'.
91 return 5/[c getZero];//no warning
94 - (int)getZero { method
138 // - If it's MyParent*, getZero returns 0.
139 // - If it's MyClass*, getZero returns 1 and 'return 5/m' is reachable.
DObjCImproperDynamictallyDetectableCast.m17 - (int)getZero; method
20 - (int)getZero { return 0; } method
24 - (int)getZero; method
28 - (int)getZero { return 1; } method
35 clang_analyzer_eval([o getZero] == 0); // expected-warning{{FALSE}}
Dpath-notes.cpp159 int getZero() { in getZero() function
173 int problem = 1 / getZero(); // expected-warning {{Division by zero}} in test()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfpDec.java133 final Dfp result = newInstance(getZero()); in newInstance()
300 final Dfp result = newInstance(getZero()); in nextAfter()
318 if (lessThan(getZero())) { in nextAfter()
326 if (this.equals(getZero())) { in nextAfter()
330 if (inc.equals(getZero())) { in nextAfter()
331 result = copysign(newInstance(getZero()), this); in nextAfter()
345 if (this.equals(getZero())) { in nextAfter()
349 if (inc.equals(getZero())) { in nextAfter()
350 result = copysign(newInstance(getZero()), this); in nextAfter()
361 if (result.equals(getZero()) && this.equals(getZero()) == false) { in nextAfter()
DDfp.java596 final Dfp result = newInstance(getZero()); in newInstance()
645 public Dfp getZero() { in getZero() method in Dfp
646 return field.getZero(); in getZero()
755 final Dfp result = newInstance(getZero()); in lessThan()
764 dotrap(DfpField.FLAG_INVALID, LESS_THAN_TRAP, x, newInstance(getZero())); in lessThan()
780 final Dfp result = newInstance(getZero()); in greaterThan()
789 dotrap(DfpField.FLAG_INVALID, GREATER_THAN_TRAP, x, newInstance(getZero())); in greaterThan()
977 Dfp result = newInstance(getZero()); in trunc()
1169 final Dfp result = newInstance(getZero()); in add()
1198 Dfp result = newInstance(getZero()); in add()
[all …]
DDfpMath.java113 result[1] = a[0].getZero(); in splitMult()
160 result[1] = base[0].getZero(); in splitPow()
324 if (a.equals(a.getZero()) || a.lessThan(a.getZero()) || a.isNaN()) { in log()
363 spx[1] = a.getZero(); in log()
370 spx[1] = a.getZero(); in log()
510 final Dfp result = x.newInstance(x.getZero()); in pow()
515 final Dfp zero = x.getZero(); in pow()
736 final Dfp zero = a.getField().getZero(); in sin()
787 final Dfp zero = a.getField().getZero(); in cos()
878 final Dfp zero = a.getField().getZero(); in atan()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DInterfaceWithDuplicateMethods.java29 default int getZero() { in getZero() method
35 static int getZero(InterfaceWithDuplicateMethods i) { in getZero() method
42 return InterfaceWithDuplicateMethods.getZero(this); in getZeroFromStaticInterfaceMethod()
/external/clang/test/Analysis/
Dinline.cpp19 int getZero() { return 0; } in getZero() function in A
24 clang_analyzer_eval(a.getZero() == 0); // expected-warning{{TRUE}} in test()
28 clang_analyzer_eval(copy.getZero() == 0); // expected-warning{{TRUE}} in test()
408 clang_analyzer_eval(object->getZero() == 0); // expected-warning{{TRUE}} in test()
409 clang_analyzer_eval(object->One::getZero() == 0); // expected-warning{{TRUE}} in test()
410 clang_analyzer_eval(object->A::getZero() == 0); // expected-warning{{TRUE}} in test()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DFieldLUDecompositionImpl.java97 T sum = field.getZero(); in FieldLUDecompositionImpl()
119 if (lu[nonZero][col].equals(field.getZero())) { in FieldLUDecompositionImpl()
133 T tmp = field.getZero(); in FieldLUDecompositionImpl()
206 return field.getZero(); in getDeterminant()
209 T determinant = even ? field.getOne() : field.getZero().subtract(field.getOne()); in getDeterminant()
275 final T[] bp = (T[]) Array.newInstance(field.getZero().getClass(), m); in solve()
321 final T[] bp = (T[]) Array.newInstance(field.getZero().getClass(), m); in solve()
380 … final T[][] bp = (T[][]) Array.newInstance(field.getZero().getClass(), new int[] { m, nColB }); in solve()
DAbstractFieldMatrix.java129 T[] dummyRow = (T[]) Array.newInstance(field.getZero().getClass(), 0); in buildArray()
133 (T[][]) Array.newInstance(field.getZero().getClass(), new int[] { rows, columns }); in buildArray()
135 Arrays.fill(array[i], field.getZero()); in buildArray()
152 T[] array = (T[]) Array.newInstance(field.getZero().getClass(), length); in buildArray()
153 Arrays.fill(array, field.getZero()); in buildArray()
252 T sum = field.getZero(); in multiply()
315 subMatrix.walkInOptimizedOrder(new DefaultFieldMatrixChangingVisitor<T>(field.getZero()) { in getSubMatrix()
347 walkInOptimizedOrder(new DefaultFieldMatrixPreservingVisitor<T>(field.getZero()) { in copySubMatrix()
631 walkInOptimizedOrder(new DefaultFieldMatrixPreservingVisitor<T>(field.getZero()) { in transpose()
664 T trace = field.getZero(); in getTrace()
[all …]
DSparseFieldMatrix.java110 if (getField().getZero().equals(value)) { in addToEntry()
159 if (getField().getZero().equals(value)) { in multiplyEntry()
173 if (getField().getZero().equals(value)) { in setEntry()
DSparseFieldVector.java216 T res = field.getZero(); in dotProduct()
228 T res = field.getZero(); in dotProduct()
232 T value = field.getZero(); in dotProduct()
398 return mapAddToSelf(field.getZero().subtract(d)); in mapSubtractToSelf()
508 res.setEntry(key, field.getZero().subtract(iter.value())); in subtract()
531 res.setEntry(i, field.getZero().subtract(v[i])); in subtract()
589 return (T[]) Array.newInstance(field.getZero().getClass(), length); in buildArray()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp369 BranchProbability Probs[] = {BranchProbability::getZero(), in calcLoopBranchHeuristics()
370 BranchProbability::getZero(), in calcLoopBranchHeuristics()
371 BranchProbability::getZero()}; in calcLoopBranchHeuristics()
561 auto MaxProb = BranchProbability::getZero(); in getHotSucc()
607 auto Prob = BranchProbability::getZero(); in getEdgeProbability()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringMIPS32.cpp1111 auto *Zero = getZero(); in legalizeUndef()
2446 _addiu(T2, getZero(), -MIPS32_STACK_ALIGNMENT_BYTES); in lowerAlloca()
2595 _addiu(T_Lo, getZero(), 0); in lowerInt64Arithmetic()
2599 _addiu(T_Lo, getZero(), 0); in lowerInt64Arithmetic()
2621 _movn(T1_Lo, getZero(), T5); in lowerInt64Arithmetic()
2649 _addiu(T_Hi, getZero(), 0); in lowerInt64Arithmetic()
2652 _addiu(T_Hi, getZero(), 0); in lowerInt64Arithmetic()
2674 _movn(T1_Hi, getZero(), T5); in lowerInt64Arithmetic()
3717 auto *Zero = getZero(); in lowerCast()
3981 auto *Zero = getZero(); in lowerFcmp()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DField.java39 T getZero(); in getZero() method
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToFieldHashMap.java102 this(field, DEFAULT_EXPECTED_SIZE, field.getZero()); in OpenIntToFieldHashMap()
120 this(field,expectedSize, field.getZero()); in OpenIntToFieldHashMap()
617 return (T[]) Array.newInstance(field.getZero().getClass(), length); in buildArray()
DBigRealField.java56 public BigReal getZero() { in getZero() method in BigRealField
/external/llvm/include/llvm/Support/
DBranchProbability.h50 static BranchProbability getZero() { return BranchProbability(0); } in getZero() function
191 BranchProbability ProbForUnknown = BranchProbability::getZero(); in normalizeProbabilities()
/external/llvm/unittests/ADT/
DAPFloatTest.cpp140 expected = APFloat::getZero(APFloat::IEEEquad, false); in TEST()
147 expected = APFloat::getZero(APFloat::IEEEquad, true); in TEST()
184 test = APFloat::getZero(APFloat::IEEEquad, false); in TEST()
190 test = APFloat::getZero(APFloat::IEEEquad, false); in TEST()
196 test = APFloat::getZero(APFloat::IEEEquad, true); in TEST()
202 test = APFloat::getZero(APFloat::IEEEquad, true); in TEST()
1300 P = APFloat::getZero(APFloat::IEEEdouble); in TEST()
1303 P = APFloat::getZero(APFloat::IEEEdouble, true); in TEST()
1397 TEST(APFloatTest, getZero) { in TEST() argument
1419 APFloat test = APFloat::getZero(*GetZeroTest[i].semantics, in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBranchProbability.h50 static BranchProbability getZero() { return BranchProbability(0); } in getZero() function
203 BranchProbability ProbForUnknown = BranchProbability::getZero(); in normalizeProbabilities()
/external/llvm/unittests/Support/
DBranchProbabilityTest.cpp27 EXPECT_EQ(0u, BP::getZero().getNumerator()); in TEST()
28 EXPECT_EQ(1u << 31, BP::getZero().getDenominator()); in TEST()
121 EXPECT_EQ(BP::getZero(), BP(7, 7).getCompl()); in TEST()
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplexField.java56 public Complex getZero() { in getZero() method in ComplexField
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DFractionField.java56 public Fraction getZero() { in getZero() method in FractionField

1234