/external/chromium_org/v8/test/mjsunit/ |
accessor-map-sharing.js | 38 var obj1, obj2, obj3, obj4; variable 41 obj1 = {}; 42 dp(obj1, "alpha", { get: getter }); 45 assertTrue(%HaveSameMap(obj1, obj2)); 48 obj1 = {}; 49 obj1.__defineGetter__("bravo", getter); 50 assertEquals(getter, obj1.__lookupGetter__("bravo")); 54 assertTrue(%HaveSameMap(obj1, obj2)); 57 obj1 = {}; 58 dp(obj1, "charlie", { set: setter }) [all...] |
compare-known-objects-slow.js | 54 var obj1 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable 58 assertTrue(%HaveSameMap(obj1, obj2)); 59 test(obj1, obj2); 62 obj1.x = 1; 63 assertTrue(%HaveSameMap(obj1, obj2)); 64 test(obj1, obj2); 68 assertTrue(%HaveSameMap(obj1, obj2)); 69 test(obj1, obj2);
|
samevalue.js | 32 var obj1 = {x: 10, y: 11, z: "test"}; 47 assertTrue(natives.SameValue(obj1, obj1)); 54 assertFalse(natives.SameValue(obj1, obj2)); 57 assertFalse(natives.SameValue(obj1, true)); 58 assertFalse(natives.SameValue(obj1, "foo")); 59 assertFalse(natives.SameValue(obj1, 1)); 60 assertFalse(natives.SameValue(obj1, undefined)); 61 assertFalse(natives.SameValue(obj1, NaN)); 66 assertFalse(natives.SameValue(undefined, obj1)); [all...] |
compare-objects.js | 63 var obj1 = {toString: function() {return "1";}}; 66 var less = obj1 < obj2; 67 var greater = obj1 > obj2; 69 test(obj1, obj2, less, greater); 70 test(obj1, obj2, less, greater); 71 test(obj1, obj2, less, greater); 73 test(obj1, obj2, less, greater); 74 test(obj1, obj2, less, greater); 76 obj1.x = 1; 77 test(obj1, obj2, less, greater) [all...] |
array-sort.js | 142 var obj1 = { toString: function() { return "b"; } }; 144 var a = [ obj2, obj0, obj1 ]; 146 assertArrayEquals([ obj0, obj1, obj2 ], a);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2163.js | 37 var obj1, obj2; variable 39 // obj1 and obj2 share the getter accessor. 40 obj1 = {}; 41 dp(obj1, "alpha", { get: getter, set: setter }); 44 obj1 = {}; 49 // obj1, obj2, and obj3 share the getter accessor. 50 obj1 = {}; 51 dp(obj1, "alpha", { get: getter, set: setter }); 54 obj1 = {}; 60 // obj1 and obj2 share the getter and setter accessor [all...] |
/external/v8/test/mjsunit/ |
samevalue.js | 32 var obj1 = {x: 10, y: 11, z: "test"}; 47 assertTrue(natives.SameValue(obj1, obj1)); 54 assertFalse(natives.SameValue(obj1, obj2)); 57 assertFalse(natives.SameValue(obj1, true)); 58 assertFalse(natives.SameValue(obj1, "foo")); 59 assertFalse(natives.SameValue(obj1, 1)); 60 assertFalse(natives.SameValue(obj1, undefined)); 61 assertFalse(natives.SameValue(obj1, NaN)); 66 assertFalse(natives.SameValue(undefined, obj1)); [all...] |
array-sort.js | 142 var obj1 = { toString: function() { return "b"; } }; 144 var a = [ obj2, obj0, obj1 ]; 146 assertArrayEquals([ obj0, obj1, obj2 ], a);
|
/art/runtime/ |
jobject_comparator.cc | 34 mirror::Object* obj1 = soa.Decode<mirror::Object*>(jobj1); local 36 if (obj1 == NULL) { 42 if (obj1->GetClass() != obj2->GetClass()) { 43 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode(); 46 size_t count1 = obj1->SizeOf(); 52 return obj1->IdentityHashCode() < obj2->IdentityHashCode();
|
indirect_reference_table_test.cc | 54 mirror::Object* obj1 = c->AllocObject(soa.Self()); local 55 ASSERT_TRUE(obj1 != NULL); 72 IndirectRef iref1 = irt.Add(cookie, obj1); 80 EXPECT_EQ(obj1, irt.Get(iref1)); 99 iref1 = irt.Add(cookie, obj1); 119 iref1 = irt.Add(cookie, obj1); 148 iref1 = irt.Add(cookie, obj1); 159 iref1 = irt.Add(cookie, obj1); 187 iref1 = irt.Add(cookie, obj1);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ObjectTest.java | 24 Object obj1 = new Object(); field in class:ObjectTest 48 assertTrue("Same object should be equal", obj1.equals(obj1)); 49 assertTrue("Different objects should not be equal", !obj1.equals(obj2)); 80 obj1.hashCode() == obj1.hashCode()); 94 synchronized (obj1) { 97 obj1.wait();// Wait for ever. 122 synchronized (obj1) { 128 obj1.wait(1000, 0) [all...] |
/external/chromium_org/v8/test/mjsunit/compiler/ |
proto-chain-constant.js | 36 var obj1 = c(obj2, { f1: { value: function() { return 1; }, writable: true }}); variable 37 var obj0 = c(obj1, { f0: { value: function() { return 0; }, writable: true }});
|
/dalvik/vm/test/ |
TestIndirectRefTable.cpp | 70 Object* obj1 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local 91 iref1 = irt.add(cookie, obj1); 99 irt.get(iref1) != obj1 || 103 obj0, obj1, obj2); 106 DBUG_MSG("+++ obj1=%p --> iref1=%p\n", obj1, iref1); 134 iref1 = irt.add(cookie, obj1); 161 iref1 = irt.add(cookie, obj1); 202 iref1 = irt.add(cookie, obj1); 213 iref1 = irt.add(cookie, obj1); [all...] |
/external/chromium/base/ |
id_map_unittest.cc | 30 TestObject obj1; local 33 int32 id1 = map.Add(&obj1); 36 EXPECT_EQ(&obj1, map.Lookup(id1)); 42 EXPECT_EQ(&obj1, map.Lookup(id1)); 53 map.AddWithID(&obj1, 1); 55 EXPECT_EQ(&obj1, map.Lookup(1)); 62 TestObject obj1; local 66 map.Add(&obj1);
|
/external/chromium_org/base/ |
id_map_unittest.cc | 28 TestObject obj1; local 31 int32 id1 = map.Add(&obj1); 34 EXPECT_EQ(&obj1, map.Lookup(id1)); 40 EXPECT_EQ(&obj1, map.Lookup(id1)); 51 map.AddWithID(&obj1, 1); 53 EXPECT_EQ(&obj1, map.Lookup(1)); 62 TestObject obj1; local 66 map.Add(&obj1); 137 TestObject obj1; local 141 map.Add(&obj1); 165 TestObject obj1; local [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/tools/ |
TestTextureAtlas.java | 56 Spatial obj1 = assetManager.loadModel("Models/Ferrari/Car.scene"); local 57 obj1.setLocalTranslation(-4, 0, 0); 66 scene.attachChild(obj1);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldObjectTest.java | 28 Object obj1 = new Object(); field in class:OldObjectTest 137 synchronized (obj1) { 141 obj1.wait();// Wait for ever. 144 obj1.wait(5000L); 147 obj1.wait(10000L, 999999);
|
OldStringBufferTest.java | 158 Object obj1 = new Object(); local 160 testBuffer.insert(-1, obj1); 167 testBuffer.insert(testBuffer.length() + 1, obj1); local
|
/art/test/088-monitor-verification/src/ |
Main.java | 50 Object obj1 = new Object(); local 53 m.twoPath(obj1, obj2, 0); 56 m.triplet(obj1, obj2, 0); 182 public void twoPath(Object obj1, Object obj2, int x) { 185 synchronized (obj1) { 190 localObj = obj1; 202 public void triplet(Object obj1, Object obj2, int x) { 205 synchronized (obj1) { 206 synchronized(obj1) { 208 synchronized(obj1) { [all...] |
/dalvik/tests/088-monitor-verification/src/ |
Main.java | 52 Object obj1 = new Object(); local 55 m.twoPath(obj1, obj2, 0); 58 m.triplet(obj1, obj2, 0); 184 public void twoPath(Object obj1, Object obj2, int x) { 187 synchronized (obj1) { 192 localObj = obj1; 204 public void triplet(Object obj1, Object obj2, int x) { 207 synchronized (obj1) { 208 synchronized(obj1) { 210 synchronized(obj1) { [all...] |
/dalvik/vm/ |
ReferenceTable.cpp | 173 const Object* obj1 = *((Object* const*) vobj1); local 177 if (obj1 == NULL) { 186 if (obj1 == kClearedJniWeakGlobal) { 196 if (obj1->clazz != obj2->clazz) { 197 return (u1*)obj1->clazz - (u1*)obj2->clazz; 199 size_t count1 = getElementCount(obj1); 204 return (u1*)obj1 - (u1*)obj2;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Sequence.java | 269 ASN1Encodable obj1 = getNext(s1); local 272 ASN1Primitive o1 = obj1.toASN1Primitive();
|
ASN1Set.java | 336 ASN1Encodable obj1 = getNext(s1); local 339 ASN1Primitive o1 = obj1.toASN1Primitive();
|
/external/chromium_org/third_party/libxslt/libxslt/ |
functions.c | 353 xmlXPathObjectPtr obj1, obj2; local 379 obj1 = valuePop(ctxt); 389 valuePush(ctxt, xmlXPathObjectCopy(obj1)); 425 qname = obj1->stringval; 428 key = xmlStrdup(obj1->stringval); 534 if (obj1 != NULL) 535 xmlXPathFreeObject(obj1);
|
/external/libxslt/libxslt/ |
functions.c | 353 xmlXPathObjectPtr obj1, obj2; local 379 obj1 = valuePop(ctxt); 389 valuePush(ctxt, xmlXPathObjectCopy(obj1)); 425 qname = obj1->stringval; 428 key = xmlStrdup(obj1->stringval); 534 if (obj1 != NULL) 535 xmlXPathFreeObject(obj1);
|