Lines Matching refs:Environment
66 void AsyncWrap::DestroyAsyncIdsCallback(Environment* env) { in DestroyAsyncIdsCallback()
89 void Emit(Environment* env, double async_id, AsyncHooks::Fields type, in Emit()
103 void AsyncWrap::EmitPromiseResolve(Environment* env, double async_id) { in EmitPromiseResolve()
125 void AsyncWrap::EmitBefore(Environment* env, double async_id) { in EmitBefore()
147 void AsyncWrap::EmitAfter(Environment* env, double async_id) { in EmitAfter()
155 Environment* env = Environment::GetCurrent(args); in SetupHooks()
186 Environment* env = Environment::GetCurrent(args); in SetPromiseHooks()
198 Environment* env;
238 p->env = Environment::GetCurrent(args); in RegisterDestroyHook()
256 Environment* env = Environment::GetCurrent(args); in PushAsyncContext()
266 Environment* env = Environment::GetCurrent(args); in PopAsyncContext()
274 Environment* env = Environment::GetCurrent(args); in ExecutionAsyncResource()
283 Environment* env = Environment::GetCurrent(args); in ClearAsyncIdStack()
323 Environment::GetCurrent(args), in QueueDestroyAsyncId()
328 Environment* env = Environment::GetCurrent(args); in SetCallbackTrampoline()
337 Local<FunctionTemplate> AsyncWrap::GetConstructorTemplate(Environment* env) { in GetConstructorTemplate()
357 Environment* env = Environment::GetCurrent(context); in Initialize()
466 AsyncWrap::AsyncWrap(Environment* env, in AsyncWrap()
472 AsyncWrap::AsyncWrap(Environment* env, in AsyncWrap()
486 AsyncWrap::AsyncWrap(Environment* env, in AsyncWrap()
495 AsyncWrap::AsyncWrap(Environment* env, Local<Object> object) in AsyncWrap()
544 void AsyncWrap::EmitDestroy(Environment* env, double async_id) { in EmitDestroy()
558 env->RequestInterrupt([](Environment* env) { in EmitDestroy()
562 DestroyAsyncIdsCallback(static_cast<Environment*>(arg)); in EmitDestroy()
628 void AsyncWrap::EmitAsyncInit(Environment* env, in EmitAsyncInit()
693 Local<Object> AsyncWrap::GetOwner(Environment* env, Local<Object> obj) { in GetOwner()