Home
last modified time | relevance | path

Searched refs:napi_new_instance (Results 1 – 25 of 51) sorted by relevance

123

/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_class.cpp52 status = napi_new_instance(env, cons, args.size(), args.data(), &instance); in InstantiateClass()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_sym_key.cpp64 NAPI_CALL(env, napi_new_instance(env, constructor, 0, nullptr, &instance)); in CreateSymKey()
Dnapi_key_pair.cpp57 napi_new_instance(env, constructor, 0, nullptr, &instance); in ConvertToJsKeyPair()
Dnapi_pub_key.cpp54 napi_new_instance(env, constructor, 0, nullptr, &instance); in ConvertToJsPubKey()
Dnapi_pri_key.cpp54 napi_new_instance(env, constructor, 0, nullptr, &instance); in ConvertToJsPriKey()
Dnapi_key_agreement.cpp271 napi_new_instance(env, constructor, argc, argv, &instance); in CreateJsKeyAgreement()
Dnapi_rand.cpp282 napi_new_instance(env, constructor, 0, nullptr, &instance); in CreateRand()
Dnapi_md.cpp354 napi_new_instance(env, constructor, argc, argv, &instance); in CreateMd()
Dnapi_sym_key_generator.cpp392 NAPI_CALL(env, napi_new_instance(env, constructor, argc, argv, &instance)); in CreateSymKeyGenerator()
Dnapi_asy_key_generator.cpp485 napi_new_instance(env, constructor, argc, argv, &instance); in CreateJsAsyKeyGenerator()
/base/powermgr/power_manager/frameworks/napi/utils/
Dasync_callback_info.cpp99 status = napi_new_instance(env, cons, 0, nullptr, &instance); in CreateInstanceForRunningLock()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/
Djs_keyboard_controller_engine.cpp79 if (napi_new_instance(env, cons, 0, nullptr, &instance) != napi_ok) { in GetKeyboardControllerInstance()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Djs_get_input_method_controller.cpp102 if (napi_new_instance(env, cons, 0, nullptr, &instance) != napi_ok) { in GetIMController()
/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_account_manager.cpp63 napi_new_instance(env, jsConstructor, 0, nullptr, &napiCallback); in CreateNapiDomainAuthCallback()
/base/security/crypto_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_chain_validator.cpp234 napi_new_instance(env, constructor, 0, nullptr, &validatorInstance); in CreateCertChainValidator()
Dnapi_x509_crl_entry.cpp338 napi_new_instance(env, constructor, 0, nullptr, &instance); in CreateX509CrlEntry()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_task_napi.cpp81 napi_status status = napi_new_instance(env, GetCtor(env), argc, argv, &proxy); in JsMain()
Ddownload_task_napi_V9.cpp84 napi_status status = napi_new_instance(env, GetCtor(env), argc, argv, &proxy); in JsMain()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_watch.cpp241 … if (napi_new_instance(env, constructor, 1, &watcherName, &holder) != napi_ok) { // param num is 1 in CreateHolder()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp218 callBackStatus = napi_new_instance(env, cons, 0, nullptr, &instance); in CreateInstanceForRunningLock()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_entry.cpp220 napi_status ret = napi_new_instance(env, AuthInstanceV9Class(env), 0, nullptr, &authInstanceV9); in GetAuthInstanceV9()
519 NAPI_CALL(env, napi_new_instance(env, GetCtorForApi6(env), 0, nullptr, &userAuthForApi6)); in ConstructorForApi6()
/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
Dnapi_distributed_account.cpp257 if (napi_new_instance(env, cons, 0, nullptr, &instance) != napi_ok) { in GetDistributedAccountAbility()
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp132 status = napi_new_instance(env, constructor, argc, args, &jsObject); in CreateJsObject()
/base/request/request/upload/interfaces/kits/napi/src/
Dupload_task_napi.cpp58 napi_status status = napi_new_instance(env, GetCtor(env), argc, argv, &uploadProxy); in JsUpload()
/base/update/updateservice/test/unittest/update_client/
Dclient_stub.cpp555 napi_status napi_new_instance(napi_env env, napi_value constructor, size_t argc, const napi_value* … in napi_new_instance() function

123