Lines Matching refs:c1
13574 LocalContext c1;
13578 c1->Global()->Set(v8::String::New("foo"), v8::Integer::New(100));
14096 LocalContext c1;
14509 CompileRun("function C1() {"
14512 "C1.prototype = P;"
14520 script = v8::Script::Compile(v8_str("new C1();"));
14522 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
14523 CHECK_EQ(42, c1->Get(v8_str("x"))->Int32Value());
14524 CHECK_EQ(23, c1->Get(v8_str("y"))->Int32Value());
14558 CompileRun("function C1() {"
14561 "C1.prototype = P;"
14569 script = v8::Script::Compile(v8_str("new C1();"));
14571 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
14572 CHECK_EQ(23, c1->Get(v8_str("x"))->Int32Value());
14573 CHECK_EQ(42, c1->Get(v8_str("y"))->Int32Value());
14586 const char* source = "function C1() {"
14589 "C1.prototype = P;";
14603 script = v8::Script::Compile(v8_str("new C1();"));
14607 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
14608 CHECK_EQ(23, c1->Get(v8_str("x"))->Int32Value());
14609 CHECK_EQ(42, c1->Get(v8_str("y"))->Int32Value());
14622 script = v8::Script::Compile(v8_str("new C1();"));
14624 v8::Handle<v8::Object> c1 = v8::Handle<v8::Object>::Cast(script->Run());
14625 CHECK_EQ(42, c1->Get(v8_str("x"))->Int32Value());
14626 CHECK_EQ(23, c1->Get(v8_str("y"))->Int32Value());