Home | History | Annotate | Download | only in src

Lines Matching full:realms_

91   explicit PerIsolateData(Isolate* isolate) : isolate_(isolate), realms_(NULL) {
119 Persistent<Context>* realms_;
216 Local<Context>::New(isolate, data->realms_[data->realm_current_]);
268 data_->realms_ = new Persistent<Context>[1];
269 data_->realms_[0].Reset(data_->isolate_,
277 data_->realms_[i].Reset();
278 delete[] data_->realms_;
286 if (realms_[i] == context) return i;
334 if (index >= data->realm_count_ || data->realms_[index].IsEmpty()) {
339 Local<Context>::New(args.GetIsolate(), data->realms_[index])->Global());
347 Persistent<Context>* old_realms = data->realms_;
349 data->realms_ = new Persistent<Context>[++data->realm_count_];
351 data->realms_[i].Reset(isolate, old_realms[i]);
355 data->realms_[index].Reset(
370 if (index >= data->realm_count_ || data->realms_[index].IsEmpty() ||
376 data->realms_[index].Reset();
389 if (index >= data->realm_count_ || data->realms_[index].IsEmpty()) {
406 if (index >= data->realm_count_ || data->realms_[index].IsEmpty()) {
412 Local<Context> realm = Local<Context>::New(isolate, data->realms_[index]);