Home
last modified time | relevance | path

Searched refs:obj3 (Results 1 – 17 of 17) sorted by relevance

/external/v8/test/mjsunit/
Dobject-seal.js172 var obj3 = { x: 42, y: 'foo' }; variable
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));
Dobject-freeze.js162 var obj3 = { x: 42, y: 'foo' }; variable
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));
Dobject-define-property.js398 var obj3 = {x:1000}; variable
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.foo = 1);
[all …]
Dfunction-bind.js223 var obj3 = new f(); variable
224 assertTrue(obj3 instanceof bar);
225 assertTrue(obj3 instanceof f);
226 assertFalse(obj3 instanceof foo);
227 assertFalse(obj3 instanceof Function);
228 assertFalse(obj3 instanceof String);
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestTextureAtlas.java60 Spatial obj3 = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml"); in simpleInitApp() local
61 obj3.setLocalTranslation(-0, 0, 0); in simpleInitApp()
68 scene.attachChild(obj3); in simpleInitApp()
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/
DSubjectTest.java538 private void equalsTest(Object obj1, Object obj2, Object obj3) { in equalsTest() argument
542 if (obj1 == obj2 || obj1 == obj3 || obj2 == obj3) { in equalsTest()
555 assertTrue(obj2.equals(obj3)); in equalsTest()
556 assertTrue(obj1.equals(obj3)); in equalsTest()
559 assertTrue(obj3.equals(obj1)); in equalsTest()
560 assertTrue(obj3.equals(obj1)); in equalsTest()
1561 Object obj3 = new Object(); in testIteratorNext() local
1567 set.add(obj3); in testIteratorNext()
1588 assertTrue("3 element", hash.contains(obj3)); in testIteratorNext()
/external/chromium/base/
Did_map_unittest.cc64 TestObject obj3; in TEST_F() local
68 map.Add(&obj3); in TEST_F()
/external/llvm/unittests/ADT/
DImmutableSetTest.cpp169 MyIter obj3; in TEST_F() local
172 ASSERT_EQ(0, obj3.counter); in TEST_F()
DHashingTest.cpp101 NonPOD obj1(1, 2), obj2(3, 4), obj3(5, 6); in TEST() local
102 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)), in TEST()
103 hash_value(std::make_pair(obj1, std::make_pair(obj2, obj3)))); in TEST()
/external/clang/test/SemaObjCXX/
Darc-bridged-cast.mm22 id obj3 = (__bridge IdType)CFGetSomething();
/external/clang/test/SemaObjC/
Dillegal-nonarc-bridged-cast.m23 …id obj3 = (__bridge id)CFGetSomething(); // expected-warning {{'__bridge' casts have no effect whe…
Darc-bridged-cast.m23 id obj3 = (__bridge id)CFGetSomething();
/external/clang/test/Analysis/
Dobjc-arc.m141 id obj3 = (__bridge id)CFGetSomething();
142 [obj3 self]; // Add a use, to show we can use the object after it has been bridged.
/external/clang/test/CodeGenObjCXX/
Darc.mm124 id obj3 = x0p->makeObject2();
152 id obj3 = x0p->makeObject4();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DObjectOutputStreamTest.java1270 Object obj3; in test_replaceObject() local
1284 obj3 = ois.readObject(); in test_replaceObject()
1294 ObjectStreamClass.class, obj3.getClass()); in test_replaceObject()
/external/v8/test/cctest/
Dtest-heap-profiler.cc1211 v8::Local<v8::Object> obj3 = js_global->Get(v8_str("obj3")).As<v8::Object>(); in TEST() local
1212 i::Handle<i::JSObject> js_obj3 = v8::Utils::OpenHandle(*obj3); in TEST()
Dtest-api.cc6073 v8::Handle<v8::Object> obj3 = templ3->GetFunction()->NewInstance(); in THREADED_TEST() local
6078 CHECK_EQ(3, type_switch->match(obj3)); in THREADED_TEST()
6079 CHECK_EQ(3, type_switch->match(obj3)); in THREADED_TEST()
13427 v8::Handle<v8::Object> obj3 = v8::Object::New(); in ExternalArrayTestHelper() local
13428 obj3->Set(v8_str("ee_test_field3"), v8::Int32::New(256)); in ExternalArrayTestHelper()
13429 obj3->SetIndexedPropertiesToExternalArrayData(array_data, in ExternalArrayTestHelper()
13432 context->Global()->Set(v8_str("ext_array"), obj3); in ExternalArrayTestHelper()
13439 v8::Handle<v8::Object> obj3 = v8::Object::New(); in ExternalArrayTestHelper() local
13440 obj3->Set(v8_str("ee_test_field4"), v8::Int32::New(256)); in ExternalArrayTestHelper()
13441 obj3->SetIndexedPropertiesToExternalArrayData(array_data, in ExternalArrayTestHelper()