Home
last modified time | relevance | path

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

1234567

/external/skqp/src/gpu/
DGrRect.h62 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap()
63 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap()
71 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap()
72 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap()
DGrPathUtils.cpp596 if (!p[0].isFinite() || !p[1].isFinite() || !p[2].isFinite() || !p[3].isFinite()) { in convertCubicToQuads()
617 if (!p[0].isFinite() || !p[1].isFinite() || !p[2].isFinite() || !p[3].isFinite()) { in convertCubicToQuadsConstrainToTangents()
/external/skia/src/gpu/
DGrRect.h62 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsOverlap()
63 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsOverlap()
71 SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); in GrRectsTouchOrOverlap()
72 SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); in GrRectsTouchOrOverlap()
DGrPathUtils.cpp596 if (!p[0].isFinite() || !p[1].isFinite() || !p[2].isFinite() || !p[3].isFinite()) { in convertCubicToQuads()
617 if (!p[0].isFinite() || !p[1].isFinite() || !p[2].isFinite() || !p[3].isFinite()) { in convertCubicToQuadsConstrainToTangents()
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java23 import static com.google.common.math.DoubleUtils.isFinite;
58 if (!isFinite(x)) { in roundIntermediate()
198 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x)); in isPowerOfTwo()
234 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite"); in log2()
280 return isFinite(x) in isMathematicalInteger()
393 checkArgument(isFinite(value)); in add()
DDoubleUtils.java65 checkArgument(isFinite(d), "not a normal value"); in getSignificand()
74 static boolean isFinite(double d) { in isFinite() method in DoubleUtils
/external/skia/tests/
DInfRectTest.cpp17 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
29 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
32 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
DRectTest.cpp104 REPORTER_ASSERT(reporter, !p.isFinite()); in DEF_TEST()
136 if (r.isFinite()) in DEF_TEST()
138 REPORTER_ASSERT(reporter, !r.isFinite()); in DEF_TEST()
156 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/skqp/tests/
DInfRectTest.cpp17 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
29 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
32 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
DRectTest.cpp104 REPORTER_ASSERT(reporter, !p.isFinite()); in DEF_TEST()
136 if (r.isFinite()) in DEF_TEST()
138 REPORTER_ASSERT(reporter, !r.isFinite()); in DEF_TEST()
156 REPORTER_ASSERT(reporter, r.isFinite()); in DEF_TEST()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js121 if (!isFinite(newAlpha) || newAlpha < 0 || newAlpha > 1) {
363 if (!isFinite(newOffset)) {
433 if (newBlur < 0 || !isFinite(newBlur)) {
456 if (!isFinite(newOffset)) {
469 if (!isFinite(newOffset)) {
743 if (!isFinite(x) || !isFinite(y)) {
771 if (!isFinite(x) || !isFinite(y)) {
909 if (!isFinite(radians)) {
972 if (!isFinite(dashes[i]) || dashes[i] < 0) {
Dutil.js7 if (args[i] !== undefined && !Number.isFinite(args[i])) {
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js121 if (!isFinite(newAlpha) || newAlpha < 0 || newAlpha > 1) {
363 if (!isFinite(newOffset)) {
433 if (newBlur < 0 || !isFinite(newBlur)) {
456 if (!isFinite(newOffset)) {
469 if (!isFinite(newOffset)) {
743 if (!isFinite(x) || !isFinite(y)) {
771 if (!isFinite(x) || !isFinite(y)) {
909 if (!isFinite(radians)) {
972 if (!isFinite(dashes[i]) || dashes[i] < 0) {
Dutil.js7 if (args[i] !== undefined && !Number.isFinite(args[i])) {
/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/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()
/external/skqp/src/core/
DSkPathRef.cpp221 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
806 if (!path.isFinite()) { in setPathRef()
904 bool isFinite = true; in isValid() local
910 if (fPoints[i].isFinite() && in isValid()
924 … if (fPoints[i].isFinite() && (point < leftTop).anyTrue() && !(point > rightBot).anyTrue()) in isValid()
926 if (!fPoints[i].isFinite()) { in isValid()
927 isFinite = false; in isValid()
930 if (SkToBool(fIsFinite) != isFinite) { in isValid()
DSkRRect.cpp165 if (!rect.isFinite()) { in initializeRect()
407 if (!newRect.isFinite() || newRect.isEmpty()) { in transform()
496 if (!r.isFinite()) { in inset()
653 if (!rect.isFinite() || !rect.isSorted()) { in AreRectAndRadiiValid()
/external/skia/src/core/
DSkPathRef.cpp221 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
811 if (!path.isFinite()) { in setPathRef()
914 bool isFinite = true; in isValid() local
920 if (fPoints[i].isFinite() && in isValid()
934 … if (fPoints[i].isFinite() && (point < leftTop).anyTrue() && !(point > rightBot).anyTrue()) in isValid()
936 if (!fPoints[i].isFinite()) { in isValid()
937 isFinite = false; in isValid()
940 if (SkToBool(fIsFinite) != isFinite) { in isValid()
DSkRRect.cpp165 if (!rect.isFinite()) { in initializeRect()
407 if (!newRect.isFinite() || newRect.isEmpty()) { in transform()
496 if (!r.isFinite()) { in inset()
653 if (!rect.isFinite() || !rect.isSorted()) { in AreRectAndRadiiValid()
/external/skia/tools/lua/
Dskia.lua14 function Sk.isFinite(x) function
51 function Sk.Rect:isFinite() function
/external/skqp/tools/lua/
Dskia.lua14 function Sk.isFinite(x) function
51 function Sk.Rect:isFinite() function
/external/skqp/src/effects/
DSkOpPathEffect.cpp64 if (!matrix.isFinite()) { in Make()
71 SkASSERT(matrix.isFinite()); in SkMatrixPE()
/external/skia/src/effects/
DSkOpPathEffect.cpp64 if (!matrix.isFinite()) { in Make()
71 SkASSERT(matrix.isFinite()); in SkMatrixPE()

1234567