Lines Matching refs:realms_
521 Local<Context>::New(isolate, data->realms_[data->realm_current_]); in ExecuteString()
856 Local<Context> realm = data->realms_[data->realm_current_].Get(isolate); in DoHostImportModuleDynamically()
902 Local<Context> realm = data->realms_[data->realm_current_].Get(isolate); in ExecuteModule()
937 : isolate_(isolate), realms_(nullptr) { in PerIsolateData()
975 data_->realms_ = new Global<Context>[1]; in RealmScope()
976 data_->realms_[0].Reset(data_->isolate_, in RealmScope()
986 Global<Context>& realm = data_->realms_[i]; in ~RealmScope()
993 delete[] data_->realms_; in ~RealmScope()
1002 if (realms_[i] == context) return i; in RealmFind()
1018 if (index < 0 || index >= realm_count_ || realms_[index].IsEmpty()) { in RealmIndexOrThrow()
1074 Local<Context>::New(args.GetIsolate(), data->realms_[index])->Global()); in RealmGlobal()
1084 Global<Context>* old_realms = data->realms_; in CreateRealm()
1086 data->realms_ = new Global<Context>[++data->realm_count_]; in CreateRealm()
1088 data->realms_[i].Reset(isolate, old_realms[i]); in CreateRealm()
1099 data->realms_[index].Reset(isolate, context); in CreateRealm()
1108 DisposeModuleEmbedderData(data->realms_[index].Get(isolate)); in DisposeRealm()
1109 data->realms_[index].Reset(); in DisposeRealm()
1144 Local<Context> context = Local<Context>::New(isolate, data->realms_[index]); in RealmNavigate()
1192 Local<Context> realm = Local<Context>::New(isolate, data->realms_[index]); in RealmEval()