Searched refs:resultRef (Results 1 - 5 of 5) sorted by relevance
/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | js_startup_task_executor.cpp | 156 napi_ref resultRef = nullptr; in ResolveResultCallback() local 157 napi_create_reference(env, resultJs, 1, &resultRef); in ResolveResultCallback() 158 std::shared_ptr<NativeReference> result(reinterpret_cast<NativeReference*>(resultRef)); in ResolveResultCallback() 199 const std::shared_ptr<NativeReference> &resultRef) in ReplySucceeded() 205 std::shared_ptr<StartupTaskResult> result = std::make_shared<JsStartupTaskResult>(resultRef); in ReplySucceeded() 198 ReplySucceeded(StartupTaskResultCallback *callback, const std::shared_ptr<NativeReference> &resultRef) ReplySucceeded() argument
|
H A D | js_startup_task.cpp | 202 napi_ref resultRef = nullptr; in AsyncTaskCompleted() local 203 napi_create_reference(env, resultJs, INDEX_ONE, &resultRef); in AsyncTaskCompleted() 204 std::shared_ptr<NativeReference> result(reinterpret_cast<NativeReference*>(resultRef)); in AsyncTaskCompleted()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app_startup/ |
H A D | js_startup_task_executor.h | 57 const std::shared_ptr<NativeReference> &resultRef);
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 575 napi_ref resultRef = nullptr; in LoadSystemModuleByEngine() local 576 napi_create_reference(env, instanceValue, 1, &resultRef); in LoadSystemModuleByEngine() 577 return std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(resultRef)); in LoadSystemModuleByEngine() 1028 napi_ref resultRef = nullptr; in LoadModule() local 1029 napi_create_reference(env, instanceValue, 1, &resultRef); in LoadModule() 1030 return std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(resultRef)); in LoadModule() 1057 napi_ref resultRef = nullptr; in LoadSystemModule() local 1058 napi_create_reference(env, instanceValue, 1, &resultRef); in LoadSystemModule() 1059 return std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(resultRef)); in LoadSystemModule()
|
/foundation/arkui/napi/test/unittest/ |
H A D | test_napi.cpp | 1237 napi_ref resultRef = nullptr; in HWTEST_F() local 1240 napi_create_reference(env, result, 1, &resultRef); in HWTEST_F() 1244 napi_reference_ref(env, resultRef, &resultRefCount); in HWTEST_F() 1247 napi_reference_unref(env, resultRef, &resultRefCount); in HWTEST_F() 1251 napi_get_reference_value(env, resultRef, &refValue); in HWTEST_F() 1255 napi_delete_reference(env, resultRef); in HWTEST_F()
|
Completed in 28 milliseconds