Lines Matching refs:realms_
364 explicit PerIsolateData(Isolate* isolate) : isolate_(isolate), realms_(NULL) { in PerIsolateData()
392 Global<Context>* realms_; member in v8::PerIsolateData
519 Local<Context>::New(isolate, data->realms_[data->realm_current_]); in ExecuteString()
733 Local<Context> realm = data->realms_[data->realm_current_].Get(isolate); in ExecuteModule()
766 data_->realms_ = new Global<Context>[1]; in RealmScope()
767 data_->realms_[0].Reset(data_->isolate_, in RealmScope()
775 Global<Context>& realm = data_->realms_[i]; in ~RealmScope()
781 delete[] data_->realms_; in ~RealmScope()
790 if (realms_[i] == context) return i; in RealmFind()
806 if (index < 0 || index >= realm_count_ || realms_[index].IsEmpty()) { in RealmIndexOrThrow()
862 Local<Context>::New(args.GetIsolate(), data->realms_[index])->Global()); in RealmGlobal()
872 Global<Context>* old_realms = data->realms_; in CreateRealm()
874 data->realms_ = new Global<Context>[++data->realm_count_]; in CreateRealm()
876 data->realms_[i].Reset(isolate, old_realms[i]); in CreateRealm()
890 data->realms_[index].Reset(isolate, context); in CreateRealm()
899 DisposeModuleEmbedderData(data->realms_[index].Get(isolate)); in DisposeRealm()
900 data->realms_[index].Reset(); in DisposeRealm()
930 Local<Context> context = Local<Context>::New(isolate, data->realms_[index]); in RealmNavigate()
978 Local<Context> realm = Local<Context>::New(isolate, data->realms_[index]); in RealmEval()