Home
last modified time | relevance | path

Searched refs:callbackScope (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_async_hook_context.h90 return callbackScope; in OpenCallbackScope()
140 NativeCallbackScope* callbackScope, in CloseScope() argument
144 nativeAsyncContext->CloseCallbackScope(engine, callbackScope); in CloseScope()
147 callbackScopeMgr->Close(callbackScope); in CloseScope()
168 NativeCallbackScope* callbackScope; in InternalMakeCallback() local
171 callbackScope = callbackScopeMgr->Open(engine, in InternalMakeCallback()
174 callbackScope = asyncContext->OpenCallbackScope(); in InternalMakeCallback()
184 if (callbackScope != nullptr) { in InternalMakeCallback()
186 callbackScope->MarkAsFailed(); in InternalMakeCallback()
188 callbackScope->Close(); in InternalMakeCallback()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/
H A Dtaskpool.cpp138 …CallbackScope callbackScope(resultInfo->hostEnv, resultInfo->workerEnv, resultInfo->taskId, status… in ExecuteCallbackInner() local