Searched defs:obj3 (Results 1 - 8 of 8) sorted by relevance

/external/v8/test/mjsunit/
H A Dobject-seal.js172 var obj3 = { x: 42, y: 'foo' };
174 assertFalse(Object.isFrozen(obj3));
176 Object.defineProperty(obj3, 'x', {configurable: false, writable: true});
177 Object.defineProperty(obj3, 'y', {configurable: false, writable: false});
178 Object.preventExtensions(obj3);
180 assertTrue(Object.isSealed(obj3));
H A Dobject-freeze.js162 var obj3 = { x: 42, y: 'foo' };
164 assertFalse(Object.isFrozen(obj3));
166 Object.defineProperty(obj3, 'x', {configurable: false, writable: false});
167 Object.defineProperty(obj3, 'y', {configurable: false, writable: false});
168 Object.preventExtensions(obj3);
170 assertTrue(Object.isFrozen(obj3));
H A Dobject-define-property.js398 var obj3 = {x:1000};
399 obj3.__defineGetter__("foo", get);
400 obj3.__defineSetter__("foo", set);
402 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
409 assertEquals(1, obj3.foo = 1);
410 assertEquals(1, obj3.x);
411 assertEquals(1, obj3.foo);
415 Object.defineProperty(obj3, "foo", accessorNoConfigurable);
416 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
423 assertEquals(1, obj3
[all...]
/external/llvm/unittests/ADT/
H A DImmutableSetTest.cpp169 MyIter obj3; local
172 ASSERT_EQ(0, obj3.counter);
/external/chromium/base/
H A Did_map_unittest.cc64 TestObject obj3; local
68 map.Add(&obj3);
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/
H A DSubjectTest.java538 private void equalsTest(Object obj1, Object obj2, Object obj3) { argument
542 if (obj1 == obj2 || obj1 == obj3 || obj2 == obj3) {
555 assertTrue(obj2.equals(obj3));
556 assertTrue(obj1.equals(obj3));
559 assertTrue(obj3.equals(obj1));
560 assertTrue(obj3.equals(obj1));
1561 Object obj3 = new Object();
1567 set.add(obj3);
1588 assertTrue("3 element", hash.contains(obj3));
[all...]
/external/v8/test/cctest/
H A Dtest-heap-profiler.cc1192 "var obj3 = {};\n"
1193 "obj3.constructor = function Constructor3() {};\n"
1211 v8::Local<v8::Object> obj3 = js_global->Get(v8_str("obj3")).As<v8::Object>(); local
1212 i::Handle<i::JSObject> js_obj3 = v8::Utils::OpenHandle(*obj3);
H A Dtest-api.cc6073 v8::Handle<v8::Object> obj3 = templ3->GetFunction()->NewInstance(); local
6078 CHECK_EQ(3, type_switch->match(obj3));
6079 CHECK_EQ(3, type_switch->match(obj3));
8049 context->Global()->Set(v8_str("obj3"), instance);
8054 value = CompileRun("new obj3(22)");
8415 context->Global()->Set(v8_str("obj3"), instance);
8421 value = CompileRun("obj3(22)");
13427 v8::Handle<v8::Object> obj3 = v8::Object::New(); local
13428 obj3->Set(v8_str("ee_test_field3"), v8::Int32::New(256));
13429 obj3
13439 v8::Handle<v8::Object> obj3 = v8::Object::New(); local
[all...]

Completed in 1057 milliseconds