Home
last modified time | relevance | path

Searched refs:isFinite (Results 1 – 25 of 148) sorted by relevance

123456

/external/guava/android/guava/src/com/google/common/math/
DLinearTransformation.java18 import static com.google.common.math.DoubleUtils.isFinite;
48 checkArgument(isFinite(x1) && isFinite(y1)); in mapping()
77 checkArgument(isFinite(x2) && isFinite(y2)); in and()
93 if (isFinite(slope)) { in withSlope()
107 checkArgument(isFinite(x)); in vertical()
116 checkArgument(isFinite(y)); in horizontal()
DStatsAccumulator.java19 import static com.google.common.primitives.Doubles.isFinite;
55 if (!isFinite(value)) { in add()
60 if (isFinite(value) && isFinite(mean)) { in add()
170 if (isFinite(mean) && isFinite(otherMean)) { in merge()
384 if (isFinite(previousMean)) { in calculateNewMeanNonFinite()
387 } else if (isFinite(value) || previousMean == value) { in calculateNewMeanNonFinite()
DStats.java22 import static com.google.common.primitives.Doubles.isFinite;
420 if (isFinite(value) && isFinite(mean)) { in meanOf()
444 if (isFinite(value) && isFinite(mean)) { in meanOf()
468 if (isFinite(value) && isFinite(mean)) { in meanOf()
493 if (isFinite(value) && isFinite(mean)) { in meanOf()
DDoubleMath.java21 import static com.google.common.math.DoubleUtils.isFinite;
57 if (!isFinite(x)) { in roundIntermediate()
201 if (x > 0.0 && isFinite(x)) { in isPowerOfTwo()
240 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite"); in log2()
288 return isFinite(x) in isMathematicalInteger()
524 checkArgument(isFinite(argument)); in checkFinite()
DPairedStatsAccumulator.java18 import static com.google.common.primitives.Doubles.isFinite;
58 if (isFinite(x) && isFinite(y)) { in add()
/external/guava/guava/src/com/google/common/math/
DLinearTransformation.java18 import static com.google.common.math.DoubleUtils.isFinite;
48 checkArgument(isFinite(x1) && isFinite(y1)); in mapping()
77 checkArgument(isFinite(x2) && isFinite(y2)); in and()
93 if (isFinite(slope)) { in withSlope()
107 checkArgument(isFinite(x)); in vertical()
116 checkArgument(isFinite(y)); in horizontal()
DStatsAccumulator.java19 import static com.google.common.primitives.Doubles.isFinite;
58 if (!isFinite(value)) { in add()
63 if (isFinite(value) && isFinite(mean)) { in add()
204 if (isFinite(mean) && isFinite(otherMean)) { in merge()
418 if (isFinite(previousMean)) { in calculateNewMeanNonFinite()
421 } else if (isFinite(value) || previousMean == value) { in calculateNewMeanNonFinite()
DStats.java22 import static com.google.common.primitives.Doubles.isFinite;
496 if (isFinite(value) && isFinite(mean)) { in meanOf()
520 if (isFinite(value) && isFinite(mean)) { in meanOf()
544 if (isFinite(value) && isFinite(mean)) { in meanOf()
569 if (isFinite(value) && isFinite(mean)) { in meanOf()
DDoubleMath.java21 import static com.google.common.math.DoubleUtils.isFinite;
57 if (!isFinite(x)) { in roundIntermediate()
201 if (x > 0.0 && isFinite(x)) { in isPowerOfTwo()
240 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite"); in log2()
288 return isFinite(x) in isMathematicalInteger()
524 checkArgument(isFinite(argument)); in checkFinite()
DPairedStatsAccumulator.java18 import static com.google.common.primitives.Doubles.isFinite;
58 if (isFinite(x) && isFinite(y)) { in add()
DDoubleUtils.java64 checkArgument(isFinite(d), "not a normal value"); in getSignificand()
71 static boolean isFinite(double d) { in isFinite() method in DoubleUtils
/external/skia/src/gpu/graphite/geom/
DTransform.cpp151 if (!t.fM.isFinite() || !t.fInvM.isFinite()) { in preTranslate()
161 if (!t.fM.isFinite() || !t.fInvM.isFinite()) { in postTranslate()
169 if (!c.fM.isFinite() || !c.fInvM.isFinite()) { in concat()
177 if (!c.fM.isFinite() || !c.fInvM.isFinite()) { in concatInverse()
/external/skia/src/gpu/ganesh/geometry/
DGrRect.h19 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap()
20 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap()
28 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap()
29 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap()
DGrPathUtils.cpp490 if (!p[0].isFinite() || !p[1].isFinite() || !p[2].isFinite() || !p[3].isFinite()) { in convertCubicToQuads()
511 if (!p[0].isFinite() || !p[1].isFinite() || !p[2].isFinite() || !p[3].isFinite()) { in convertCubicToQuadsConstrainToTangents()
/external/skia/tests/
DPathOpsDVectorTest.cpp66 REPORTER_ASSERT(reporter, first.isFinite()); in DEF_TEST()
72 REPORTER_ASSERT(reporter, second.isFinite()); in DEF_TEST()
81 REPORTER_ASSERT(reporter, !first.isFinite()); in DEF_TEST()
88 REPORTER_ASSERT(reporter, second.isFinite()); in DEF_TEST()
DInfRectTest.cpp21 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
33 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
36 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
DRectTest.cpp115 REPORTER_ASSERT(reporter, !p.isFinite()); in DEF_TEST()
147 if (r.isFinite()) in DEF_TEST()
149 REPORTER_ASSERT(reporter, !r.isFinite()); in DEF_TEST()
166 REPORTER_ASSERT(reporter, r.isFinite()); in DEF_TEST()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dbio_input_stream.h30 BioInputStream(jobject stream, bool isFinite) : BioStream(stream), isFinite_(isFinite) {} in BioInputStream() argument
47 bool isFinite() const { in isFinite() function
/external/skia/docs/examples/
DRect_isFinite.cpp8 SkDebugf("largest is finite: %s\n", largest.isFinite() ? "true" : "false"); in draw()
11 SkDebugf("widest is finite: %s\n", widest.isFinite() ? "true" : "false"); in draw()
/external/truth/core/src/main/java/com/google/common/truth/
DMathUtil.java49 if (Doubles.isFinite(left) && Doubles.isFinite(right)) { in notEqualWithinTolerance()
/external/skia/src/core/
DSkPathRef.cpp189 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
553 if (!path.isFinite()) { in setPathRef()
632 bool isFinite = true; in isValid() local
638 if (fPoints[i].isFinite() && (any(point < leftTop)|| any(point > rightBot))) { in isValid()
651 if (fPoints[i].isFinite() && any(point < leftTop) && !any(point > rightBot)) in isValid()
653 if (!fPoints[i].isFinite()) { in isValid()
654 isFinite = false; in isValid()
657 if (SkToBool(fIsFinite) != isFinite) { in isValid()
DSkPathUtils.cpp31 if (!src.isFinite()) { in FillPathWithPaint()
66 if (!dst->isFinite()) { in FillPathWithPaint()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLBIOInputStream.java31 OpenSSLBIOInputStream(InputStream is, boolean isFinite) { in OpenSSLBIOInputStream() argument
34 ctx = NativeCrypto.create_BIO_InputStream(this, isFinite); in OpenSSLBIOInputStream()
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js119 if (!isFinite(newAlpha) || newAlpha < 0 || newAlpha > 1) {
344 if (!isFinite(newOffset)) {
414 if (newBlur < 0 || !isFinite(newBlur)) {
437 if (!isFinite(newOffset)) {
450 if (!isFinite(newOffset)) {
733 if (!isFinite(x) || !isFinite(y)) {
761 if (!isFinite(x) || !isFinite(y)) {
906 if (!isFinite(radians)) {
967 if (!isFinite(dashes[i]) || dashes[i] < 0) {
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLBIOInputStream.java33 OpenSSLBIOInputStream(InputStream is, boolean isFinite) { in OpenSSLBIOInputStream() argument
36 ctx = NativeCrypto.create_BIO_InputStream(this, isFinite); in OpenSSLBIOInputStream()

123456