Lines Matching full:isolate
11 using v8::Isolate;
45 HandleScope handle_scope(env->isolate()); in EmitProcessBeforeExit()
67 HandleScope handle_scope(env->isolate()); in EmitProcessExit()
77 FIXED_ONE_BYTE_STRING(env->isolate(), "_exiting"), in EmitProcessExit()
78 True(env->isolate())).IsNothing()) return Nothing<int>(); in EmitProcessExit()
85 ProcessEmit(env, "exit", Integer::New(env->isolate(), code)).IsEmpty() || in EmitProcessExit()
122 void AddEnvironmentCleanupHook(Isolate* isolate, in AddEnvironmentCleanupHook() argument
125 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHook()
130 void RemoveEnvironmentCleanupHook(Isolate* isolate, in RemoveEnvironmentCleanupHook() argument
133 Environment* env = Environment::GetCurrent(isolate); in RemoveEnvironmentCleanupHook()
154 Isolate* isolate, in AddEnvironmentCleanupHook() argument
157 Environment* env = Environment::GetCurrent(isolate); in AddEnvironmentCleanupHook()
175 async_id AsyncHooksGetExecutionAsyncId(Isolate* isolate) { in AsyncHooksGetExecutionAsyncId() argument
176 Environment* env = Environment::GetCurrent(isolate); in AsyncHooksGetExecutionAsyncId()
181 async_id AsyncHooksGetTriggerAsyncId(Isolate* isolate) { in AsyncHooksGetTriggerAsyncId() argument
182 Environment* env = Environment::GetCurrent(isolate); in AsyncHooksGetTriggerAsyncId()
188 async_context EmitAsyncInit(Isolate* isolate, in EmitAsyncInit() argument
192 HandleScope handle_scope(isolate); in EmitAsyncInit()
194 String::NewFromUtf8(isolate, name, NewStringType::kInternalized) in EmitAsyncInit()
196 return EmitAsyncInit(isolate, resource, type, trigger_async_id); in EmitAsyncInit()
199 async_context EmitAsyncInit(Isolate* isolate, in EmitAsyncInit() argument
203 DebugSealHandleScope handle_scope(isolate); in EmitAsyncInit()
204 Environment* env = Environment::GetCurrent(isolate); in EmitAsyncInit()
223 void EmitAsyncDestroy(Isolate* isolate, async_context asyncContext) { in EmitAsyncDestroy() argument
224 EmitAsyncDestroy(Environment::GetCurrent(isolate), asyncContext); in EmitAsyncDestroy()