Lines Matching refs:c1
12010 LocalContext c1;
12014 c1->Global()->Set(v8::String::New("foo"), v8::Integer::New(100));
12342 LocalContext c1;
12639 CompileRun("function C1() {"
12642 "C1.prototype = P;"
12650 script = v8::Script::Compile(v8_str("new C1();"));
12652 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
12653 CHECK_EQ(42, c1->Get(v8_str("x"))->Int32Value());
12654 CHECK_EQ(23, c1->Get(v8_str("y"))->Int32Value());
12688 CompileRun("function C1() {"
12691 "C1.prototype = P;"
12699 script = v8::Script::Compile(v8_str("new C1();"));
12701 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
12702 CHECK_EQ(23, c1->Get(v8_str("x"))->Int32Value());
12703 CHECK_EQ(42, c1->Get(v8_str("y"))->Int32Value());
12716 const char* source = "function C1() {"
12719 "C1.prototype = P;";
12733 script = v8::Script::Compile(v8_str("new C1();"));
12737 c1 = v8::Handle<v8::Object>::Cast(script->Run());
12738 CHECK_EQ(23, c1->Get(v8_str("x"))->Int32Value());
12739 CHECK_EQ(42, c1->Get(v8_str("y"))->Int32Value());
12752 script = v8::Script::Compile(v8_str("new C1();"));
12754 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
12755 CHECK_EQ(42, c1->Get(v8_str("x"))->Int32Value());
12756 CHECK_EQ(23, c1->Get(v8_str("y"))->Int32Value());