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

12

/external/chromium_org/chrome/renderer/extensions/
H A Dnative_handler.h24 virtual v8::Handle<v8::Object> NewInstance() = 0;
H A Dbinding_generating_native_handler.h23 // Object returned by |NewInstance| to the generated binding.
28 virtual v8::Handle<v8::Object> NewInstance() OVERRIDE;
H A Dobject_backed_native_handler.h31 virtual v8::Handle<v8::Object> NewInstance() OVERRIDE;
38 // NewInstance()s of this ObjectBackedNativeHandler will have a property
H A Dobject_backed_native_handler.cc34 v8::Handle<v8::Object> ObjectBackedNativeHandler::NewInstance() { function in class:extensions::ObjectBackedNativeHandler
35 return object_template_.NewHandle(v8::Isolate::GetCurrent())->NewInstance();
H A Dbinding_generating_native_handler.cc20 v8::Handle<v8::Object> BindingGeneratingNativeHandler::NewInstance() { function in class:extensions::BindingGeneratingNativeHandler
H A Dmodule_system.cc238 v8::Handle<v8::Object> natives(NewInstance());
554 return i->second->NewInstance();
/external/v8/test/cctest/
H A Dtest-accessors.cc139 x_holder = obj->NewInstance();
177 Local<v8::Object> instance = templ->NewInstance();
222 v8::Handle<v8::Object> inst = obj->NewInstance();
258 v8::Handle<v8::Object> inst = obj->NewInstance();
281 v8::Handle<v8::Object> inst = obj->NewInstance();
299 v8::Handle<v8::Object> inst = obj->NewInstance();
314 v8::Handle<v8::Object> inst = obj->NewInstance();
348 env->Global()->Set(v8_str("obj"), obj->NewInstance());
381 env->Global()->Set(v8_str("obj"), obj->NewInstance());
414 env->Global()->Set(v8_str("obj"), obj->NewInstance());
[all...]
H A Dtest-api.cc913 Local<v8::Object> base_instance = base_function->NewInstance();
914 Local<v8::Object> derived_instance = derived_function->NewInstance();
915 Local<v8::Object> derived_instance2 = derived_function->NewInstance();
916 Local<v8::Object> other_instance = other_function->NewInstance();
1204 Local<v8::Object> instance1 = templ1->NewInstance();
1213 Local<v8::Object> instance2 = templ2->NewInstance();
1269 base1->GetFunction()->NewInstance());
1277 base2->GetFunction()->NewInstance());
1584 templ->GetFunction()->NewInstance());
1619 templ->GetFunction()->NewInstance());
[all...]
H A Dtest-debug.cc4205 named->NewInstance());
4215 indexed->NewInstance());
4221 env->Global()->Set(v8::String::New("intercepted_both"), both->NewInstance());
4344 v8::Handle<v8::Object> o0 = t0->GetFunction()->NewInstance();
4346 v8::Handle<v8::Object> o1 = t1->GetFunction()->NewInstance();
4348 v8::Handle<v8::Object> o2 = t2->GetFunction()->NewInstance();
4350 v8::Handle<v8::Object> o3 = t3->GetFunction()->NewInstance();
4440 env->Global()->Set(v8::String::New("instance"), named->NewInstance());
4477 env->Global()->Set(v8::String::New("instance"), named->NewInstance());
4536 v8::Handle<v8::Object> protoObj = t0->GetFunction()->NewInstance();
[all...]
/external/chromium_org/gin/
H A Dwrappable.cc39 v8::Handle<v8::Object> wrapper = templ->NewInstance();
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DV8ScriptRunner.cpp178 v8::Local<v8::Object> result = objectTemplate->NewInstance();
189 v8::Local<v8::Object> result = function->NewInstance(argc, argv);
199 v8::Local<v8::Object> result = function->NewInstance(argc, argv);
/external/chromium_org/v8/test/cctest/
H A Dtest-accessors.cc199 x_holder = obj->NewInstance();
245 Local<v8::Object> instance = templ->NewInstance();
291 v8::Handle<v8::Object> inst = obj->NewInstance();
337 v8::Handle<v8::Object> inst = obj->NewInstance();
365 v8::Handle<v8::Object> inst = obj->NewInstance();
386 v8::Handle<v8::Object> inst = obj->NewInstance();
402 v8::Handle<v8::Object> inst = obj->NewInstance();
438 env->Global()->Set(v8_str("obj"), obj->NewInstance());
472 env->Global()->Set(v8_str("obj"), obj->NewInstance());
506 env->Global()->Set(v8_str("obj"), obj->NewInstance());
[all...]
H A Dtest-api.cc275 Local<Value> fun_instance = fun->InstanceTemplate()->NewInstance();
276 Local<Value> sub_fun_instance = sub_fun->InstanceTemplate()->NewInstance();
1100 v8::Local<v8::Object> object = object_template->NewInstance();
1203 v8::Local<v8::Object> object = object_template->NewInstance();
1395 Local<v8::Object> base_instance = base_function->NewInstance();
1396 Local<v8::Object> derived_instance = derived_function->NewInstance();
1397 Local<v8::Object> derived_instance2 = derived_function->NewInstance();
1398 Local<v8::Object> other_instance = other_function->NewInstance();
1781 Local<v8::Object> instance1 = templ1->NewInstance();
1790 Local<v8::Object> instance2 = templ2->NewInstance();
[all...]
H A Dtest-object-observe.cc386 Handle<Object> proto = tmpl->GetFunction()->NewInstance();
518 Handle<Object> instance = tmpl->NewInstance();
H A Dtest-debug.cc4411 named->NewInstance());
4422 indexed->NewInstance());
4430 both->NewInstance());
4557 v8::Handle<v8::Object> o0 = t0->GetFunction()->NewInstance();
4559 v8::Handle<v8::Object> o1 = t1->GetFunction()->NewInstance();
4561 v8::Handle<v8::Object> o2 = t2->GetFunction()->NewInstance();
4563 v8::Handle<v8::Object> o3 = t3->GetFunction()->NewInstance();
4655 named->NewInstance());
4694 named->NewInstance());
4757 v8::Handle<v8::Object> protoObj = t0->GetFunction()->NewInstance();
[all...]
H A Dtest-cpu-profiler.cc745 v8::Local<v8::Object> instance = func->NewInstance();
790 v8::Local<v8::Object> instance = func->NewInstance();
853 v8::Local<v8::Object> instance = func->NewInstance();
897 v8::Local<v8::Object> instance = func->NewInstance();
H A Dtest-decls.cc650 Local<Object> hidden_proto = hidden_proto_->GetFunction()->NewInstance();
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
H A Dcmap_table.h222 CALLER_ATTACH static Builder* NewInstance(ReadableFontData* data,
225 CALLER_ATTACH static Builder* NewInstance(WritableFontData* data,
228 CALLER_ATTACH static Builder* NewInstance(const CMapId& cmap_id);
236 // When creating a new CMapFormat0 Builder, use NewInstance instead of
367 static CALLER_ATTACH Builder* NewInstance(WritableFontData* data,
370 static CALLER_ATTACH Builder* NewInstance(ReadableFontData* data,
373 static CALLER_ATTACH Builder* NewInstance(const CMapId& cmap_id);
H A Dcmap_table.cc255 builder.Attach(CMapFormat0::Builder::NewInstance(data, offset, cmap_id));
264 builder.Attach(CMapFormat4::Builder::NewInstance(data, offset, cmap_id));
280 builder.Attach(CMapFormat0::Builder::NewInstance(cmap_id));
289 builder.Attach(CMapFormat4::Builder::NewInstance(cmap_id));
393 CMapTable::CMapFormat0::Builder::NewInstance(WritableFontData* data, function in class:sfntly::CMapTable::CMapFormat0::Builder
407 CMapTable::CMapFormat0::Builder::NewInstance(ReadableFontData* data, function in class:sfntly::CMapTable::CMapFormat0::Builder
421 CMapTable::CMapFormat0::Builder::NewInstance(const CMapId& cmap_id) { function in class:sfntly::CMapTable::CMapFormat0::Builder
425 // Always call NewInstance instead of the constructor for creating a new builder
914 CMapTable::CMapFormat4::Builder::NewInstance(ReadableFontData* data, function in class:sfntly::CMapTable::CMapFormat4::Builder
928 CMapTable::CMapFormat4::Builder::NewInstance(WritableFontDat function in class:sfntly::CMapTable::CMapFormat4::Builder
942 CMapTable::CMapFormat4::Builder::NewInstance(const CMapId& cmap_id) { function in class:sfntly::CMapTable::CMapFormat4::Builder
[all...]
/external/sfntly/cpp/src/sfntly/table/core/
H A Dcmap_table.h222 CALLER_ATTACH static Builder* NewInstance(ReadableFontData* data,
225 CALLER_ATTACH static Builder* NewInstance(WritableFontData* data,
228 CALLER_ATTACH static Builder* NewInstance(const CMapId& cmap_id);
236 // When creating a new CMapFormat0 Builder, use NewInstance instead of
367 static CALLER_ATTACH Builder* NewInstance(WritableFontData* data,
370 static CALLER_ATTACH Builder* NewInstance(ReadableFontData* data,
373 static CALLER_ATTACH Builder* NewInstance(const CMapId& cmap_id);
H A Dcmap_table.cc255 builder.Attach(CMapFormat0::Builder::NewInstance(data, offset, cmap_id));
264 builder.Attach(CMapFormat4::Builder::NewInstance(data, offset, cmap_id));
280 builder.Attach(CMapFormat0::Builder::NewInstance(cmap_id));
289 builder.Attach(CMapFormat4::Builder::NewInstance(cmap_id));
393 CMapTable::CMapFormat0::Builder::NewInstance(WritableFontData* data, function in class:sfntly::CMapTable::CMapFormat0::Builder
407 CMapTable::CMapFormat0::Builder::NewInstance(ReadableFontData* data, function in class:sfntly::CMapTable::CMapFormat0::Builder
421 CMapTable::CMapFormat0::Builder::NewInstance(const CMapId& cmap_id) { function in class:sfntly::CMapTable::CMapFormat0::Builder
425 // Always call NewInstance instead of the constructor for creating a new builder
914 CMapTable::CMapFormat4::Builder::NewInstance(ReadableFontData* data, function in class:sfntly::CMapTable::CMapFormat4::Builder
928 CMapTable::CMapFormat4::Builder::NewInstance(WritableFontDat function in class:sfntly::CMapTable::CMapFormat4::Builder
942 CMapTable::CMapFormat4::Builder::NewInstance(const CMapId& cmap_id) { function in class:sfntly::CMapTable::CMapFormat4::Builder
[all...]
/external/chromium_org/v8/samples/
H A Dprocess.cc326 Handle<Object> result = templ->NewInstance();
435 Handle<Object> result = templ->NewInstance();
/external/v8/samples/
H A Dprocess.cc304 Handle<Object> result = templ->NewInstance();
409 Handle<Object> result = templ->NewInstance();
/external/chromium_org/gin/modules/
H A Dmodule_registry.cc130 RegisterModule(isolate, id, templ->NewInstance());
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8PromiseCustom.cpp145 v8::Local<v8::Object> environment = objectTemplate->NewInstance();
592 v8::Local<v8::Object> countdownWrapper = objectTemplate->NewInstance();
612 v8::Local<v8::Object> internal = internalTemplate->NewInstance();

Completed in 821 milliseconds

12