Home | History | Annotate | Download | only in cctest

Lines Matching defs:o0

6606   Local<v8::Object> o0 = t0->GetFunction()->NewInstance();
6612 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6613 o0->Set(v8_str("__proto__"), o1);
6614 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6615 CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value());
6616 o0->Set(v8_str("__proto__"), o2);
6617 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6618 CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value());
6619 CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value());
6620 o0->Set(v8_str("__proto__"), o3);
6621 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6622 CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value());
6623 CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value());
6624 CHECK_EQ(3, o0->Get(v8_str("u"))->Int32Value());
6626 // Getting the prototype of o0 should get the first visible one
6629 Local<Value> proto = o0->Get(v8_str("__proto__"));
6650 Local<v8::Object> o0 = t0->GetFunction()->NewInstance();
6656 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6657 CHECK(o0->SetPrototype(o1));
6658 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6659 CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value());
6661 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6662 CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value());
6663 CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value());
6665 CHECK_EQ(0, o0->Get(v8_str("x"))->Int32Value());
6666 CHECK_EQ(1, o0->Get(v8_str("y"))->Int32Value());
6667 CHECK_EQ(2, o0->Get(v8_str("z"))->Int32Value());
6668 CHECK_EQ(3, o0->Get(v8_str("u"))->Int32Value());
6670 // Getting the prototype of o0 should get the first visible one
6673 Local<Value> proto = o0->Get(v8_str("__proto__"));
6678 Local<Value> proto0 = o0->GetPrototype();
6698 Local<v8::Object> o0 = t->GetFunction()->NewInstance();
6701 CHECK(o0->SetPrototype(o1));
6705 CHECK(!o1->SetPrototype(o0));