Home
last modified time | relevance | path

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

123

/third_party/node/deps/v8/include/
Dv8-function.h38 V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance(
41 V8_WARN_UNUSED_RESULT MaybeLocal<Object> NewInstance( in NewInstance() function
43 return NewInstance(context, 0, nullptr); in NewInstance()
/third_party/node/test/cctest/
Dtest_node_postmortem_metadata.cc103 obj_templ->NewInstance(env.context()).ToLocalChecked(); in TEST_F()
155 ->NewInstance(env.context()) in TEST_F()
188 ->NewInstance(env.context()) in TEST_F()
Dtest_base_object_ptr.cc28 ->NewInstance(env->context()).ToLocalChecked(); in MakeJSObject()
/third_party/skia/third_party/externals/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
/third_party/node/test/js-native-api/8_passing_wrapped/
Dmyobject.h10 static napi_status NewInstance(napi_env env,
D8_passing_wrapped.cc14 NODE_API_CALL(env, MyObject::NewInstance(env, args[0], &instance)); in CreateObject()
Dmyobject.cc64 napi_status MyObject::NewInstance(napi_env env, in NewInstance() function in MyObject
/third_party/node/test/js-native-api/7_factory_wrap/
Dmyobject.h11 static napi_status NewInstance(napi_env env,
D7_factory_wrap.cc12 NODE_API_CALL(env, MyObject::NewInstance(env, args[0], &instance)); in CreateObject()
Dmyobject.cc69 napi_status MyObject::NewInstance(napi_env env, in NewInstance() function in MyObject
/third_party/node/doc/api/
Daddons.md882 addon_data_tpl->NewInstance(context).ToLocalChecked();
917 cons->NewInstance(context, argc, argv).ToLocalChecked();
1005 MyObject::NewInstance(args);
1019 In `myobject.h`, the static method `NewInstance()` is added to handle
1036 static void NewInstance(const v8::FunctionCallbackInfo<v8::Value>& args);
1119 cons->NewInstance(context, argc, argv).ToLocalChecked();
1124 void MyObject::NewInstance(const FunctionCallbackInfo<Value>& args) {
1132 cons->NewInstance(context, argc, argv).ToLocalChecked();
1214 MyObject::NewInstance(args);
1258 static void NewInstance(const v8::FunctionCallbackInfo<v8::Value>& args);
[all …]
/third_party/node/src/quic/
Dpacket.cc112 ->NewInstance(env->context()) in Create()
133 ->NewInstance(env()->context()) in Clone()
Dlogstream.cc41 ->NewInstance(env->context()) in Create()
/third_party/node/src/
Dhistogram.cc230 ->NewInstance(env->context()).ToLocal(&obj)) { in Create()
243 ->NewInstance(env->context()).ToLocal(&obj)) { in Create()
449 ->NewInstance(env->context()).ToLocal(&obj)) { in Create()
Dnode_wasm_web_api.cc64 if (!ctor->NewInstance(env->context(), 0, nullptr).ToLocal(&obj)) { in Create()
Dnode_sockaddr.cc559 ->NewInstance(env->context()).ToLocal(&obj)) { in New()
574 ->NewInstance(env->context()).ToLocal(&obj)) { in New()
783 ->NewInstance(env->context()).ToLocal(&obj)) { in Create()
Dpipe_wrap.cc62 constructor->NewInstance(env->context(), 1, &type_value)); in Instantiate()
Dnode_process_object.cc91 !process_ctor->NewInstance(context).ToLocal(&process)) { in CreateProcessObject()
Dnode_realm.cc274 if (!env_->env_proxy_template()->NewInstance(context()).ToLocal(&env_proxy) || in BootstrapNode()
Dstream_base.cc50 ->NewInstance(env->context()) in Shutdown()
105 ->NewInstance(env->context()) in Write()
Dnode_dir.cc109 ->NewInstance(env->context()) in New()
Dnode_file-inl.h186 ->NewInstance(env->context()) in New()
/third_party/node/deps/v8/src/d8/
Dasync-hooks-wrapper.cc152 ->NewInstance(currentContext) in CreateHook()
/third_party/mindspore/patches/
D0003-add-js-api.patch1541 + static napi_value NewInstance(napi_env env, mindspore::MSTensor tensor);
1627 + static napi_value NewInstance(napi_env env, NnrtDeviceDesc decs);
2478 + auto status = napi_set_element(env, jsResult, i, NnrtDeviceDescNapi::NewInstance(env, nnrt_dev…
3575 + status = napi_set_element(env, jsResult, i, MSTensorNapi::NewInstance(env, tensor_inputs[i]));
3938 + status = napi_set_element(env, valueParam, i, MSTensorNapi::NewInstance(env, outputs[i]));
3996 + status = napi_set_element(env, jsResult, i, MSTensorNapi::NewInstance(env, feature_maps[i]));
4702 +napi_value MSTensorNapi::NewInstance(napi_env env, mindspore::MSTensor tensor) {
4705 + MS_LOG(ERROR) << "NewInstance GetConstructor is nullptr!";
4711 + MS_LOG(ERROR) << "NewInstance napi_new_instance failed! code: " << status;
4718 + MS_LOG(ERROR) << "NewInstance native instance is nullptr! code: " << status;
[all …]

123