Lines Matching refs:CcTest
125 v8::HandleScope scope(CcTest::isolate()); in TEST()
127 CreateGlobalTemplate(CcTest::isolate(), TerminateCurrentThread, DoLoop); in TEST()
129 v8::Context::New(CcTest::isolate(), NULL, global); in TEST()
131 CHECK(!CcTest::isolate()->IsExecutionTerminating()); in TEST()
134 CompileRun(CcTest::isolate()->GetCurrentContext(), in TEST()
138 CHECK(!CcTest::isolate()->IsExecutionTerminating()); in TEST()
139 result = CompileRun(CcTest::isolate()->GetCurrentContext(), in TEST()
148 v8::HandleScope scope(CcTest::isolate()); in TEST()
150 CcTest::isolate(), TerminateCurrentThread, DoLoopNoCall); in TEST()
152 v8::Context::New(CcTest::isolate(), NULL, global); in TEST()
154 CHECK(!CcTest::isolate()->IsExecutionTerminating()); in TEST()
158 CompileRun(CcTest::isolate()->GetCurrentContext(), source); in TEST()
160 CHECK(!CcTest::isolate()->IsExecutionTerminating()); in TEST()
162 result = CompileRun(CcTest::isolate()->GetCurrentContext(), source); in TEST()
187 TerminatorThread thread(CcTest::i_isolate()); in TEST()
190 v8::HandleScope scope(CcTest::isolate()); in TEST()
192 CreateGlobalTemplate(CcTest::isolate(), Signal, DoLoop); in TEST()
194 v8::Context::New(CcTest::isolate(), NULL, global); in TEST()
196 CHECK(!CcTest::isolate()->IsExecutionTerminating()); in TEST()
199 CompileRun(CcTest::isolate()->GetCurrentContext(), in TEST()
255 v8::Isolate* isolate = CcTest::isolate(); in TEST()
307 v8::Isolate* isolate = CcTest::isolate(); in TEST()
357 CcTest::isolate()->CancelTerminateExecution(); in DoLoopCancelTerminate()
365 v8::Isolate* isolate = CcTest::isolate(); in TEST()
371 CHECK(!CcTest::isolate()->IsExecutionTerminating()); in TEST()
402 TerminatorThread thread(CcTest::i_isolate()); in TEST()
405 v8::Isolate* isolate = CcTest::isolate(); in TEST()
409 CreateGlobalTemplate(CcTest::isolate(), Signal, DoLoop); in TEST()
411 v8::Context::New(CcTest::isolate(), NULL, global); in TEST()
441 v8::Isolate* isolate = CcTest::isolate(); in TEST()
444 CreateGlobalTemplate(CcTest::isolate(), TerminateCurrentThread, DoLoop); in TEST()
446 v8::Context::New(CcTest::isolate(), NULL, global); in TEST()
454 i::PostponeInterruptsScope p1(CcTest::i_isolate(), in TEST()
458 CcTest::isolate()->RequestInterrupt(&CounterCallback, NULL); in TEST()
465 i::PostponeInterruptsScope p2(CcTest::i_isolate(), in TEST()
469 CcTest::isolate()->RequestInterrupt(&CounterCallback, NULL); in TEST()
489 v8::Isolate* isolate = CcTest::isolate(); in TEST()
491 v8::Local<v8::Context> context = v8::Context::New(CcTest::isolate()); in TEST()
502 v8::Local<v8::Object> global = CcTest::global(); in InnerTryCallTerminate()
504 global->Get(CcTest::isolate()->GetCurrentContext(), v8_str("loop")) in InnerTryCallTerminate()
507 i::Execution::TryCall(CcTest::i_isolate(), v8::Utils::OpenHandle((*loop)), in InnerTryCallTerminate()
517 v8::Isolate* isolate = CcTest::isolate(); in TEST()
520 CcTest::isolate(), TerminateCurrentThread, DoLoopNoCall); in TEST()
525 v8::Context::New(CcTest::isolate(), NULL, global_template); in TEST()
541 v8::Isolate* isolate = CcTest::isolate(); in TEST()
556 CcTest::global() in TEST()