Home
last modified time | relevance | path

Searched refs:isZero (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/external/angle/src/tests/test_utils/
DShaderCompileTreeTest.cpp77 bool isZero = false; in visitConstantUnion() local
81 isZero = (node->getFConst(i) == 0.0f); in visitConstantUnion()
84 isZero = (node->getIConst(i) == 0); in visitConstantUnion()
87 isZero = (node->getUConst(i) == 0u); in visitConstantUnion()
90 isZero = (node->getBConst(i) == false); in visitConstantUnion()
96 if (!isZero) in visitConstantUnion()
/external/pdfium/third_party/bigint/
DBigInteger.hh51 sign = mag.isZero() ? zero : positive; in BigInteger()
59 sign = mag.isZero() ? zero : positive; in BigInteger()
95 bool isZero() const { return sign == zero; } // A bit special in isZero() function in BigInteger
166 if (x.isZero()) in operator /()
174 if (x.isZero()) in operator %()
207 if (x.isZero()) in operator /=()
218 if (x.isZero()) in operator %=()
DBigInteger.cc23 if (!mag.isZero()) in BigInteger()
30 sign = mag.isZero() ? zero : s; in BigInteger()
42 if (!mag.isZero()) in BigInteger()
49 sign = mag.isZero() ? zero : s; in BigInteger()
63 BigInteger::BigInteger(unsigned long x) : mag(x) { sign = mag.isZero() ? zero : positive; } in BigInteger()
64 BigInteger::BigInteger(unsigned int x) : mag(x) { sign = mag.isZero() ? zero : positive; } in BigInteger()
65 BigInteger::BigInteger(unsigned short x) : mag(x) { sign = mag.isZero() ? zero : positive; } in BigInteger()
358 if (mag.isZero()) in divideWithRemainder()
360 if (q.mag.isZero()) in divideWithRemainder()
DBigUnsigned.hh104 bool isZero() const { return NumberlikeArray<Blk>::isEmpty(); } in isZero() function in BigUnsigned
270 if (x.isZero()) in operator /()
278 if (x.isZero()) in operator %()
324 if (x.isZero()) in operator /=()
335 if (x.isZero()) in operator %=()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DECPoint.java270 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity()
694 if (dx.isZero()) in add()
696 if (dy.isZero()) in add()
729 if (v.isZero()) in add()
731 if (u.isZero()) in add()
770 if (dx.isZero()) in add()
772 if (dy.isZero()) in add()
822 if (H.isZero()) in add()
824 if (R.isZero()) in add()
896 if (Y1.isZero()) in twice()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java268 return x == null || y == null || (zs.length > 0 && zs[0].isZero()); in isInfinity()
688 if (dx.isZero()) in add()
690 if (dy.isZero()) in add()
723 if (v.isZero()) in add()
725 if (u.isZero()) in add()
764 if (dx.isZero()) in add()
766 if (dy.isZero()) in add()
816 if (H.isZero()) in add()
818 if (R.isZero()) in add()
890 if (Y1.isZero()) in twice()
[all …]
/external/eigen/doc/snippets/
DMatrixBase_isZero.cpp4 cout << "m.isZero() returns: " << m.isZero() << endl;
5 cout << "m.isZero(1e-3) returns: " << m.isZero(1e-3) << endl;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodFormatter.java119 boolean isZero = true; in format()
122 isZero = false; in format()
131 if (!customs.displayLimit || isZero) { in format()
138 if (!customs.displayDirection || isZero) { in format()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodFormatter.java120 boolean isZero = true; in format()
123 isZero = false; in format()
132 if (!customs.displayLimit || isZero) { in format()
139 if (!customs.displayDirection || isZero) { in format()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP256R1Point.java141 if (Nat256.isZero(H)) in add()
143 if (Nat256.isZero(R)) in add()
202 if (Y1.isZero()) in twice()
280 if (Y1.isZero()) in twicePlus()
290 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP224K1Point.java143 if (Nat224.isZero(H)) in add()
145 if (Nat224.isZero(R)) in add()
205 if (Y1.isZero()) in twice()
270 if (Y1.isZero()) in twicePlus()
280 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP256K1Point.java143 if (Nat256.isZero(H)) in add()
145 if (Nat256.isZero(R)) in add()
205 if (Y1.isZero()) in twice()
270 if (Y1.isZero()) in twicePlus()
280 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP224R1Point.java141 if (Nat224.isZero(H)) in add()
143 if (Nat224.isZero(R)) in add()
202 if (Y1.isZero()) in twice()
280 if (Y1.isZero()) in twicePlus()
290 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP192K1Point.java143 if (Nat192.isZero(H)) in add()
145 if (Nat192.isZero(R)) in add()
205 if (Y1.isZero()) in twice()
270 if (Y1.isZero()) in twicePlus()
280 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP192R1Point.java142 if (Nat192.isZero(H)) in add()
144 if (Nat192.isZero(R)) in add()
204 if (Y1.isZero()) in twice()
282 if (Y1.isZero()) in twicePlus()
292 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP384R1Point.java141 if (Nat.isZero(12, H)) in add()
143 if (Nat.isZero(12, R)) in add()
203 if (Y1.isZero()) in twice()
281 if (Y1.isZero()) in twicePlus()
291 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP521R1FieldElement.java36 public boolean isZero() in isZero() method in SecP521R1FieldElement
38 return Nat.isZero(17, x); in isZero()
135 if (Nat.isZero(17, x1) || Nat.isOne(17, x1)) in sqrt()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/
DSecP192K1Point.java147 if (Nat192.isZero(H)) in add()
149 if (Nat192.isZero(R)) in add()
209 if (Y1.isZero()) in twice()
274 if (Y1.isZero()) in twicePlus()
284 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP256R1Point.java145 if (Nat256.isZero(H)) in add()
147 if (Nat256.isZero(R)) in add()
206 if (Y1.isZero()) in twice()
284 if (Y1.isZero()) in twicePlus()
294 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP192R1Point.java146 if (Nat192.isZero(H)) in add()
148 if (Nat192.isZero(R)) in add()
208 if (Y1.isZero()) in twice()
286 if (Y1.isZero()) in twicePlus()
296 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP224R1Point.java145 if (Nat224.isZero(H)) in add()
147 if (Nat224.isZero(R)) in add()
206 if (Y1.isZero()) in twice()
284 if (Y1.isZero()) in twicePlus()
294 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP224K1Point.java147 if (Nat224.isZero(H)) in add()
149 if (Nat224.isZero(R)) in add()
209 if (Y1.isZero()) in twice()
274 if (Y1.isZero()) in twicePlus()
284 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP256K1Point.java147 if (Nat256.isZero(H)) in add()
149 if (Nat256.isZero(R)) in add()
209 if (Y1.isZero()) in twice()
274 if (Y1.isZero()) in twicePlus()
284 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP384R1Point.java145 if (Nat.isZero(12, H)) in add()
147 if (Nat.isZero(12, R)) in add()
207 if (Y1.isZero()) in twice()
285 if (Y1.isZero()) in twicePlus()
295 if (this.isInfinity() || this.y.isZero()) in threeTimes()
DSecP521R1FieldElement.java40 public boolean isZero() in isZero() method in SecP521R1FieldElement
42 return Nat.isZero(17, x); in isZero()
139 if (Nat.isZero(17, x1) || Nat.isOne(17, x1)) in sqrt()

12345678910>>...16