Home
last modified time | relevance | path

Searched refs:funcRef (Results 1 – 11 of 11) sorted by relevance

/base/account/os_account/interfaces/kits/napi/domain_account/src/
Dnapi_domain_account_manager.cpp97 napi_value funcRef = nullptr; in AuthWork() local
98 napi_get_reference_value(param->env, param->jsPlugin.auth, &funcRef); in AuthWork()
99 if (funcRef == nullptr) { in AuthWork()
102 napi_call_function(param->env, undefined, funcRef, ARG_SIZE_THREE, argv, &returnVal); in AuthWork()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/
Duser_auth_napi_helper.h45 …static napi_status CallVoidNapiFunc(napi_env env, napi_ref funcRef, size_t argc, const napi_value …
/base/account/os_account/interfaces/kits/napi/common/include/
Dnapi_account_common.h56 void NapiCallVoidFunction(napi_env env, napi_value *argv, size_t argc, napi_ref funcRef);
/base/account/os_account/interfaces/kits/napi/common/src/
Dnapi_account_common.cpp62 void NapiCallVoidFunction(napi_env env, napi_value *argv, size_t argc, napi_ref funcRef) in NapiCallVoidFunction() argument
68 NAPI_CALL_RETURN_VOID(env, napi_get_reference_value(env, funcRef, &func)); in NapiCallVoidFunction()
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_util.h52 napi_value GetReferenceValue(const napi_env env, const napi_ref funcRef);
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account_authenticator.h89 static void CallJsFunction(napi_env env, napi_ref funcRef, napi_value *argv, size_t argc);
Dnapi_app_account_common.h319 bool GetNamedFunction(napi_env env, napi_value object, const std::string &name, napi_ref &funcRef);
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
Duser_auth_napi_helper.cpp331 napi_status UserAuthNapiHelper::CallVoidNapiFunc(napi_env env, napi_ref funcRef, size_t argc, const… in CallVoidNapiFunc() argument
334 napi_status ret = napi_get_reference_value(env, funcRef, &funcVal); in CallVoidNapiFunc()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_util.cpp269 napi_value GetReferenceValue(const napi_env env, const napi_ref funcRef) in GetReferenceValue() argument
272 if (napi_get_reference_value(env, funcRef, &refValue) != napi_ok) { in GetReferenceValue()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_authenticator.cpp322 napi_env env, napi_ref funcRef, napi_value *argv, size_t argc) in CallJsFunction() argument
328 napi_get_reference_value(env, funcRef, &function); in CallJsFunction()
Dnapi_app_account_common.cpp1310 bool GetNamedFunction(napi_env env, napi_value object, const std::string &name, napi_ref &funcRef) in GetNamedFunction() argument
1314 return GetCallbackProperty(env, value, funcRef, 1); in GetNamedFunction()