Lines Matching refs:realms_
212 explicit PerIsolateData(Isolate* isolate) : isolate_(isolate), realms_(NULL) { in PerIsolateData()
240 Global<Context>* realms_; member in v8::PerIsolateData
383 Local<Context>::New(isolate, data->realms_[data->realm_current_]); in ExecuteString()
448 data_->realms_ = new Global<Context>[1]; in RealmScope()
449 data_->realms_[0].Reset(data_->isolate_, in RealmScope()
457 data_->realms_[i].Reset(); in ~RealmScope()
458 delete[] data_->realms_; in ~RealmScope()
466 if (realms_[i] == context) return i; in RealmFind()
482 if (index < 0 || index >= realm_count_ || realms_[index].IsEmpty()) { in RealmIndexOrThrow()
540 Local<Context>::New(args.GetIsolate(), data->realms_[index])->Global()); in RealmGlobal()
549 Global<Context>* old_realms = data->realms_; in RealmCreate()
551 data->realms_ = new Global<Context>[++data->realm_count_]; in RealmCreate()
553 data->realms_[i].Reset(isolate, old_realms[i]); in RealmCreate()
564 data->realms_[index].Reset(isolate, context); in RealmCreate()
580 data->realms_[index].Reset(); in RealmDispose()
613 Local<Context> realm = Local<Context>::New(isolate, data->realms_[index]); in RealmEval()