Home
last modified time | relevance | path

Searched refs:resultRef (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/test/
H A Dtest_concurrent.cpp192 napi_ref resultRef = nullptr; variable
293 napi_ref resultRef = nullptr; variable
297 result = NapiHelper::IsCallable(env, resultRef);
313 napi_ref resultRef = nullptr; variable
405 napi_ref resultRef = nullptr; variable
418 NapiHelper::DeleteReference(env, resultRef);
444 napi_ref resultRef = nullptr; variable
455 NapiHelper::DeleteReference(env, resultRef);
463 napi_ref resultRef = nullptr; variable
467 ASSERT_NE(resultRef, nullptr);
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/
H A Djs_startup_task_executor.cpp156 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() argument
205 std::shared_ptr<StartupTaskResult> result = std::make_shared<JsStartupTaskResult>(resultRef); in ReplySucceeded()
H A Djs_startup_task.cpp202 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()
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/idl/
H A Dfaultlogger_service_ohos.cpp163 sptr<FaultLogQueryResultOhos> resultRef = in QuerySelfFaultLog() local
167 queryStub->ptr = resultRef; in QuerySelfFaultLog()
169 return resultRef->AsObject(); in QuerySelfFaultLog()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app_startup/
H A Djs_startup_task_executor.h57 const std::shared_ptr<NativeReference> &resultRef);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp607 napi_ref resultRef = nullptr; in LoadSystemModuleByEngine() local
608 napi_create_reference(env, instanceValue, 1, &resultRef); in LoadSystemModuleByEngine()
609 return std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(resultRef)); in LoadSystemModuleByEngine()
1064 napi_ref resultRef = nullptr; in LoadModule() local
1065 napi_create_reference(env, instanceValue, 1, &resultRef); in LoadModule()
1066 return std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(resultRef)); in LoadModule()
1093 napi_ref resultRef = nullptr; in LoadSystemModule() local
1094 napi_create_reference(env, instanceValue, 1, &resultRef); in LoadSystemModule()
1095 return std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(resultRef)); in LoadSystemModule()
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi.cpp1226 napi_ref resultRef = nullptr; variable
1229 napi_create_reference(env, result, 1, &resultRef);
1233 napi_reference_ref(env, resultRef, &resultRefCount);
1236 napi_reference_unref(env, resultRef, &resultRefCount);
1240 napi_get_reference_value(env, resultRef, &refValue);
1244 napi_delete_reference(env, resultRef);