Lines Matching refs:currentContext
125 Local<Context> currentContext = isolate->GetCurrentContext(); in CreateHook() local
139 fn_obj->Get(currentContext, String::NewFromUtf8Literal(isolate, #name)) \ in CreateHook()
152 ->NewInstance(currentContext) in CreateHook()
184 Local<Context> currentContext = isolate->GetCurrentContext(); in ShellPromiseHook() local
185 DCHECK(!currentContext.IsEmpty()); in ShellPromiseHook()
191 !promise->HasPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook()
193 promise->SetPrivate(currentContext, hooks->async_id_smb.Get(isolate), in ShellPromiseHook()
200 ->GetPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook()
202 promise->SetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate), in ShellPromiseHook()
206 promise->SetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate), in ShellPromiseHook()
212 promise->GetPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook()
218 ->GetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate)) in ShellPromiseHook()