Home
last modified time | relevance | path

Searched refs:NewInstance (Results 1 – 21 of 21) sorted by relevance

/external/v8/test/cctest/
Dtest-api-interceptors.cc424 templ->NewInstance(context.local()).ToLocalChecked()) in CheckInterceptorLoadIC()
648 templ->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
684 templ_o->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
688 templ_p->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
724 templ->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
758 templ_o->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
762 templ_p->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
794 templ_o->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
798 templ_p->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
834 templ_o->NewInstance(context.local()).ToLocalChecked()) in THREADED_TEST()
[all …]
Dtest-accessors.cc229 x_holder = obj->NewInstance(context.local()).ToLocalChecked(); in THREADED_TEST()
290 obj->NewInstance(context.local()).ToLocalChecked(); in THREADED_TEST()
340 obj->NewInstance(context.local()).ToLocalChecked(); in THREADED_TEST()
368 obj->NewInstance(context.local()).ToLocalChecked(); in THREADED_TEST()
390 obj->NewInstance(context.local()).ToLocalChecked(); in THREADED_TEST()
407 obj->NewInstance(context.local()).ToLocalChecked(); in THREADED_TEST()
448 obj->NewInstance(env.local()).ToLocalChecked()) in THREADED_TEST()
492 obj->NewInstance(env.local()).ToLocalChecked()) in THREADED_TEST()
531 obj->NewInstance(env.local()).ToLocalChecked()) in THREADED_TEST()
564 obj->NewInstance(env.local()).ToLocalChecked()) in THREADED_TEST()
[all …]
Dtest-unscopables-hidden-prototype.cc35 ->NewInstance(current_context) in TEST()
39 ->NewInstance(current_context) in TEST()
Dtest-receiver-check-hidden-prototype.cc52 ->NewInstance(current_context) in TEST()
58 ->NewInstance(current_context) in TEST()
Dtest-api-fast-accessor-builder.cc126 v8::Local<v8::Object> obj = foo->NewInstance(env.local()).ToLocalChecked(); in TEST()
173 v8::Local<v8::Object> obj = foo->NewInstance(env.local()).ToLocalChecked(); in TEST()
215 v8::Local<v8::Object> obj = foo->NewInstance(env.local()).ToLocalChecked(); in TEST()
273 v8::Local<v8::Object> obj = foo->NewInstance(env.local()).ToLocalChecked(); in TEST()
Dtest-api.cc243 fun->InstanceTemplate()->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
245 sub_fun->InstanceTemplate()->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
1071 object_template->NewInstance(env.local()).ToLocalChecked(); in TestSimpleCallback()
1182 object_template->NewInstance(env.local()).ToLocalChecked(); in TestFastReturnValues()
1393 base_function->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
1395 derived_function->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
1397 derived_function->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
1399 other_function->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
1902 templ1->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
1921 templ2->NewInstance(env.local()).ToLocalChecked(); in THREADED_TEST()
[all …]
Dtest-object-observe.cc431 function->NewInstance(v8::Isolate::GetCurrent()->GetCurrentContext()) in TEST()
1045 object_template->NewInstance( in TEST()
1067 object_template->NewInstance( in TEST()
Dtest-cpu-profiler.cc859 func->NewInstance(env.local()).ToLocalChecked(); in TEST()
900 func->NewInstance(env.local()).ToLocalChecked(); in TEST()
963 func->NewInstance(env.local()).ToLocalChecked(); in TEST()
1006 func->NewInstance(env.local()).ToLocalChecked(); in TEST()
Dtest-debug.cc4532 named->NewInstance(context).ToLocalChecked()) in TEST()
4541 indexed->NewInstance(context).ToLocalChecked()) in TEST()
4552 both->NewInstance(context).ToLocalChecked()) in TEST()
4672 ->NewInstance(context) in TEST()
4677 ->NewInstance(context) in TEST()
4682 ->NewInstance(context) in TEST()
4687 ->NewInstance(context) in TEST()
4811 named->NewInstance(context).ToLocalChecked()) in TEST()
4857 named->NewInstance(context).ToLocalChecked()) in TEST()
4935 ->NewInstance(context) in TEST()
[all …]
Dtest-decls.cc513 ->NewInstance(context) in PostInitializeContext()
/external/sfntly/cpp/src/sfntly/table/core/
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);
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);
Dcmap_table.cc255 builder.Attach(CMapFormat0::Builder::NewInstance(data, offset, cmap_id)); in GetBuilder()
264 builder.Attach(CMapFormat4::Builder::NewInstance(data, offset, cmap_id)); in GetBuilder()
280 builder.Attach(CMapFormat0::Builder::NewInstance(cmap_id)); in GetBuilder()
289 builder.Attach(CMapFormat4::Builder::NewInstance(cmap_id)); in GetBuilder()
393 CMapTable::CMapFormat0::Builder::NewInstance(WritableFontData* data, in NewInstance() function in sfntly::CMapTable::CMapFormat0::Builder
407 CMapTable::CMapFormat0::Builder::NewInstance(ReadableFontData* data, in NewInstance() function in sfntly::CMapTable::CMapFormat0::Builder
421 CMapTable::CMapFormat0::Builder::NewInstance(const CMapId& cmap_id) { in NewInstance() function in sfntly::CMapTable::CMapFormat0::Builder
914 CMapTable::CMapFormat4::Builder::NewInstance(ReadableFontData* data, in NewInstance() function in sfntly::CMapTable::CMapFormat4::Builder
928 CMapTable::CMapFormat4::Builder::NewInstance(WritableFontData* data, in NewInstance() function in sfntly::CMapTable::CMapFormat4::Builder
942 CMapTable::CMapFormat4::Builder::NewInstance(const CMapId& cmap_id) { in NewInstance() function in sfntly::CMapTable::CMapFormat4::Builder
/external/skia/experimental/SkV8Example/
DPath2D.cpp38 v8::Local<v8::Object> result = templ->NewInstance(); in Path2D()
DJsContext.cpp47 v8::Local<v8::Object> result = templ->NewInstance(); in wrap()
/external/v8/samples/
Dprocess.cc352 templ->NewInstance(GetIsolate()->GetCurrentContext()).ToLocalChecked(); in WrapMap()
466 templ->NewInstance(GetIsolate()->GetCurrentContext()).ToLocalChecked(); in WrapRequest()
/external/pdfium/xfa/src/fxjse/src/
Ddynprop.cpp58 hCallBackInfoTemplate->NewInstance(); in FXJSE_DynPropGetterAdapter()
172 v8::Local<v8::Object> hCallBackInfo = hCallBackInfoTemplate->NewInstance(); in FXJSE_V8ProxyCallback_getOwnPropertyDescriptor()
Dvalue.cpp331 v8::Local<v8::Object> hObject = hClass->InstanceTemplate()->NewInstance(); in SetHostObject()
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp426 if (!objTempl->NewInstance(context).ToLocal(&obj)) in FXJS_NewFxDynamicObj()
441 if (!pObjDef->GetInstanceTemplate()->NewInstance(context).ToLocal(&obj)) in FXJS_NewFxDynamicObj()
/external/v8/src/runtime/
Druntime-test.cc224 if (!desc->NewInstance(v8_isolate->GetCurrentContext()).ToLocal(&obj)) { in RUNTIME_FUNCTION()
/external/v8/include/
Dv8.h3235 Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
3236 V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
3239 V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const);
3240 V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( in NewInstance() function
3242 return NewInstance(context, 0, nullptr); in NewInstance()
4627 V8_DEPRECATE_SOON("Use maybe version", Local<Object> NewInstance());
4628 V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(Local<Context> context);
/external/v8/src/
Dapi.cc4348 Local<v8::Object> Function::NewInstance() const { in NewInstance() function in v8::Function
4349 return NewInstance(Isolate::GetCurrent()->GetCurrentContext(), 0, NULL) in NewInstance()
4354 MaybeLocal<Object> Function::NewInstance(Local<Context> context, int argc, in NewInstance() function in v8::Function
4370 Local<v8::Object> Function::NewInstance(int argc, in NewInstance() function in v8::Function
4373 RETURN_TO_LOCAL_UNCHECKED(NewInstance(context, argc, argv), Object); in NewInstance()
5615 MaybeLocal<v8::Object> ObjectTemplate::NewInstance(Local<Context> context) { in NewInstance() function in v8::ObjectTemplate
5626 Local<v8::Object> ObjectTemplate::NewInstance() { in NewInstance() function in v8::ObjectTemplate
5628 RETURN_TO_LOCAL_UNCHECKED(NewInstance(context), Object); in NewInstance()