Home
last modified time | relevance | path

Searched refs:nativeObject (Results 1 – 10 of 10) sorted by relevance

/base/update/updateservice/frameworks/js/napi/base/include/
Dnapi_util.h51 T *nativeObject = nullptr; in UnwrapJsObject() local
52 napi_unwrap(env, thisVar, (void**)&nativeObject); in UnwrapJsObject()
53 return nativeObject; in UnwrapJsObject()
/base/update/updateservice/frameworks/js/napi/client/
Dupdate_module.cpp135 T *nativeObject = nullptr; in CreateJsObject() local
136 status = napi_unwrap(env, jsObject, (void**)&nativeObject); in CreateJsObject()
139 napi_remove_wrap(env, jsObject, (void**)&nativeObject); in CreateJsObject()
143 return nativeObject; in CreateJsObject()
/base/global/resource_management/interfaces/js/innerkits/core/include/
Dresource_manager_addon.h38 static void Destructor(napi_env env, void *nativeObject, void *finalize_hint);
/base/global/i18n/interfaces/js/kits/include/
Dintl_addon.h60 static void Destructor(napi_env env, void *nativeObject, void *finalize_hint);
Di18n_addon.h42 static void Destructor(napi_env env, void *nativeObject, void *finalize_hint);
/base/global/i18n/interfaces/js/kits/src/
Dintl_addon.cpp37 void IntlAddon::Destructor(napi_env env, void *nativeObject, void *hint) in Destructor() argument
39 if (!nativeObject) { in Destructor()
42 delete reinterpret_cast<IntlAddon *>(nativeObject); in Destructor()
43 nativeObject = nullptr; in Destructor()
Di18n_addon.cpp87 void I18nAddon::Destructor(napi_env env, void *nativeObject, void *hint) in Destructor() argument
89 if (!nativeObject) { in Destructor()
92 delete reinterpret_cast<I18nAddon *>(nativeObject); in Destructor()
93 nativeObject = nullptr; in Destructor()
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/
Djs_keyboard_delegate_setting.cpp127 …env, thisVar, delegate.get(), [](napi_env env, void *nativeObject, void *hint) {}, nullptr, nullpt… in JsConstructor() argument
Djs_input_method_engine_setting.cpp151 …env, thisVar, setting.get(), [](napi_env env, void *nativeObject, void *hint) {}, nullptr, nullptr… in JsConstructor() argument
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_addon.cpp104 void ResourceManagerAddon::Destructor(napi_env env, void *nativeObject, void *hint) in Destructor() argument
107 addonPtr.reset(static_cast<std::shared_ptr<ResourceManagerAddon>*>(nativeObject)); in Destructor()