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

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
H A D9.5-2.js24 ECMA Section: 9.5 Type Conversion: ToInt32
30 The operator ToInt32 converts its argument to one of 2^32
45 ToInt32(ToUint32(x)) == ToInt32(x) for all values of x
57 writeHeaderToLog( SECTION + " ToInt32");
73 function ToInt32( n ) { function
108 array[item++] = new TestCase( SECTION, "-1 << 0", ToInt32(-1), -1 << 0 );
111 array[item++] = new TestCase( SECTION, "2147483647 << 0", ToInt32(2147483647), 2147483647 << 0 );
112 array[item++] = new TestCase( SECTION, "2147483648 << 0", ToInt32(2147483648), 2147483648 << 0 );
113 array[item++] = new TestCase( SECTION, "2147483649 << 0", ToInt32(214748364
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/
H A D11.10-1.js35 5. Call ToInt32(Result(2)).
36 6. Call ToInt32(Result(4)).
100 function ToInt32( n ) { function
214 s = ToInt32( s );
215 a = ToInt32( a );
232 s = ToInt32( s );
233 a = ToInt32( a );
253 s = ToInt32( s );
254 a = ToInt32( a );
H A D11.10-2.js35 5. Call ToInt32(Result(2)).
36 6. Call ToInt32(Result(4)).
99 function ToInt32( n ) { function
213 s = ToInt32( s );
214 a = ToInt32( a );
231 s = ToInt32( s );
232 a = ToInt32( a );
252 s = ToInt32( s );
253 a = ToInt32( a );
H A D11.10-3.js35 5. Call ToInt32(Result(2)).
36 6. Call ToInt32(Result(4)).
99 function ToInt32( n ) { function
212 s = ToInt32( s );
213 a = ToInt32( a );
230 s = ToInt32( s );
231 a = ToInt32( a );
251 s = ToInt32( s );
252 a = ToInt32( a );
H A D11.7.1.js36 5. Call ToInt32(Result(2)).
98 function ToInt32( n ) { function
212 var shift = ToInt32( s );
228 return ToInt32(ToInt32Decimal(s));
H A D11.7.2.js36 5. Call ToInt32(Result(2)).
112 function ToInt32( n ) { function
224 s = ToInt32( s );
245 return ToInt32(ToInt32Decimal(s));
H A D11.4.8.js91 function ToInt32( n ) { function
203 n = ToInt32(n);
H A D11.7.3.js103 function ToInt32( n ) { function
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
191 _current = adler32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
H A DGZipStream.cs166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count);
210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count);
/external/chromium/webkit/glue/
H A Dcpp_variant.h92 // For example, ToInt32() works only if isNumber() is true.
94 int32_t ToInt32() const;
H A Dcpp_variant.cc187 int32_t CppVariant::ToInt32() const { function in class:CppVariant
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8GeolocationCustom.cpp91 v8::Local<v8::Int32> timeoutInt32 = timeoutValue->ToInt32();
117 v8::Local<v8::Int32> maximumAgeInt32 = maximumAgeValue->ToInt32();
H A DV8InspectorFrontendHostCustom.cpp96 ContextMenuAction typedId = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + id->ToInt32()->Value());
H A DV8InjectedScriptHostCustom.cpp76 Node* node = host->inspectedNode(args[0]->ToInt32()->Value());
/external/webkit/Source/WebCore/bindings/v8/
H A DOptionsObject.cpp85 v8::Local<v8::Int32> v8Int32 = v8Value->ToInt32();
H A DV8Binding.cpp166 v8::Local<v8::Int32> intValue = value->ToInt32();
214 v8::Local<v8::Int32> intValue = value->ToInt32();
/external/v8/src/
H A Dexecution.h104 static Handle<Object> ToInt32(Handle<Object> obj, bool* exc);
H A Druntime.js593 function ToInt32(x) { function
H A Dexecution.cc640 Handle<Object> Execution::ToInt32(Handle<Object> obj, bool* exc) { function in class:v8::internal::Execution
H A Dd8.cc295 Local<Int32> int32 = number->ToInt32();
H A Dapi.cc2562 Local<Int32> Value::ToInt32() const { function in class:v8::Value
2569 if (IsDeadCheck(isolate, "v8::Value::ToInt32()")) return Local<Int32>();
2570 LOG_API(isolate, "ToInt32");
2573 num = i::Execution::ToInt32(obj, &has_pending_exception);
2638 i::Execution::ToInt32(obj, &has_pending_exception);
/external/v8/test/cctest/
H A Dtest-strings.cc479 result->ToInt32()->Value());
H A Dtest-api.cc2787 CHECK_EQ(0, obj->ToInt32()->Value());
2793 CHECK_EQ(-1912276171, obj->ToInt32()->Value());
2799 CHECK_EQ(42, obj->ToInt32()->Value());
2805 CHECK_EQ(-37, obj->ToInt32()->Value());
2811 CHECK_EQ(-2128394905, obj->ToInt32()->Value());
2817 CHECK_EQ(42, obj->ToInt32()->Value());
2823 CHECK_EQ(-1431655765, obj->ToInt32()->Value());
2906 Local<Value> to_int32_result = obj->ToInt32();
/external/v8/include/
H A Dv8.h966 V8EXPORT Local<Int32> ToInt32() const;

Completed in 950 milliseconds