Searched refs:v8 (Results 251 - 275 of 2460) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/v8/test/cctest/
H A Dcctest.h31 #include "src/v8.h"
71 V(GC_EXTENSION, "v8/gc") \
72 V(PRINT_EXTENSION, "v8/print") \
73 V(PROFILER_EXTENSION, "v8/profiler") \
74 V(TRACE_EXTENSION, "v8/trace")
83 typedef v8::internal::EnumSet<CcTestExtensionIds> CcTestExtensionFlags;
118 static v8::Isolate* isolate() {
141 static v8::base::RandomNumberGenerator* random_number_generator() {
145 static v8::Local<v8
279 LocalContext(v8::Isolate* isolate, v8::ExtensionConfiguration* extensions = 0, v8::Handle<v8::ObjectTemplate> global_template = v8::Handle<v8::ObjectTemplate>(), v8::Handle<v8::Value> global_object = v8::Handle<v8::Value>()) argument
287 LocalContext(v8::ExtensionConfiguration* extensions = 0, v8::Handle<v8::ObjectTemplate> global_template = v8::Handle<v8::ObjectTemplate>(), v8::Handle<v8::Value> global_object = v8::Handle<v8::Value>()) argument
[all...]
H A Dtest-cpu-profiler.cc30 #include "src/v8.h"
32 #include "include/v8-profiler.h"
57 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100)));
117 i::Handle<i::JSFunction> fun = v8::Utils::OpenHandle(
118 *v8::Local<v8::Function>::Cast(
145 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100)));
206 &generator, NULL, v8::base::TimeDelta::FromMicroseconds(100)));
261 // http://code.google.com/p/v8/issues/detail?id=1398
275 &generator, NULL, v8
[all...]
/external/chromium_org/extensions/renderer/
H A Dconsole.h11 #include "v8/include/v8.h"
36 void Debug(v8::Handle<v8::Context> context, const std::string& message);
37 void Log(v8::Handle<v8::Context> context, const std::string& message);
38 void Warn(v8::Handle<v8::Context> context, const std::string& message);
39 void Error(v8::Handle<v8
[all...]
H A Dset_icon_natives.cc38 const v8::Local<v8::Object> image_data,
39 v8::Local<v8::Value>* image_data_bitmap) {
40 v8::Isolate* isolate = context()->v8_context()->GetIsolate();
41 v8::Local<v8::Object> data =
42 image_data->Get(v8::String::NewFromUtf8(isolate, "data"))->ToObject();
44 image_data->Get(v8::String::NewFromUtf8(isolate, "width"))->Int32Value();
46 image_data->Get(v8
[all...]
H A Dlogging_native_handler.cc33 const v8::FunctionCallbackInfo<v8::Value>& args) {
41 const v8::FunctionCallbackInfo<v8::Value>& args) {
49 const v8::FunctionCallbackInfo<v8::Value>& args) {
54 const v8::FunctionCallbackInfo<v8::Value>& args) {
56 LOG(INFO) << *v8::String::Utf8Value(args[0]);
60 const v8
[all...]
H A Dv8_schema_registry.cc33 void GetSchema(const v8::FunctionCallbackInfo<v8::Value>& args) {
35 registry_->GetSchema(*v8::String::Utf8Value(args[0])));
52 new ScriptContext(GetOrCreateContext(v8::Isolate::GetCurrent()),
62 v8::Handle<v8::Array> V8SchemaRegistry::GetSchemas(
64 v8::Isolate* isolate = v8::Isolate::GetCurrent();
65 v8::EscapableHandleScope handle_scope(isolate);
66 v8
[all...]
/external/chromium_org/gin/
H A Dshell_runner.h25 virtual v8::Handle<v8::ObjectTemplate> GetGlobalTemplate(
27 v8::Isolate* isolate);
34 // ShellRunner executes the script/functions directly in a v8::Context.
35 // ShellRunner owns a ContextHolder and v8::Context, both of which are destroyed
39 ShellRunner(ShellRunnerDelegate* delegate, v8::Isolate* isolate);
48 virtual v8::Handle<v8::Value> Call(v8::Handle<v8
[all...]
H A Dwrappable_unittest.cc34 static gin::Handle<MyObject> Create(v8::Isolate* isolate) {
44 v8::Isolate* isolate) OVERRIDE;
53 static gin::Handle<MyObjectSubclass> Create(v8::Isolate* isolate) {
65 v8::Isolate* isolate) OVERRIDE {
81 static gin::Handle<MyCallableObject> Create(v8::Isolate* isolate) {
89 v8::Isolate* isolate) OVERRIDE {
121 ObjectTemplateBuilder MyObject::GetObjectTemplateBuilder(v8::Isolate* isolate) {
133 v8::Isolate* isolate = instance_->isolate();
134 v8::HandleScope handle_scope(isolate);
138 v8
[all...]
H A Drunner.h13 #include "v8/include/v8.h"
17 // Runner is responsible for running code in a v8::Context.
27 virtual v8::Handle<v8::Value> Call(v8::Handle<v8::Function> function,
28 v8::Handle<v8::Value> receiver,
30 v8
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DScriptString.cpp32 #include "bindings/core/v8/ScriptString.h"
34 #include "bindings/core/v8/V8Binding.h"
43 ScriptString::ScriptString(v8::Isolate* isolate, v8::Handle<v8::String> string)
45 , m_string(SharedPersistent<v8::String>::create(string, m_isolate))
58 v8::Handle<v8::String> ScriptString::v8Value()
61 return v8::Handle<v8
[all...]
H A DV8NPObject.cpp33 #include "bindings/core/v8/V8NPObject.h"
35 #include "bindings/core/v8/NPV8Object.h"
36 #include "bindings/core/v8/V8Binding.h"
37 #include "bindings/core/v8/V8HTMLAppletElement.h"
38 #include "bindings/core/v8/V8HTMLEmbedElement.h"
39 #include "bindings/core/v8/V8HTMLObjectElement.h"
40 #include "bindings/core/v8/V8NPUtils.h"
41 #include "bindings/core/v8/V8ObjectConstructor.h"
42 #include "bindings/core/v8/V8PersistentValueMap.h"
43 #include "bindings/core/v8/npruntime_imp
185 KeyFromWeakCallbackData( const v8::WeakCallbackData<v8::FunctionTemplate, WeakCallbackDataType>& data) argument
230 MapFromWeakCallbackData(const v8::WeakCallbackData<v8::FunctionTemplate, WeakCallbackDataType>& data) argument
[all...]
H A DScriptProfiler.cpp32 #include "bindings/core/v8/ScriptProfiler.h"
34 #include "bindings/core/v8/RetainedDOMInfo.h"
35 #include "bindings/core/v8/ScriptValue.h"
36 #include "bindings/core/v8/V8Binding.h"
37 #include "bindings/core/v8/V8Node.h"
38 #include "bindings/core/v8/V8Window.h"
39 #include "bindings/core/v8/WrapperTypeInfo.h"
44 #include <v8-profiler.h>
45 #include <v8.h>
53 v8
[all...]
H A DScriptPreprocessor.cpp32 #include "bindings/core/v8/ScriptPreprocessor.h"
34 #include "bindings/core/v8/ScriptController.h"
35 #include "bindings/core/v8/ScriptSourceCode.h"
36 #include "bindings/core/v8/ScriptValue.h"
37 #include "bindings/core/v8/V8Binding.h"
38 #include "bindings/core/v8/V8ScriptRunner.h"
53 v8::HandleScope handleScope(m_scriptState->isolate());
55 v8::TryCatch tryCatch;
59 Vector<v8::Local<v8
[all...]
H A DScriptWrappable.cpp6 #include "bindings/core/v8/ScriptWrappable.h"
8 #include "bindings/core/v8/DOMDataStore.h"
9 #include "bindings/core/v8/V8DOMWrapper.h"
22 v8::Object* m_wrapper;
49 v8::Handle<v8::Object> ScriptWrappable::wrap(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
60 v8
[all...]
H A DPrivateScriptRunner.cpp6 #include "bindings/core/v8/PrivateScriptRunner.h"
8 #include "bindings/core/v8/DOMWrapperWorld.h"
9 #include "bindings/core/v8/ExceptionState.h"
10 #include "bindings/core/v8/V8Binding.h"
11 #include "bindings/core/v8/V8PerContextData.h"
12 #include "bindings/core/v8/V8ScriptRunner.h"
22 static void dumpV8Message(v8::Handle<v8::Message> message)
34 v8::Handle<v8
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8HTMLDocumentCustom.cpp32 #include "bindings/core/v8/V8HTMLDocument.h"
34 #include "bindings/core/v8/ScriptController.h"
35 #include "bindings/core/v8/V8Binding.h"
36 #include "bindings/core/v8/V8HTMLAllCollection.h"
37 #include "bindings/core/v8/V8HTMLCollection.h"
38 #include "bindings/core/v8/V8Node.h"
39 #include "bindings/core/v8/V8Window.h"
54 void V8HTMLDocument::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
61 v8
[all...]
H A DV8JavaScriptCallFrameCustom.cpp32 #include "bindings/core/v8/V8JavaScriptCallFrame.h"
34 #include "bindings/core/v8/V8Binding.h"
38 void V8JavaScriptCallFrame::evaluateWithExceptionDetailsMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
45 void V8JavaScriptCallFrame::restartMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
51 void V8JavaScriptCallFrame::scopeChainAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>& info)
57 void V8JavaScriptCallFrame::scopeTypeMethodCustom(const v8::FunctionCallbackInfo<v8
[all...]
H A DV8WorkerGlobalScopeCustom.cpp32 #include "bindings/core/v8/V8WorkerGlobalScope.h"
34 #include "bindings/core/v8/ExceptionState.h"
35 #include "bindings/core/v8/ScheduledAction.h"
36 #include "bindings/core/v8/V8Binding.h"
37 #include "bindings/core/v8/V8WorkerGlobalScopeEventListener.h"
38 #include "bindings/core/v8/WorkerScriptController.h"
48 static void setTimeoutOrInterval(const v8::FunctionCallbackInfo<v8::Value>& info, bool singleShot)
57 v8::Handle<v8
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestInterfaceNotScriptWrappable.h10 #include "bindings/core/v8/ScriptWrappable.h"
11 #include "bindings/core/v8/V8Binding.h"
12 #include "bindings/core/v8/V8DOMWrapper.h"
13 #include "bindings/core/v8/WrapperTypeInfo.h"
21 static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
22 static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8
[all...]
H A DV8TestInterfaceNamedConstructor.cpp10 #include "bindings/core/v8/ExceptionState.h"
11 #include "bindings/core/v8/V8DOMConfiguration.h"
12 #include "bindings/core/v8/V8HiddenValue.h"
13 #include "bindings/core/v8/V8ObjectConstructor.h"
28 // bindings/core/v8/ScriptWrappable.h.
35 static void TestInterfaceNamedConstructorConstructorGetter(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
37 v8
[all...]
H A DV8TestInterfaceCustomConstructor.cpp10 #include "bindings/core/v8/ExceptionState.h"
11 #include "bindings/core/v8/V8DOMConfiguration.h"
12 #include "bindings/core/v8/V8HiddenValue.h"
13 #include "bindings/core/v8/V8ObjectConstructor.h"
28 // bindings/core/v8/ScriptWrappable.h.
37 void V8TestInterfaceCustomConstructor::constructorCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
53 static void installV8TestInterfaceCustomConstructorTemplate(v8::Handle<v8::FunctionTemplate> functionTemplate, v8
[all...]
H A DV8TestInterfaceWillBeGarbageCollected.h10 #include "bindings/core/v8/ScriptWrappable.h"
11 #include "bindings/core/v8/V8Binding.h"
12 #include "bindings/core/v8/V8DOMWrapper.h"
13 #include "bindings/core/v8/V8EventTarget.h"
14 #include "bindings/core/v8/WrapperTypeInfo.h"
22 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
28 static bool hasInstance(v8::Handle<v8
[all...]
/external/chromium_org/gin/test/
H A Dgc.cc26 v8::Local<v8::Value> GC::GetModule(v8::Isolate* isolate) {
28 v8::Local<v8::ObjectTemplate> templ =
33 base::Bind(&v8::Isolate::LowMemoryNotification,
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DGCObservation.h34 #include "bindings/core/v8/ScopedPersistent.h"
35 #include "bindings/core/v8/ScriptWrappable.h"
39 #include <v8.h>
46 static GCObservation* create(v8::Handle<v8::Value> observedValue)
61 explicit GCObservation(v8::Handle<v8::Value>);
63 ScopedPersistent<v8::Value> m_observed;
/external/chromium-libpac/src/
H A Dproxy_resolver_v8.cc15 #include <include/v8.h>
99 : public v8::String::ExternalStringResource {
119 class V8ExternalASCIILiteral : public v8::String::ExternalAsciiStringResource {
140 // When creating a v8::String from a C++ string we have two choices: create
156 std::string V8StringToUTF8(v8::Handle<v8::String> s) {
163 android::String16 V8StringToUTF16(v8::Handle<v8::String> s) {
178 v8::Local<v8
[all...]

Completed in 809 milliseconds

<<11121314151617181920>>