Lines Matching defs:isolate
39 HandleScope handle_scope(env->isolate());
62 Isolate* isolate = env->isolate();
63 HandleScope handle_scope(isolate);
79 ProcessEmit(env, "exit", Integer::New(isolate, code)).IsEmpty() ||
116 void AddEnvironmentCleanupHook(Isolate* isolate,
119 Environment* env = Environment::GetCurrent(isolate);
124 void RemoveEnvironmentCleanupHook(Isolate* isolate,
127 Environment* env = Environment::GetCurrent(isolate);
148 Isolate* isolate,
151 Environment* env = Environment::GetCurrent(isolate);
173 env->isolate(),
179 async_id AsyncHooksGetExecutionAsyncId(Isolate* isolate) {
180 Environment* env = Environment::GetCurrent(isolate);
185 async_id AsyncHooksGetTriggerAsyncId(Isolate* isolate) {
186 Environment* env = Environment::GetCurrent(isolate);
192 async_context EmitAsyncInit(Isolate* isolate,
196 HandleScope handle_scope(isolate);
198 String::NewFromUtf8(isolate, name, NewStringType::kInternalized)
200 return EmitAsyncInit(isolate, resource, type, trigger_async_id);
203 async_context EmitAsyncInit(Isolate* isolate,
207 DebugSealHandleScope handle_scope(isolate);
208 Environment* env = Environment::GetCurrent(isolate);
227 void EmitAsyncDestroy(Isolate* isolate, async_context asyncContext) {
228 EmitAsyncDestroy(Environment::GetCurrent(isolate), asyncContext);