Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_async_hook_context.h25 class NativeAsyncHookContext; variable
28 size_t argc, NativeAsyncHookContext* asyncContext);
36 class NativeAsyncHookContext {
38 NativeAsyncHookContext(NativeEngine* env, in NativeAsyncHookContext() function
58 ~NativeAsyncHookContext() in ~NativeAsyncHookContext()
67 auto that = reinterpret_cast<NativeAsyncHookContext*>(ref); in FreeGlobalCallBack()
138 static void CloseScope(NativeAsyncHookContext* nativeAsyncContext, in CloseScope()
154 size_t argc, NativeAsyncHookContext* asyncContext) in InternalMakeCallback()
197 … panda::JSValueRef* const argv[], NativeAsyncHookContext* asyncContext) in MakeCallback()
H A Dnative_node_api.cpp511 auto asyncContext = new NativeAsyncHookContext(reinterpret_cast<NativeEngine*>(env), in napi_async_init()
526NativeAsyncHookContext* nativeAsyncContext = reinterpret_cast<NativeAsyncHookContext*>(async_conte… in napi_async_destroy()
539NativeAsyncHookContext* nodeAsyncContext = reinterpret_cast<NativeAsyncHookContext*>(async_context… in napi_open_callback_scope()
551 auto ret = NativeAsyncHookContext::CloseCallbackScope(reinterpret_cast<NativeEngine*>(env), in napi_close_callback_scope()
618NativeAsyncHookContext* nativeAsyncContext = reinterpret_cast<NativeAsyncHookContext*>(async_conte… in napi_make_callback()