Home
last modified time | relevance | path

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

/foundation/arkui/napi/native_engine/
H A Dnative_async_hook_context.h25 class NativeAsyncHookContext;
28 size_t argc, NativeAsyncHookContext* asyncContext);
36 class NativeAsyncHookContext { class
38 NativeAsyncHookContext(NativeEngine* env, in NativeAsyncHookContext() function in NativeAsyncHookContext
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()
526 NativeAsyncHookContext* nativeAsyncContext = reinterpret_cast<NativeAsyncHookContext*>(async_context); in napi_async_destroy()
539 NativeAsyncHookContext* nodeAsyncContext = reinterpret_cast<NativeAsyncHookContext*>(async_context_handle); in napi_open_callback_scope()
551 auto ret = NativeAsyncHookContext::CloseCallbackScope(reinterpret_cast<NativeEngine*>(env), in napi_close_callback_scope()
618 NativeAsyncHookContext* nativeAsyncContext = reinterpret_cast<NativeAsyncHookContext*>(async_context); in napi_make_callback()

Completed in 3 milliseconds