Searched defs:toInt32 (Results 1 - 11 of 11) sorted by relevance

/external/v8/test/mjsunit/
H A Dtoint32.js28 function toInt32(x) { function
32 assertEquals(0, toInt32(Infinity), "Inf");
33 assertEquals(0, toInt32(-Infinity), "-Inf");
34 assertEquals(0, toInt32(NaN), "NaN");
35 assertEquals(0, toInt32(0.0), "zero");
36 assertEquals(0, toInt32(-0.0), "-zero");
38 assertEquals(0, toInt32(Number.MIN_VALUE));
39 assertEquals(0, toInt32(-Number.MIN_VALUE));
40 assertEquals(0, toInt32(0.1));
41 assertEquals(0, toInt32(
[all...]
/external/webkit/Source/JavaScriptCore/runtime/
H A DJSValue.cpp145 int32_t toInt32(double number) function in namespace:JSC
H A DJSValueInlineMethods.h33 ALWAYS_INLINE int32_t JSValue::toInt32(ExecState* exec) const function in class:JSC::JSValue
37 return JSC::toInt32(toNumber(exec));
43 return toInt32(exec);
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
H A Dtst_qscriptvalue_generated_totype.cpp1316 void tst_QScriptValue::toInt32() function in class:tst_QScriptValue
1320 QCOMPARE(value.toInt32(), expected);
1321 QCOMPARE(value.toInt32(), expected);
/external/webkit/Tools/DumpRenderTree/chromium/
H A DCppVariant.cpp226 int32_t CppVariant::toInt32() const function in class:CppVariant
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3string.h184 ANTLR3_INT32 (*toInt32) (struct ANTLR3_STRING_struct * string); member in struct:ANTLR3_STRING_struct
/external/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptvalue.cpp389 \sa isNumber(), toInteger(), toInt32(), toUInt32(), toUInt16()
452 qint32 QScriptValue::toInt32() const function in class:QScriptValue
454 return d_ptr->toInt32();
467 \sa toNumber(), toInt32()
H A Dqscriptvalue_p.h112 inline qint32 toInt32() const;
582 qint32 QScriptValuePrivate::toInt32() const function in class:QScriptValuePrivate
604 return toInt32();
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptvalue/
H A Dtst_qscriptvalue.cpp80 void toInt32();
350 void tst_QScriptValue::toInt32() function in class:tst_QScriptValue
354 value.toInt32();
/external/webkit/Source/WebCore/bindings/v8/
H A DV8Binding.h117 int toInt32(v8::Handle<v8::Value> value, bool& ok);
120 inline int toInt32(v8::Handle<v8::Value> value) function in namespace:WebCore
123 return toInt32(value, ok);
H A DV8Binding.cpp143 int toInt32(v8::Handle<v8::Value> value, bool& ok) function in namespace:WebCore

Completed in 2724 milliseconds