Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 25 of 67) sorted by relevance

123

/external/webkit/WebCore/css/
DWebKitCSSMatrix.cpp119 if (isnan(x)) in translate()
121 if (isnan(y)) in translate()
123 if (isnan(z)) in translate()
130 if (isnan(scaleX)) in scale()
132 if (isnan(scaleY)) in scale()
134 if (isnan(scaleZ)) in scale()
141 if (isnan(rotX)) in rotate()
144 if (isnan(rotY) && isnan(rotZ)) { in rotate()
150 if (isnan(rotY)) in rotate()
152 if (isnan(rotZ)) in rotate()
[all …]
/external/webkit/JavaScriptCore/runtime/
DDateConstructor.cpp93 if (isnan(args.at(0).toNumber(exec)) in constructDate()
94 || isnan(args.at(1).toNumber(exec)) in constructDate()
95 || (numArgs >= 3 && isnan(args.at(2).toNumber(exec))) in constructDate()
96 || (numArgs >= 4 && isnan(args.at(3).toNumber(exec))) in constructDate()
97 || (numArgs >= 5 && isnan(args.at(4).toNumber(exec))) in constructDate()
98 || (numArgs >= 6 && isnan(args.at(5).toNumber(exec))) in constructDate()
99 || (numArgs >= 7 && isnan(args.at(6).toNumber(exec)))) in constructDate()
163 if (isnan(args.at(0).toNumber(exec)) in dateUTC()
164 || isnan(args.at(1).toNumber(exec)) in dateUTC()
165 || (n >= 3 && isnan(args.at(2).toNumber(exec))) in dateUTC()
[all …]
DJSValue.cpp46 return isnan(d) ? 0.0 : trunc(d); in toInteger()
144 if (isnan(d) || isinf(d)) { in toInt32SlowCase()
164 if (isnan(d) || isinf(d)) { in toUInt32SlowCase()
DDateInstance.cpp58 if (isnan(milli)) in calculateGregorianDateTime()
74 if (isnan(milli)) in calculateGregorianDateTimeUTC()
DNumberPrototype.cpp161 if (isnan(x) || isinf(x)) in numberProtoFuncToString()
237 if (isnan(x)) in numberProtoFuncToFixed()
323 if (isnan(x) || isinf(x)) in numberProtoFuncToExponential()
349 if (isnan(x)) in numberProtoFuncToExponential()
395 if (args.at(0).isUndefined() || isnan(x) || isinf(x)) in numberProtoFuncToPrecision()
DMathObject.cpp171 if (isnan(val)) { in mathProtoFuncMax()
187 if (isnan(val)) { in mathProtoFuncMin()
204 if (isnan(arg2)) in mathProtoFuncPow()
DJSGlobalObjectFunctions.cpp314 if (isnan(d) || isinf(d)) in globalFuncParseInt()
329 return jsBoolean(isnan(args.at(0).toNumber(exec))); in globalFuncIsNaN()
335 return jsBoolean(!isnan(n) && !isinf(n)); in globalFuncIsFinite()
/external/v8/test/cctest/
Dtest-conversions.cc52 CHECK(isnan(StringToDouble("07.7", ALLOW_HEX | ALLOW_OCTALS))); in TEST()
53 CHECK(isnan(StringToDouble("07.8", ALLOW_HEX | ALLOW_OCTALS))); in TEST()
54 CHECK(isnan(StringToDouble("07e8", ALLOW_HEX | ALLOW_OCTALS))); in TEST()
55 CHECK(isnan(StringToDouble("07e7", ALLOW_HEX | ALLOW_OCTALS))); in TEST()
87 CHECK(isnan(StringToDouble(" ", NO_FLAGS, OS::nan_value()))); in TEST()
88 CHECK(isnan(StringToDouble("", NO_FLAGS, OS::nan_value()))); in TEST()
89 CHECK(isnan(StringToDouble(" ", NO_FLAGS, OS::nan_value()))); in TEST()
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py84 def isnan(val): function
89 return not isnan(val) and isnan(val * 0)
95 self.assertTrue(isnan(message.nan_double))
101 self.assertTrue(isnan(message.nan_float))
/external/qemu/fpu/
Dsoftfloat-native.h36 #define unordered(x, y) (isnan(x) || isnan(y))
68 #ifndef isnan
69 # define isnan(x) \ macro
83 static inline int isinf_f (float x) { return isnan (x - x); } in isinf_f()
84 static inline int isinf_d (double x) { return isnan (x - x); } in isinf_d()
85 static inline int isinf_ld (long double x) { return isnan (x - x); } in isinf_ld()
/external/webkit/WebCore/bindings/v8/custom/
DV8WebKitPointConstructor.cpp55 if (isnan(x)) in constructorCallback()
60 if (isnan(y)) in constructorCallback()
/external/webkit/WebCore/bindings/js/
DJSWebKitPointConstructor.cpp55 if (isnan(x)) in constructWebKitPoint()
57 if (isnan(y)) in constructWebKitPoint()
DJSWebGLArrayBufferConstructor.cpp56 if (isnan(size)) in constructCanvasArrayBuffer()
/external/webkit/WebCore/html/canvas/
DWebGLFloatArray.h55 if (isnan(value)) // Clamp NaN to 0 in set()
79 if (isnan(result)) { in item()
DWebGLUnsignedShortArray.h56 if (isnan(value)) // Clamp NaN to 0 in set()
DWebGLUnsignedIntArray.h56 if (isnan(value)) // Clamp NaN to 0 in set()
DWebGLUnsignedByteArray.h56 if (isnan(value)) // Clamp NaN to 0 in set()
DWebGLShortArray.h55 if (isnan(value)) // Clamp NaN to 0 in set()
DWebGLIntArray.h56 if (isnan(value)) // Clamp NaN to 0 in set()
/external/webkit/WebCore/xml/
DXPathValue.cpp79 return m_number != 0 && !isnan(m_number); in toBoolean()
128 if (isnan(m_number)) in toString()
/external/stlport/src/
Dnum_put_float.cpp136 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } in _Stl_is_neg_nan()
173 static bool _Stl_is_nan_or_inf(double x) { return isnan(x) || !isfinite(x); } in _Stl_is_nan_or_inf()
176 static bool _Stl_is_neg_nan(double x) { return isnan(x) && signbit(x); } in _Stl_is_neg_nan()
179 static inline bool _Stl_is_inf(double x) { return _Stl_is_nan_or_inf(x) && ! isnan(x); } in _Stl_is_inf()
181 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && copysign(1., x) < 0 ; } in _Stl_is_neg_nan()
183 static bool _Stl_is_nan_or_inf(double x) { return isnan(x) || !finite(x); } in _Stl_is_nan_or_inf()
187 static bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } in _Stl_is_neg_nan()
195 static inline bool _Stl_is_nan_or_inf(double x) { return isnan(x) || isinf(x); } in _Stl_is_nan_or_inf()
198 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && signbit(x); } in _Stl_is_neg_nan()
/external/webkit/JavaScriptCore/wtf/
DMathExtras.h127 inline bool isnan(double num) { return !!_isnan(num); } in isnan() function
194 using std::isnan;
/external/stlport/stlport/stl/
D_cmath.h538 template<typename _Tp> inline int __capture_isnan(_Tp __f) { return isnan(__f); }
543 #undef isnan
548 template<typename _Tp> inline int isnan(_Tp __f) { return __capture_isnan(__f); } in isnan() function
579 using __captured::isnan;
/external/v8/src/
Dconversions-inl.h63 if (isnan(x)) return 0; in DoubleToInteger()
Dplatform-win32.cc112 int isnan(double x) { in isnan() function
125 return isnan(x) || isnan(y) ? 0 : x < y; in isless()
131 return isnan(x) || isnan(y) ? 0 : x > y; in isgreater()
242 if (!(isfinite(x) && (!isfinite(y) && !isnan(y))) && in modulo()

123