Searched refs:isolate (Results 101 - 125 of 1020) sorted by relevance

1234567891011>>

/external/chromium_org/gin/modules/
H A Dtimer_unittest.cc25 static Handle<Result> Create(v8::Isolate* isolate) { argument
26 return CreateHandle(isolate, new Result());
44 v8::Isolate* isolate) OVERRIDE {
45 return Wrappable<Result>::GetObjectTemplateBuilder(isolate)
56 TestHelper(v8::Isolate* isolate) argument
57 : runner(new ShellRunner(&delegate, isolate)),
59 timer_module(TimerModule::Create(isolate)),
60 result(Result::Create(isolate)) {
62 runner->global()->Set(StringToV8(isolate, "timer"),
63 timer_module->GetWrapper(isolate));
[all...]
H A Dmodule_registry.h45 static void RegisterGlobals(v8::Isolate* isolate,
50 static void InstallGlobals(v8::Isolate* isolate, v8::Handle<v8::Object> obj);
56 void AddBuiltinModule(v8::Isolate* isolate, const std::string& id,
60 void AddPendingModule(v8::Isolate* isolate,
63 void LoadModule(v8::Isolate* isolate,
68 void AttemptToLoadMoreModules(v8::Isolate* isolate);
82 explicit ModuleRegistry(v8::Isolate* isolate);
84 void Load(v8::Isolate* isolate, scoped_ptr<PendingModule> pending);
85 void RegisterModule(v8::Isolate* isolate,
90 bool AttemptToLoad(v8::Isolate* isolate, scoped_pt
[all...]
H A Dmodule_runner_delegate.cc36 registry->AttemptToLoadMoreModules(runner->GetContextHolder()->isolate());
43 v8::Isolate* isolate) {
44 v8::Handle<v8::ObjectTemplate> templ = ObjectTemplateBuilder(isolate).Build();
45 ModuleRegistry::RegisterGlobals(isolate, templ);
55 v8::Isolate* isolate = runner->GetContextHolder()->isolate(); local
59 registry->AddBuiltinModule(isolate, it->first, it->second.Run(isolate));
41 GetGlobalTemplate( ShellRunner* runner, v8::Isolate* isolate) argument
/external/chromium_org/gin/
H A Dper_context_data_unittest.cc19 v8::Isolate::Scope isolate_scope(instance_->isolate());
20 v8::HandleScope handle_scope(instance_->isolate());
22 instance_->isolate(), NULL, v8::Handle<v8::ObjectTemplate>());
24 ContextHolder context_holder(instance_->isolate());
H A Dshell_runner.cc30 v8::Isolate* isolate) {
48 ShellRunner::ShellRunner(ShellRunnerDelegate* delegate, Isolate* isolate) argument
50 v8::Isolate::Scope isolate_scope(isolate);
51 HandleScope handle_scope(isolate);
53 Context::New(isolate, NULL, delegate_->GetGlobalTemplate(this, isolate));
55 context_holder_.reset(new ContextHolder(isolate));
69 v8::Isolate* isolate = GetContextHolder()->isolate(); local
71 StringToV8(isolate, sourc
28 GetGlobalTemplate( ShellRunner* runner, v8::Isolate* isolate) argument
[all...]
H A Dwrappable.cc21 v8::Isolate* isolate) {
22 return ObjectTemplateBuilder(isolate);
32 v8::Handle<v8::Object> WrappableBase::GetWrapperImpl(v8::Isolate* isolate, argument
35 return v8::Local<v8::Object>::New(isolate, wrapper_);
38 PerIsolateData* data = PerIsolateData::From(isolate);
41 templ = GetObjectTemplateBuilder(isolate).Build();
57 wrapper_.Reset(isolate, wrapper);
64 void* FromV8Impl(v8::Isolate* isolate, v8::Handle<v8::Value> val, argument
20 GetObjectTemplateBuilder( v8::Isolate* isolate) argument
/external/chromium_org/gin/test/
H A Dfile.h15 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
H A Dgc.h16 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
H A Dgtest.h18 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
H A Dfile.cc29 return v8::Null(args->isolate());
34 return v8::Null(args->isolate());
36 return gin::Converter<std::string>::ToV8(args->isolate(), contents);
42 return v8::Null(args->isolate());
43 return gin::Converter<std::string>::ToV8(args->isolate(),
50 return v8::Null(args->isolate());
54 return v8::Null(args->isolate());
62 return gin::Converter<std::vector<std::string> >::ToV8(args->isolate(),
72 v8::Local<v8::Value> File::GetModule(v8::Isolate* isolate) { argument
73 gin::PerIsolateData* data = gin::PerIsolateData::From(isolate);
[all...]
/external/chromium_org/mojo/apps/js/bindings/gl/
H A Dmodule.cc29 return Context::Create(args.isolate(), handle, context_lost_callback);
34 v8::Local<v8::Value> GetModule(v8::Isolate* isolate) { argument
35 gin::PerIsolateData* data = gin::PerIsolateData::From(isolate);
39 templ = gin::ObjectTemplateBuilder(isolate)
H A Dmodule.h16 v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
/external/chromium_org/mojo/apps/js/bindings/
H A Dmonotonic_clock.h16 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
H A Dthreading.h17 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
/external/chromium_org/mojo/bindings/js/
H A Dcore.h16 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
H A Dsupport.cc28 return WaitingCallback::Create(args.isolate(), callback, handle, signals)
42 v8::Local<v8::Value> Support::GetModule(v8::Isolate* isolate) { argument
43 gin::PerIsolateData* data = gin::PerIsolateData::From(isolate);
48 templ = gin::ObjectTemplateBuilder(isolate)
H A Dsupport.h16 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
/external/chromium_org/v8/include/libplatform/
H A Dlibplatform.h25 * Pumps the message loop for the given isolate.
32 bool PumpMessageLoop(v8::Platform* platform, v8::Isolate* isolate);
/external/chromium_org/v8/src/extensions/
H A Dtrigger-failure-extension.cc20 v8::Isolate* isolate,
24 isolate,
28 isolate,
33 isolate,
19 GetNativeFunctionTemplate( v8::Isolate* isolate, v8::Handle<v8::String> str) argument
/external/chromium_org/v8/src/ic/
H A Dic-compiler.cc52 Isolate* isolate = name->GetIsolate(); local
53 if (handler.is_identical_to(isolate->builtins()->LoadIC_Normal()) ||
54 handler.is_identical_to(isolate->builtins()->StoreIC_Normal())) {
55 name = isolate->factory()->normal_ic_symbol();
59 Handle<Map> stub_holder = IC::GetICCacheHolder(*type, isolate, &flag);
78 PropertyICCompiler ic_compiler(isolate, kind, extra_ic_state, flag);
88 Isolate* isolate = receiver_map->GetIsolate(); local
90 Handle<Name> name = isolate->factory()->KeyedLoadMonomorphic_string();
92 Handle<Object> probe(receiver_map->FindInCodeCache(*name, flags), isolate);
98 stub = LoadIndexedInterceptorStub(isolate)
123 Isolate* isolate = receiver_map->GetIsolate(); local
149 FindPreMonomorphic(Isolate* isolate, Code::Kind kind, ExtraICState state) argument
163 FillCache(Isolate* isolate, Handle<Code> code) argument
170 ComputeLoad(Isolate* isolate, InlineCacheState ic_state, ExtraICState extra_state) argument
193 ComputeStore(Isolate* isolate, InlineCacheState ic_state, ExtraICState extra_state) argument
223 Isolate* isolate = receiver_map->GetIsolate(); local
246 Isolate* isolate = receiver_maps->at(0)->GetIsolate(); local
286 Isolate* isolate = receiver_maps->at(0)->GetIsolate(); local
[all...]
/external/chromium_org/v8/src/test/
H A Dtest-utils.cc7 #include "src/isolate-inl.h"
16 : isolate_scope_(isolate()), handle_scope_(isolate()) {}
41 : context_(Context::New(isolate())), context_scope_(context_) {}
52 Factory* TestWithIsolate::factory() const { return isolate()->factory(); }
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8DOMWrapper.cpp44 static v8::Local<v8::Object> wrapInShadowTemplate(v8::Local<v8::Object> wrapper, ScriptWrappableBase* internalPointer, v8::Isolate* isolate) argument
47 V8PerIsolateData* data = V8PerIsolateData::from(isolate);
50 shadowTemplate = v8::FunctionTemplate::New(isolate);
53 shadowTemplate->SetClassName(v8AtomicString(isolate, "HTMLDocument"));
54 shadowTemplate->Inherit(V8HTMLDocument::domTemplate(isolate));
63 v8::Local<v8::Object> shadow = V8ScriptRunner::instantiateObject(isolate, shadowConstructor);
71 v8::Local<v8::Object> V8DOMWrapper::createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo* type, ScriptWrappableBase* internalPointer, v8::Isolate* isolate) argument
73 V8WrapperInstantiationScope scope(creationContext, isolate);
76 v8::Local<v8::Object> wrapper = perContextData ? perContextData->createWrapperFromCache(type) : V8ObjectConstructor::newInstance(isolate, type->domTemplate(isolate)
[all...]
/external/chromium_org/chrome/renderer/searchbox/
H A Dsearchbox_extension.cc65 v8::Handle<v8::String> UTF16ToV8String(v8::Isolate* isolate, argument
67 return v8::String::NewFromTwoByte(isolate,
74 v8::Handle<v8::String> UTF8ToV8String(v8::Isolate* isolate, argument
77 isolate, s.data(), v8::String::kNormalString, s.size());
86 v8::Isolate* isolate,
90 isolate,
100 v8::Isolate* isolate,
125 v8::Handle<v8::Object> obj = v8::Object::New(isolate);
126 obj->Set(v8::String::NewFromUtf8(isolate, "renderViewId"),
127 v8::Int32::New(isolate, render_view_i
85 GenerateThumbnailURL( v8::Isolate* isolate, int render_view_id, InstantRestrictedID most_visited_item_id) argument
99 GenerateMostVisitedItem( v8::Isolate* isolate, int render_view_id, InstantRestrictedID restricted_id, const InstantMostVisitedItem& mv_item) argument
177 RGBAColorToArray(v8::Isolate* isolate, const RGBAColor& color) argument
542 GetNativeFunctionTemplate( v8::Isolate* isolate, v8::Handle<v8::String> name) argument
679 v8::Isolate* isolate = args.GetIsolate(); local
695 v8::Isolate* isolate = args.GetIsolate(); local
726 v8::Isolate* isolate = args.GetIsolate(); local
738 v8::Isolate* isolate = args.GetIsolate(); local
765 v8::Isolate* isolate = args.GetIsolate(); local
783 v8::Isolate* isolate = args.GetIsolate(); local
[all...]
/external/chromium_org/content/renderer/
H A Dweb_ui_runner.cc32 v8::Isolate::Scope isolate_scope(context_holder->isolate());
33 HandleScope handle_scope(context_holder->isolate());
45 registry->AddBuiltinModule(context_holder_->isolate(),
48 context_holder_->isolate()));
49 registry->AddBuiltinModule(context_holder_->isolate(),
52 context_holder_->isolate()));
54 context_holder_->isolate(),
57 context_holder_->isolate(),
/external/chromium_org/extensions/renderer/
H A Dbinding_generating_native_handler.cc18 v8::Isolate* isolate = module_system_->GetIsolate(); local
19 v8::EscapableHandleScope scope(isolate);
23 binding_module->Get(v8::String::NewFromUtf8(isolate, "Binding"))
26 binding->Get(v8::String::NewFromUtf8(isolate, "create"))
29 v8::String::NewFromUtf8(isolate, api_name_.c_str())};
33 binding_instance->Get(v8::String::NewFromUtf8(isolate, "generate"))
35 v8::Local<v8::Object> object = v8::Object::New(isolate);
39 object->Set(v8::String::NewFromUtf8(isolate, bind_to_.c_str()),

Completed in 262 milliseconds

1234567891011>>