Home
last modified time | relevance | path

Searched refs:ToInt32 (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
D9.5-2.js73 function ToInt32( n ) { class
108 …array[item++] = new TestCase( SECTION, "-1 << 0", ToInt32(-1), -…
111 …array[item++] = new TestCase( SECTION, "2147483647 << 0", ToInt32(2147483647), 2147483647…
112 …array[item++] = new TestCase( SECTION, "2147483648 << 0", ToInt32(2147483648), 2147483648…
113 …array[item++] = new TestCase( SECTION, "2147483649 << 0", ToInt32(2147483649), 2147483649…
115 …array[item++] = new TestCase( SECTION, "(Math.pow(2,31)-1) << 0", ToInt32(2147483647), (Math.…
116 …array[item++] = new TestCase( SECTION, "Math.pow(2,31) << 0", ToInt32(2147483648), Math.p…
117 …array[item++] = new TestCase( SECTION, "(Math.pow(2,31)+1) << 0", ToInt32(2147483649), (Math.…
119 …array[item++] = new TestCase( SECTION, "(Math.pow(2,32)-1) << 0", ToInt32(4294967295), (Mat…
120 …array[item++] = new TestCase( SECTION, "(Math.pow(2,32)) << 0", ToInt32(4294967296), (Mat…
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
D11.10-1.js100 function ToInt32( n ) { class
214 s = ToInt32( s );
215 a = ToInt32( a );
232 s = ToInt32( s );
233 a = ToInt32( a );
253 s = ToInt32( s );
254 a = ToInt32( a );
D11.10-2.js99 function ToInt32( n ) { class
213 s = ToInt32( s );
214 a = ToInt32( a );
231 s = ToInt32( s );
232 a = ToInt32( a );
252 s = ToInt32( s );
253 a = ToInt32( a );
D11.10-3.js99 function ToInt32( n ) { class
212 s = ToInt32( s );
213 a = ToInt32( a );
230 s = ToInt32( s );
231 a = ToInt32( a );
251 s = ToInt32( s );
252 a = ToInt32( a );
D11.7.1.js98 function ToInt32( n ) { class
212 var shift = ToInt32( s );
228 return ToInt32(ToInt32Decimal(s));
D11.7.2.js112 function ToInt32( n ) { class
224 s = ToInt32( s );
245 return ToInt32(ToInt32Decimal(s));
D11.4.8.js91 function ToInt32( n ) { class
203 n = ToInt32(n);
D11.7.3.js103 function ToInt32( n ) { class
/external/zlib/contrib/dotzlib/DotZLib/
DChecksumImpl.cs140 … _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
191 … _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count); in Update()
DGZipStream.cs166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Read()
210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count); in Write()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8GeolocationCustom.cpp91 v8::Local<v8::Int32> timeoutInt32 = timeoutValue->ToInt32(); in createPositionOptions()
117 v8::Local<v8::Int32> maximumAgeInt32 = maximumAgeValue->ToInt32(); in createPositionOptions()
DV8InspectorFrontendHostCustom.cpp96 …on typedId = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + id->ToInt32()->Value()); in showContextMenuCallback()
DV8InjectedScriptHostCustom.cpp76 Node* node = host->inspectedNode(args[0]->ToInt32()->Value()); in inspectedNodeCallback()
/external/chromium/webkit/glue/
Dcpp_variant.h94 int32_t ToInt32() const;
Dcpp_variant.cc187 int32_t CppVariant::ToInt32() const { in ToInt32() function in CppVariant
/external/webkit/Source/WebCore/bindings/v8/
DOptionsObject.cpp85 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32(); in getKeyInt32()
DV8Binding.cpp166 v8::Local<v8::Int32> intValue = value->ToInt32(); in toInt32()
214 v8::Local<v8::Int32> intValue = value->ToInt32(); in toUInt32()
/external/v8/src/
Dexecution.h92 static Handle<Object> ToInt32(Handle<Object> obj, bool* exc);
Druntime.js569 function ToInt32(x) { class
Dexecution.cc529 Handle<Object> Execution::ToInt32(Handle<Object> obj, bool* exc) { in ToInt32() function in v8::internal::Execution
Dapi.cc2289 Local<Int32> Value::ToInt32() const { in ToInt32() function in v8::Value
2300 num = i::Execution::ToInt32(obj, &has_pending_exception); in ToInt32()
2365 i::Execution::ToInt32(obj, &has_pending_exception); in Int32Value()
/external/v8/test/cctest/
Dtest-strings.cc480 result->ToInt32()->Value()); in TEST()
Dtest-api.cc2365 CHECK_EQ(0, obj->ToInt32()->Value()); in THREADED_TEST()
2371 CHECK_EQ(-1912276171, obj->ToInt32()->Value()); in THREADED_TEST()
2377 CHECK_EQ(42, obj->ToInt32()->Value()); in THREADED_TEST()
2383 CHECK_EQ(-37, obj->ToInt32()->Value()); in THREADED_TEST()
2389 CHECK_EQ(-2128394905, obj->ToInt32()->Value()); in THREADED_TEST()
2395 CHECK_EQ(42, obj->ToInt32()->Value()); in THREADED_TEST()
2401 CHECK_EQ(-1431655765, obj->ToInt32()->Value()); in THREADED_TEST()
2474 Local<Value> to_int32_result = obj->ToInt32(); in THREADED_TEST()
/external/v8/include/
Dv8.h938 V8EXPORT Local<Int32> ToInt32() const;
/external/webkit/Source/JavaScriptCore/
DChangeLog-2011-02-1614120 Bug 46065 - Unify implementation of ToInt32 and ToUInt32, don't use fmod.
14127 provide an output value indicating whether the input to ToInt32 was finite
14129 not ToInt32). This patch partially fixes this in order to remove this
14131 fully up to spec compliance (the constructor is still performing ToInt32

12