Home
last modified time | relevance | path

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

1234

/external/chromium_org/v8/test/mjsunit/
Dnumber-is.js31 assertTrue(Number.isFinite(0));
32 assertTrue(Number.isFinite(Number.MIN_VALUE));
33 assertTrue(Number.isFinite(Number.MAX_VALUE));
34 assertTrue(Number.isFinite(Number.MIN_SAFE_INTEGER));
35 assertTrue(Number.isFinite(Number.MIN_SAFE_INTEGER - 13));
36 assertTrue(Number.isFinite(Number.MAX_SAFE_INTEGER));
37 assertTrue(Number.isFinite(Number.MAX_SAFE_INTEGER + 23));
38 assertFalse(Number.isFinite(Number.NaN));
39 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
40 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
[all …]
Dunicode-string-to-number.js38 assertTrue(isFinite(Number(s)));
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DStepRange.cpp56 , m_step(step.isFinite() ? step : 1) in StepRange()
57 , m_stepBase(stepBase.isFinite() ? stepBase : 1) in StepRange()
59 , m_hasStep(step.isFinite()) in StepRange()
61 ASSERT(m_maximum.isFinite()); in StepRange()
62 ASSERT(m_minimum.isFinite()); in StepRange()
63 ASSERT(m_step.isFinite()); in StepRange()
64 ASSERT(m_stepBase.isFinite()); in StepRange()
113 if (!step.isFinite() || step <= 0) in parseStep()
147 if (!valueForCheck.isFinite()) in stepMismatch()
150 if (!value.isFinite()) in stepMismatch()
DNumberInputType.cpp77 ASSERT(value.isFinite()); in calculateRenderSize()
160 if (!minimum.isFinite()) in sizeShouldIncludeDecoration()
164 if (!maximum.isFinite()) in sizeShouldIncludeDecoration()
168 ASSERT(step.isFinite()); in sizeShouldIncludeDecoration()
196 if (!value.isFinite()) in serialize()
DInputType.cpp253 if (!numericValue.isFinite()) in rangeUnderflow()
265 if (!numericValue.isFinite()) in rangeOverflow()
292 if (!numericValue.isFinite()) in isInRange()
305 if (!numericValue.isFinite()) in isOutOfRange()
318 if (!numericValue.isFinite()) in stepMismatch()
377 if (!numericValue.isFinite()) in validationMessage()
393 …if (!candidate2.isFinite() || candidate2 < stepRange.minimum() || candidate2 > stepRange.maximum()) in validationMessage()
864 if (!current.isFinite()) { in stepUpFromRenderer()
891 if (!stepBase.isFinite()) in findStepBase()
DBaseDateAndTimeInputType.cpp63 return value.isFinite() ? value.toDouble() : DateComponents::invalidMilliseconds(); in valueAsDouble()
123 if (!value.isFinite()) in serialize()
/external/eigen/test/
Dstable_norm.cpp20 template<typename T> bool isFinite(const T& x) in isFinite() function
85 VERIFY(!isFinite( std::numeric_limits<RealScalar>::infinity())); in stable_norm()
86 VERIFY(!isFinite(sqrt(-abs(big)))); in stable_norm()
89 VERIFY(isFinite(sqrt(size)*abs(big))); in stable_norm()
96 VERIFY(isFinite(sqrt(size)*abs(small))); in stable_norm()
/external/chromium_org/third_party/WebKit/Source/platform/
DDecimal.h72 bool isFinite() const { return !isSpecial(); } in isFinite() function
123 ASSERT(isFinite()); in exponent()
127 bool isFinite() const { return m_data.isFinite(); } in isFinite() function
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java24 import static com.google.common.math.DoubleUtils.isFinite;
51 if (!isFinite(x)) { in roundIntermediate()
177 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x)); in isPowerOfTwo()
212 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite"); in log2()
257 return isFinite(x) in isMathematicalInteger()
DDoubleUtils.java110 checkArgument(isFinite(d), "not a normal value"); in getSignificand()
119 static boolean isFinite(double d) { in isFinite() method in DoubleUtils
/external/chromium_org/v8/test/webkit/fast/js/kde/
DGlobalObject-expected.txt40 PASS isFinite(1) is true
41 PASS isFinite('1') is true
42 PASS isFinite('a') is false
46 PASS isFinite(Infinity) is false
47 PASS isFinite('Infinity') is false
84 PASS isFinite(parseFloat('Infinity')) is false
/external/chromium_org/chrome/browser/resources/local_ntp/
Dinstant_iframe_validation.js19 if (isFinite(color) && Math.floor(color) == color &&
35 return isFinite(component) && component >= 0 && component <= 255;
Dmost_visited_util.js154 if ('pos' in params && isFinite(params.pos)) {
233 if ('fs' in params && isFinite(parseInt(params.fs, 10)))
239 if (isFinite(tf))
254 if (!isFinite(params.rid) && !params.url)
/external/chromium_org/third_party/skia/tests/
DInfRectTest.cpp53 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
65 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
/external/skia/tests/
DInfRectTest.cpp53 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
65 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
DSMILTimeContainer.cpp95 if (nextFireTime.isFinite()) in schedule()
188 if (earliestFireTime.isFinite()) { in begin()
262 ASSERT(isTimelineRunning() && fireTime.isFinite()); in scheduleAnimationFrame()
365 if (!earliestFireTime.isFinite()) in updateAnimationsAndScheduleFrameIfNeeded()
423 if (nextFireTime.isFinite()) in updateAnimations()
DSVGSMILElement.cpp377 if (!ok || !SMILTime(result).isFinite()) in parseOffsetValue()
413 if (!ok || !SMILTime(result).isFinite()) in parseClockValue()
889 else if (!resolvedEnd.isFinite()) in resolveActiveEnd()
979 if (newBegin.isFinite() && (m_interval.end <= eventTime || newBegin < m_interval.begin)) { in beginListChanged()
1006 } else if (elapsed < m_interval.end && m_interval.begin.isFinite()) { in endListChanged()
1095 ASSERT(m_interval.begin.isFinite()); in calculateAnimationPercentAndRepeat()
1096 ASSERT(simpleDuration.isFinite()); in calculateAnimationPercentAndRepeat()
1124 …< repeatingDurationEnd && repeatingDurationEnd < m_interval.end && repeatingDurationEnd.isFinite()) in calculateNextProgressTime()
1151 ASSERT(m_isWaitingForFirstInterval || m_interval.begin.isFinite()); in progress()
1156 if (!m_interval.begin.isFinite()) { in progress()
[all …]
DSMILTime.h45 bool isFinite() const { return std::isfinite(m_time); } in isFinite() function
88 inline bool operator!(const SMILTime& a) { return !a.isFinite() || !a.value(); }
/external/chromium_org/third_party/skia/src/core/
DSkPathRef.cpp89 if (!((*dst)->fIsFinite = (*dst)->fBounds->isFinite())) { in CreateTransformedCopy()
445 bool isFinite = true; in validate() local
447 SkASSERT(!fPoints[i].isFinite() || ( in validate()
452 if (!fPoints[i].isFinite()) { in validate()
453 isFinite = false; in validate()
456 SkASSERT(SkToBool(fIsFinite) == isFinite); in validate()
DSkRect.cpp61 bool isFinite = true; in setBoundsCheck() local
94 isFinite = false; in setBoundsCheck()
99 return isFinite; in setBoundsCheck()
/external/skia/src/core/
DSkPathRef.cpp89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
445 bool isFinite = true; in validate() local
447 SkASSERT(!fPoints[i].isFinite() || ( in validate()
452 if (!fPoints[i].isFinite()) { in validate()
453 isFinite = false; in validate()
456 SkASSERT(SkToBool(fIsFinite) == isFinite); in validate()
DSkRect.cpp61 bool isFinite = true; in setBoundsCheck() local
94 isFinite = false; in setBoundsCheck()
99 return isFinite; in setBoundsCheck()
/external/skia/tools/lua/
Dskia.lua14 function Sk.isFinite(x) function
51 function Sk.Rect:isFinite() function
/external/chromium_org/third_party/skia/tools/lua/
Dskia.lua14 function Sk.isFinite(x) function
51 function Sk.Rect:isFinite() function
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-1177518.js31 isFinite = 0;

1234