Lines Matching refs:engine
26 static panda::JSValueRef* InternalMakeCallback(NativeEngine* engine, panda::FunctionRef* funRef,
141 NativeEngine* engine)
144 nativeAsyncContext->CloseCallbackScope(engine, callbackScope);
152 static panda::JSValueRef* InternalMakeCallback(NativeEngine* engine, panda::FunctionRef* funRef,
156 auto vm = engine->GetEcmaVm();
170 callbackScopeMgr = engine->GetCallbackScopeManager();
171 callbackScope = callbackScopeMgr->Open(engine,
191 CloseScope(asyncContext, callbackScopeMgr, callbackScope, engine);
195 panda::JSValueRef* MakeCallback(NativeEngine* engine, panda::FunctionRef* funRef,
199 auto vm = engine->GetEcmaVm();
200 panda::JSValueRef* rst = InternalMakeCallback(engine, funRef, obj, argv, argc, asyncContext);
201 NativeCallbackScopeManager* callbackScopeMgr = engine->GetCallbackScopeManager();