Searched refs:natives (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/v8/test/mjsunit/
H A Dsamevalue.js29 // Flags: --expose-natives_as natives
35 assertTrue(natives.SameValue(0, 0));
36 assertTrue(natives.SameValue(+0, +0));
37 assertTrue(natives.SameValue(-0, -0));
38 assertTrue(natives.SameValue(1, 1));
39 assertTrue(natives.SameValue(2, 2));
40 assertTrue(natives.SameValue(-1, -1));
41 assertTrue(natives.SameValue(0.5, 0.5));
42 assertTrue(natives.SameValue(true, true));
43 assertTrue(natives
[all...]
H A Dglobal-deleted-property-keyed.js29 // Flags: --expose-natives_as natives
34 natives[name] = name;
35 function foo() { natives[name] + 12; }
37 delete natives[name];
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dcast_streaming_rtp_stream_custom_bindings.js8 var natives = requireNative('cast_streaming_natives'); variable
15 natives.DestroyCastRtpStream(transportId);
19 return natives.GetSupportedParamsCastRtpStream(transportId);
23 natives.StartCastRtpStream(transportId, params);
27 natives.StopCastRtpStream(transportId);
31 natives.ToggleLogging(transportId, enable);
35 natives.GetRawEvents(transportId, extraData, callback);
39 natives.GetStats(transportId, callback);
H A Dcast_streaming_udp_transport_custom_bindings.js8 var natives = requireNative('cast_streaming_natives'); variable
14 natives.DestroyCastUdpTransport(transportId);
18 natives.SetDestinationCastUdpTransport(transportId, destination);
22 natives.SetOptionsCastUdpTransport(transportId, options);
H A Dcast_streaming_session_custom_bindings.js8 var natives = requireNative('cast_streaming_natives'); variable
14 natives.CreateSession(audioTrack, videoTrack, callback);
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1878.js30 // Flags: --allow-natives-syntax --expose_natives_as=natives
35 var ai = natives.InternalArray(10000);
41 var ai = new natives.InternalArray(10000);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.touchpoint.natives_1.0.200.v20100503a.jar ... equinox/internal/p2/touchpoint/ org/eclipse/equinox/internal/p2/touchpoint/natives/ org/eclipse/equinox/internal/p2/touchpoint/natives/Activator.class ...
/external/chromium_org/extensions/test/data/
H A Dunit_test_environment_specific_bindings.js12 requireAsync('testNatives').then(function(natives) {
13 natives.NotifyPass();
18 requireAsync('testNatives').then(function(natives) {
19 natives.NotifyFail(message);
24 requireAsync('testNatives').then(function(natives) {
25 natives.Log($Array.join(arguments, ' '));
/external/chromium_org/extensions/renderer/
H A Dutils_native_handler.cc65 v8::Handle<v8::Object> natives(context()->module_system()->NewInstance());
66 CHECK(!natives.IsEmpty()); // this can happen if v8 has issues
71 natives->Get(v8::String::NewFromUtf8(
H A Dmodule_system.cc496 // HACK: if in test throw exception so that we can test the natives-disabled
601 v8::Handle<v8::Object> natives(NewInstance());
602 CHECK(!natives.IsEmpty()); // this can happen if v8 has issues
609 natives->Get(v8::String::NewFromUtf8(
611 natives->Get(v8::String::NewFromUtf8(
613 natives->Get(v8::String::NewFromUtf8(
618 natives->Get(v8::String::NewFromUtf8(
/external/chromium_org/extensions/renderer/resources/
H A Dsend_request.js8 var natives = requireNative('sendRequest'); variable
42 callerChrome = natives.GetGlobal(request.callback).chrome;
133 var nativeFunction = optArgs.nativeFunction || natives.StartRequest;
135 var requestId = natives.GetNextRequestId();
/external/chromium_org/v8/tools/
H A Dcheck-name-clashes.py155 natives = []
177 natives.append(Builtin(match))
178 return natives
183 natives = FindJSNatives()
188 for b in natives:
196 (len(functions), len(natives)))
/external/chromium_org/base/android/jni_generator/
H A Djni_generator_tests.py154 natives = jni_generator.ExtractNatives(test_data, 'int')
274 self.assertListEquals(golden_natives, natives)
276 natives, [], [], TestOptions())
286 natives = jni_generator.ExtractNatives(test_data, 'int')
293 self.assertListEquals(golden_natives, natives)
295 natives, [], [], TestOptions())
309 natives = jni_generator.ExtractNatives(test_data, 'int')
320 self.assertListEquals(golden_natives, natives)
322 natives, [], [], TestOptions())
335 natives
[all...]
H A Djni_generator.py403 natives = []
419 natives += [native]
420 return natives
670 natives = ExtractNatives(contents, options.ptr_type)
672 if len(natives) == 0 and len(called_by_natives) == 0:
676 jni_namespace, fully_qualified_class, natives, called_by_natives,
712 def __init__(self, namespace, fully_qualified_class, natives,
717 self.natives = natives
725 for native in self.natives
[all...]
/external/chromium_org/v8/src/
H A Dcompiler.cc1141 ScriptCompiler::CompileOptions compile_options, NativesFlag natives) {
1188 if (natives == NATIVES_CODE) {
1262 // if a function uses the special natives syntax, which is something the
1137 CompileScript( Handle<String> source, Handle<Object> script_name, int line_offset, int column_offset, bool is_shared_cross_origin, Handle<Context> context, v8::Extension* extension, ScriptData** cached_data, ScriptCompiler::CompileOptions compile_options, NativesFlag natives) argument
H A Dbootstrapper.cc15 #include "src/natives.h"
50 // We can use external strings for the natives.
1938 PrintF("Warning: Running without installed natives!\n");
1942 // Install natives.
1955 // Store the map for the string prototype after the natives has been compiled
2223 // Expose the natives in global if a name for it is specified.
2225 Handle<String> natives = local
2228 if (natives->AsArrayIndex(&dummy_index)) return true;
2229 JSObject::AddProperty(global, natives, handle(global->builtins()),
2668 // Install experimental natives
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
H A Dmootools-1.2.2-core-nc.js91 var natives = {'Array': Array, 'Date': Date, 'Function': Function, 'Number': Number, 'RegExp': RegExp, 'String': String};
92 for (var n in natives) new Native({name: n, initialize: natives[n], protect: true});

Completed in 681 milliseconds