Searched refs:nativeObject (Results 1 – 10 of 10) sorted by relevance
/base/update/updateservice/frameworks/js/napi/base/include/ |
D | napi_util.h | 51 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/ |
D | update_module.cpp | 135 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/ |
D | resource_manager_addon.h | 38 static void Destructor(napi_env env, void *nativeObject, void *finalize_hint);
|
/base/global/i18n/interfaces/js/kits/include/ |
D | intl_addon.h | 60 static void Destructor(napi_env env, void *nativeObject, void *finalize_hint);
|
D | i18n_addon.h | 42 static void Destructor(napi_env env, void *nativeObject, void *finalize_hint);
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 37 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()
|
D | i18n_addon.cpp | 87 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/ |
D | js_keyboard_delegate_setting.cpp | 127 …env, thisVar, delegate.get(), [](napi_env env, void *nativeObject, void *hint) {}, nullptr, nullpt… in JsConstructor() argument
|
D | js_input_method_engine_setting.cpp | 151 …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/ |
D | resource_manager_addon.cpp | 104 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()
|