Lines Matching refs:GetIsolate
50 Isolate* GetIsolate() const { return isolate_; }
60 HandleScope scope(isolate.GetIsolate());
61 LocalContext context1(isolate.GetIsolate());
74 LocalContext context2(isolate.GetIsolate());
75 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
82 LocalContext context3(isolate.GetIsolate());
83 context3->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
89 LocalContext context4(isolate.GetIsolate());
91 String::NewFromUtf8(isolate.GetIsolate(), "observer"), observer);
92 context4->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "fun1"),
94 context4->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "fun2"),
96 context4->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "fun3"),
107 HandleScope scope(isolate.GetIsolate());
108 LocalContext context(isolate.GetIsolate());
121 HandleScope scope(isolate.GetIsolate());
122 LocalContext context(isolate.GetIsolate());
153 HandleScope scope(isolate.GetIsolate());
154 LocalContext context(isolate.GetIsolate());
185 HandleScope scope(isolate.GetIsolate());
186 LocalContext context(isolate.GetIsolate());
210 HandleScope scope(isolate.GetIsolate());
212 LocalContext context(isolate.GetIsolate());
219 LocalContext context2(isolate.GetIsolate());
220 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
223 String::NewFromUtf8(isolate.GetIsolate(), "observer"), observer);
242 LocalContext context(isolate.GetIsolate());
243 HandleScope scope(isolate.GetIsolate());
264 LocalContext context2(isolate.GetIsolate());
282 isolate.GetIsolate(), NULL, Handle<ObjectTemplate>(), global_proxy);
330 ExpectRecords(isolate.GetIsolate(), records, expectations, \
335 HandleScope scope(isolate.GetIsolate());
336 LocalContext context(isolate.GetIsolate());
343 obj->Set(String::NewFromUtf8(isolate.GetIsolate(), "foo"), Number::New(7));
346 obj->ForceSet(String::NewFromUtf8(isolate.GetIsolate(), "foo"),
353 obj->Delete(String::NewFromUtf8(isolate.GetIsolate(), "foo"));
380 HandleScope scope(isolate.GetIsolate());
381 LocalContext context(isolate.GetIsolate());
385 String::NewFromUtf8(isolate.GetIsolate(), "foo"), Number::New(75));
389 context->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"), obj);
390 context->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "proto"),
402 obj->SetPrototype(Null(isolate.GetIsolate()));
431 HandleScope scope(isolate.GetIsolate());
432 LocalContext context(isolate.GetIsolate());
438 i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate.GetIsolate());
482 Utils::OpenHandle(*host)->GetIsolate());
495 Utils::OpenHandle(*host)->GetIsolate());
505 Utils::OpenHandle(*host)->GetIsolate());
530 HandleScope scope(isolate.GetIsolate());
531 LocalContext context(isolate.GetIsolate());
534 isolate.GetIsolate(),
537 String::NewFromUtf8(isolate.GetIsolate(), "foo"));
545 LocalContext context2(isolate.GetIsolate());
546 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
549 String::NewFromUtf8(isolate.GetIsolate(), "objNoCheck"),
563 String::NewFromUtf8(isolate.GetIsolate(), "bar") },
583 HandleScope scope(isolate.GetIsolate());
584 LocalContext context(isolate.GetIsolate());
587 isolate.GetIsolate(), NamedAccessAlwaysAllowed,
596 LocalContext context2(isolate.GetIsolate());
597 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
600 String::NewFromUtf8(isolate.GetIsolate(), "objNoCheck"),
614 String::NewFromUtf8(isolate.GetIsolate(), "foo") },
632 HandleScope scope(isolate.GetIsolate());
633 LocalContext context(isolate.GetIsolate());
636 isolate.GetIsolate(), NamedAccessAlwaysAllowed,
647 LocalContext context2(isolate.GetIsolate());
648 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
651 String::NewFromUtf8(isolate.GetIsolate(), "objNoCheck"), obj_no_check);
679 HandleScope scope(isolate.GetIsolate());
680 LocalContext context(isolate.GetIsolate());
682 isolate.GetIsolate(), BlockAccessKeys, IndexedAccessAlwaysAllowed);
690 LocalContext context2(isolate.GetIsolate());
691 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
694 String::NewFromUtf8(isolate.GetIsolate(), "objNoCheck"), obj_no_check);
718 HandleScope scope(isolate.GetIsolate());
719 LocalContext context(isolate.GetIsolate());
721 isolate.GetIsolate(), BlockAccessKeys, IndexedAccessAlwaysAllowed);
726 LocalContext context2(isolate.GetIsolate());
727 context2->Global()->Set(String::NewFromUtf8(isolate.GetIsolate(), "obj"),
732 instance->Set(5, String::NewFromUtf8(isolate.GetIsolate(), "bar"));
733 instance->Set(String::NewFromUtf8(isolate.GetIsolate(), "foo"),
734 String::NewFromUtf8(isolate.GetIsolate(), "bar"));
748 HandleScope scope(isolate.GetIsolate());
749 LocalContext context(isolate.GetIsolate());
755 context->Global()->Get(String::NewFromUtf8(isolate.GetIsolate(), "obj"));
757 ->SetHiddenValue(String::NewFromUtf8(isolate.GetIsolate(), "foo"),
758 Null(isolate.GetIsolate()));