Home
last modified time | relevance | path

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

1234567

/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}}
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}}
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.
Dpath-notes.cpp159 int getZero() { in getZero() function
173 int problem = 1 / getZero(); // expected-warning {{Division by zero}} in test()
/external/llvm-project/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
42 clang_analyzer_eval([a getZero] == 0); // expected-warning{{TRUE}}
64 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}
71 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}
81 return [x getZero];
87 - (int)getZero; method
95 - (int)getZero { method
100 clang_analyzer_eval([x getZero] == 0); //expected-warning{{TRUE}}
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}}
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.
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/llvm-project/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()
405 clang_analyzer_eval(object->getZero() == 0); // expected-warning{{TRUE}} in test()
406 clang_analyzer_eval(object->One::getZero() == 0); // expected-warning{{TRUE}} in test()
407 clang_analyzer_eval(object->A::getZero() == 0); // expected-warning{{TRUE}} in test()
/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-project/llvm/tools/llvm-exegesis/lib/
DRegisterValue.cpp20 return APFloat::getZero(FltSemantics); in getFloatValue()
22 return APFloat::getZero(FltSemantics, true); in getFloatValue()
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DField.java39 T getZero(); in getZero() method
/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/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

1234567