Lines Matching refs:Environment
66 void AsyncWrap::DestroyAsyncIdsCallback(Environment* env) {
89 void Emit(Environment* env, double async_id, AsyncHooks::Fields type,
103 void AsyncWrap::EmitPromiseResolve(Environment* env, double async_id) {
125 void AsyncWrap::EmitBefore(Environment* env, double async_id) {
147 void AsyncWrap::EmitAfter(Environment* env, double async_id) {
155 Environment* env = Environment::GetCurrent(args);
186 Environment* env = Environment::GetCurrent(args);
198 Environment* env;
238 p->env = Environment::GetCurrent(args);
256 Environment* env = Environment::GetCurrent(args);
266 Environment* env = Environment::GetCurrent(args);
274 Environment* env = Environment::GetCurrent(args);
283 Environment* env = Environment::GetCurrent(args);
323 Environment::GetCurrent(args),
328 Environment* env = Environment::GetCurrent(args);
337 Local<FunctionTemplate> AsyncWrap::GetConstructorTemplate(Environment* env) {
357 Environment* env = Environment::GetCurrent(context);
466 AsyncWrap::AsyncWrap(Environment* env,
472 AsyncWrap::AsyncWrap(Environment* env,
486 AsyncWrap::AsyncWrap(Environment* env,
495 AsyncWrap::AsyncWrap(Environment* env, Local<Object> object)
501 // registers this object with the Environment for finalization and debugging
503 // If the Environment decides to inspect this object for debugging, it tries to
514 // We use this particular `IsDoneInitializing()` method to tell the Environment
544 void AsyncWrap::EmitDestroy(Environment* env, double async_id) {
558 env->RequestInterrupt([](Environment* env) {
562 DestroyAsyncIdsCallback(static_cast<Environment*>(arg));
628 void AsyncWrap::EmitAsyncInit(Environment* env,
693 Local<Object> AsyncWrap::GetOwner(Environment* env, Local<Object> obj) {