/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 | 113 var obj1 = { toString: function() { return "b"; } }; 115 var a = [ obj2, obj0, obj1 ]; 117 assertArrayEquals([ obj0, obj1, obj2 ], a);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/ |
regress-96284-001.js | 28 * Method: define obj2 = eval(obj1.toSource()) and verify that 29 * obj2.toSource() == obj1.toSource(). 41 var obj1 = {}; 48 obj1 = Error(cnTestString); 49 obj2 = eval(obj1.toSource()); 51 expect = obj1.toSource(); 55 obj1 = EvalError(cnTestString); 56 obj2 = eval(obj1.toSource()); 58 expect = obj1.toSource(); 62 obj1 = RangeError(cnTestString) 112 obj1 = function(x) {function g(y){return y+1;} return g(x);}; function [all...] |
regress-96284-002.js | 28 * Method: define obj2 = eval(uneval(obj1)) and verify that 29 * obj2.toSource() == obj1.toSource(). 41 var obj1 = {}; 48 obj1 = Error(cnTestString); 49 obj2 = eval(uneval(obj1)); 51 expect = obj1.toSource(); 55 obj1 = EvalError(cnTestString); 56 obj2 = eval(uneval(obj1)); 58 expect = obj1.toSource(); 62 obj1 = RangeError(cnTestString) 112 obj1 = function(x) {function g(y){return y+1;} return g(x);}; function [all...] |
/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...] |
StringBuffer2Test.java | 175 Object obj1 = new Object(); local 177 sb.append(obj1); 180 obj1.toString() + obj2.toString())); 433 Object obj1 = new Object(); local 434 testBuffer.insert(15, obj1); 436 "This is a test " + obj1.toString() + "buffer"));
|
/dalvik/vm/test/ |
TestIndirectRefTable.cpp | 39 Object* obj1 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local 60 iref1 = irt.add(cookie, obj1); 68 irt.get(iref1) != obj1 || 72 obj0, obj1, obj2); 75 DBUG_MSG("+++ obj1=%p --> iref1=%p\n", obj1, iref1); 103 iref1 = irt.add(cookie, obj1); 130 iref1 = irt.add(cookie, obj1); 171 iref1 = irt.add(cookie, obj1); 182 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);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldObjectTest.java | 30 Object obj1 = new Object(); field in class:OldObjectTest 139 synchronized (obj1) { 143 obj1.wait();// Wait for ever. 146 obj1.wait(5000L); 149 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
|
/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;
|
Jni.cpp | 1551 Object* obj1 = dvmDecodeIndirectRef(env, jref1); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
ASN1Sequence.java | 204 DEREncodable obj1 = getNext(s1); local 207 DERObject o1 = obj1.getDERObject();
|
ASN1Set.java | 224 DEREncodable obj1 = getNext(s1); local 227 DERObject o1 = obj1.getDERObject();
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalueiterator/ |
tst_qscriptvalueiterator.cpp | 499 QScriptValue obj1 = eng.newObject(); local 500 obj1.setProperty("foo", 123); 504 QScriptValueIterator it(obj1); 512 it = 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);
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
mySSLSession.java | 128 Object obj1 = table.put(s, obj); local 129 if(obj1 instanceof SSLSessionBindingListener) { 131 ((SSLSessionBindingListener)obj1).valueUnbound(sslsessionbindingevent);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
RuleBasedCollatorTest.java | 243 Object obj1 = "a"; local 245 assertEquals(-1, coll.compare(obj1, obj2));
|
/external/icu4c/test/intltest/ |
msfmrgts.cpp | 226 Formattable obj1 = params[i]; local 228 if(obj1.getType() == Formattable::kString) 229 temp1 = obj1.getString(temp1); 232 switch (obj1.getType()) { 233 case Formattable::kLong: fmt->format(obj1.getLong(), temp1); break; 234 case Formattable::kInt64: fmt->format(obj1.getInt64(), temp1); break; 235 case Formattable::kDouble: fmt->format(obj1.getDouble(), temp1); break; [all...] |
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/ |
SubjectTest.java | 538 private void equalsTest(Object obj1, Object obj2, Object obj3) { 542 if (obj1 == obj2 || obj1 == obj3 || obj2 == obj3) { 547 assertTrue(obj1.equals(obj1)); 550 assertTrue(obj1.equals(obj2)); 551 assertTrue(obj2.equals(obj1)); 554 assertTrue(obj1.equals(obj2)); 556 assertTrue(obj1.equals(obj3)); 559 assertTrue(obj3.equals(obj1)); 1559 Object obj1 = new Object(); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest.java | 577 Object obj1 = null; local 581 obj1 = ois.readObject(); 588 assertTrue("available caused incorrect reading", FOO.equals(obj1));
|
ObjectOutputStreamTest.java | 1268 Object obj1; local [all...] |
/external/v8/src/ |
liveobjectlist.cc | 984 const HeapObject* obj1 = a->obj_; local 989 return (obj1 > obj2) ? 1 : (obj1 == obj2) ? 0 : -1; 2211 HeapObject* obj1 = NULL; local [all...] |
/external/v8/test/cctest/ |
test-api.cc | 4989 v8::Handle<v8::Object> obj1 = templ1->GetFunction()->NewInstance(); local [all...] |