Home
last modified time | relevance | path

Searched refs:asDouble (Results 1 – 13 of 13) sorted by relevance

/external/webkit/JavaScriptCore/runtime/
DJSCell.h223 double d = asDouble(); in getUInt32()
251 number = asDouble(); in getPrimitiveNumber()
278 return asDouble() > 0.0 || asDouble() < 0.0; // false for NaN in toBoolean()
289 return asDouble(); in toNumber()
DJSValue.h122 double asDouble() const;
237 double asDouble; member
595 inline double JSValue::asDouble() const in asDouble() function
598 return u.asDouble; in asDouble()
609 u.asDouble = d; in JSValue()
616 u.asDouble = d; in JSValue()
697 u.asDouble = d; in JSValue()
751 return isInt32() ? asInt32() : asDouble(); in uncheckedGetNumber()
766 result = asDouble(); in getNumber()
DJSNumberCell.h182 inline double JSValue::asDouble() const in asDouble() function
195 return JSImmediate::isImmediate(asValue()) ? JSImmediate::toDouble(asValue()) : asDouble(); in uncheckedGetNumber()
281 inline double JSValue::asDouble() const in asDouble() function
347 result = asDouble(); in getNumber()
DJSValue.cpp119 snprintf(description, size, "Double: %lf", asDouble()); in description()
DJSString.h536 return exec->globalData().numericStrings.add(asDouble()); in toString()
556 return exec->globalData().numericStrings.add(asDouble()); in toPrimitiveString()
DJSGlobalObjectFunctions.cpp311 double d = value.asDouble(); in globalFuncParseInt()
/external/chromium/third_party/icu/source/test/intltest/
Ditrbnf.cpp445 LLAssert(llong(llong::kD32).asDouble() == llong::kD32);
448 LLAssert(llong(0, 1).asDouble() == 1);
449 LLAssert(llong(1, 0).asDouble() == llong::kD32);
450 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1);
453 LLAssert(llong().asDouble() == 0);
496 LLAssert(llong((double)0).asDouble() == (double)0);
497 LLAssert(llong((double)1).asDouble() == (double)1);
498 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff);
499 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000);
500 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001);
[all …]
/external/icu4c/test/intltest/
Ditrbnf.cpp442 LLAssert(llong(llong::kD32).asDouble() == llong::kD32);
445 LLAssert(llong(0, 1).asDouble() == 1);
446 LLAssert(llong(1, 0).asDouble() == llong::kD32);
447 LLAssert(llong((uint32_t)-1, (uint32_t)-1).asDouble() == -1);
450 LLAssert(llong().asDouble() == 0);
493 LLAssert(llong((double)0).asDouble() == (double)0);
494 LLAssert(llong((double)1).asDouble() == (double)1);
495 LLAssert(llong((double)0x7fffffff).asDouble() == (double)0x7fffffff);
496 LLAssert(llong((double)0x80000000).asDouble() == (double)0x80000000);
497 LLAssert(llong((double)0x80000001).asDouble() == (double)0x80000001);
[all …]
/external/webkit/WebCore/bindings/js/
DSerializedScriptValue.h117 double asDouble() const in asDouble() function
DSerializedScriptValue.cpp735 return jsNumber(m_exec, value.asDouble()); in convertIfTerminal()
737 … return new (m_exec) DateInstance(m_exec, m_globalObject->dateStructure(), value.asDouble()); in convertIfTerminal()
/external/webkit/JavaScriptCore/jit/
DJITStubs.cpp2445 return src1.asInt32() == src2.asDouble(); in DEFINE_STUB_FUNCTION()
2453 return src1.asDouble() == src2.asInt32(); in DEFINE_STUB_FUNCTION()
2456 return src1.asDouble() == d; in DEFINE_STUB_FUNCTION()
2488 … return static_cast<JSString*>(cell1)->value(stackFrame.callFrame).toDouble() == src2.asDouble(); in DEFINE_STUB_FUNCTION()
/external/webkit/JavaScriptCore/
DChangeLog17113 (JSC::JSValue::asDouble):
/external/webkit/WebCore/
DChangeLog-2010-01-2949418 (WebCore::SerializedScriptValueData::asDouble):