Home | History | Annotate | Download | only in cctest

Lines Matching refs:isolate

55       Isolate* isolate = CcTest::isolate();
56 HandleScope scope(isolate);
57 Local<Context> context = Local<Context>::New(isolate, context_);
99 v8::Isolate* isolate() const { return CcTest::isolate(); }
121 Isolate* isolate = CcTest::isolate();
122 HandleScope scope(isolate);
123 Local<FunctionTemplate> function = FunctionTemplate::New(isolate);
124 Local<Value> data = External::New(CcTest::isolate(), this);
130 Local<Context> context = Context::New(isolate,
134 context_.Reset(isolate, context);
149 HandleScope scope(CcTest::isolate());
153 Script::Compile(String::NewFromUtf8(CcTest::isolate(), source));
233 HandleScope scope(CcTest::isolate());
239 0, 0, EXPECT_RESULT, Undefined(CcTest::isolate()));
246 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0));
260 0, 0, EXPECT_RESULT, Undefined(CcTest::isolate()));
268 EXPECT_RESULT, Number::New(CcTest::isolate(), 0));
282 v8::Isolate* isolate = CcTest::isolate();
284 HandleScope scope(isolate);
289 0, 0, EXPECT_RESULT, Undefined(isolate));
296 0, EXPECT_RESULT, Number::New(isolate, 0));
310 0, 0, EXPECT_RESULT, Undefined(isolate));
316 0, 0, EXPECT_RESULT, Number::New(isolate, 0));
322 0, 0, EXPECT_RESULT, Undefined(isolate));
350 return Integer::New(isolate(), v8::None);
366 HandleScope scope(CcTest::isolate());
371 0, 0, EXPECT_RESULT, Undefined(CcTest::isolate()));
378 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0));
392 0, 0, EXPECT_RESULT, Undefined(CcTest::isolate()));
398 0, 0, EXPECT_RESULT, Number::New(CcTest::isolate(), 0));
410 return Integer::New(isolate(), v8::None);
421 HandleScope scope(CcTest::isolate());
427 Number::New(CcTest::isolate(), 87));
435 EXPECT_RESULT, Undefined(CcTest::isolate()));
443 EXPECT_RESULT, Number::New(CcTest::isolate(), 0));
451 EXPECT_RESULT, Undefined(CcTest::isolate()));
459 EXPECT_RESULT, Number::New(CcTest::isolate(), 0));
481 HandleScope scope(CcTest::isolate());
488 EXPECT_RESULT, Undefined(CcTest::isolate()));
497 hidden_proto_ = FunctionTemplate::New(CcTest::isolate());
504 return Integer::New(isolate(), v8::None);
527 HandleScope scope(CcTest::isolate());
531 Undefined(CcTest::isolate()));
536 Number::New(CcTest::isolate(), 0));
550 Undefined(CcTest::isolate()));
556 Number::New(CcTest::isolate(), 0));
565 : handle_scope_(CcTest::isolate()),
566 context_(Context::New(CcTest::isolate())) {
609 v8::Isolate* isolate = CcTest::isolate();
610 HandleScope scope(isolate);
614 EXPECT_RESULT, Number::New(isolate, 1));
616 EXPECT_RESULT, Number::New(isolate, 2));
620 EXPECT_RESULT, Number::New(isolate, 5));
622 EXPECT_RESULT, Number::New(isolate, 6));
624 EXPECT_RESULT, Number::New(isolate, 6));
626 EXPECT_RESULT, Number::New(isolate, 7));
631 EXPECT_RESULT, Number::New(isolate, 1));
633 EXPECT_RESULT, Number::New(isolate, 1));
636 EXPECT_RESULT, Number::New(isolate, 1));
638 EXPECT_RESULT, Number::New(isolate, 1));
640 EXPECT_RESULT, Number::New(isolate, 1));
652 v8::Isolate* isolate = CcTest::isolate();
653 HandleScope scope(isolate);
666 context.Check(decs[i], EXPECT_RESULT, Number::New(isolate, 1));
667 context.Check(decs[i+1], EXPECT_RESULT, Number::New(isolate, 1));
672 context.Check(decs[i+2], EXPECT_RESULT, Number::New(isolate, 1));
683 HandleScope scope(CcTest::isolate());
706 Number::New(CcTest::isolate(), 1));
712 Number::New(CcTest::isolate(), 2));