/external/webkit/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/v8/test/mjsunit/ |
object-define-property.js | 57 var obj1 = {}; 100 Object.defineProperty(obj1, "foo", undefined); 108 Object.defineProperty(obj1, "foo", emptyDesc); 111 assertEquals(undefined, obj1.foo); 115 var desc = Object.getOwnPropertyDescriptor(obj1, "foo"); 126 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 131 Object.defineProperty(obj1, "foo", accessorConfigurable); 139 Object.defineProperty(obj1, "bar", accessorConfigurable); 140 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 147 assertEquals(1, obj1.bar = 1) [all...] |
/external/jdiff/src/jdiff/ |
CompareClassPdiffs.java | 16 public int compare(Object obj1, Object obj2){ 17 ClassDiff c1 = (ClassDiff)obj1;
|
ComparePkgPdiffs.java | 16 public int compare(Object obj1, Object obj2){ 17 PackageDiff p1 = (PackageDiff)obj1;
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
ObjectTest.java | 35 Object obj1 = new Object(); field in class:ObjectTest 73 assertTrue("Same object should be equal", obj1.equals(obj1)); 74 assertTrue("Different objects should not be equal", !obj1.equals(obj2)); 201 obj1.hashCode() == obj1.hashCode()); 221 synchronized (obj1) { 224 obj1.wait();// Wait for ever. 249 synchronized (obj1) { 255 obj1.wait(1000, 0) [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);
|
/packages/apps/Email/src/org/apache/commons/io/comparator/ |
ReverseComparator.java | 48 * @param obj1 The first object to compare
53 public int compare(Object obj1, Object obj2) {
54 return delegate.compare(obj2, obj1); // parameters switched round
|
DefaultFileComparator.java | 58 * @param obj1 The first file to compare
63 public int compare(Object obj1, Object obj2) {
64 File file1 = (File)obj1;
|
LastModifiedFileComparator.java | 59 * @param obj1 The first file to compare
67 public int compare(Object obj1, Object obj2) {
68 File file1 = (File)obj1;
|
NameFileComparator.java | 94 * @param obj1 The first file to compare
101 public int compare(Object obj1, Object obj2) {
102 File file1 = (File)obj1;
|
PathFileComparator.java | 94 * @param obj1 The first file to compare
102 public int compare(Object obj1, Object obj2) {
103 File file1 = (File)obj1;
|
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeTypeAndValueComparator.java | 40 * @param obj1 47 public int compare(Object obj1, Object obj2) { 48 if (obj1 == obj2) { 52 AttributeTypeAndValue atav1 = (AttributeTypeAndValue) obj1;
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
15.10.4.1-2.js | 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp object obj1 will not include a flag. This test is 49 * obj2 = new RegExp(obj1, undefined); 53 * obj2 = new RegExp(obj1); 62 var obj1 = {}; var obj2 = {}; 92 obj1 = new RegExp(s); 93 obj2 = new RegExp(obj1, undefined); // see introduction to bug 99 expect = obj1[prop];
|
15.10.4.1-4.js | 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp object obj1 will include a flag. This test is 49 * obj2 = new RegExp(obj1, undefined); 53 * obj2 = new RegExp(obj1); 63 var obj1 = {}; var obj2 = {}; 104 obj1 = new RegExp(s, f); 105 obj2 = new RegExp(obj1, undefined); // see introduction to bug 111 expect = obj1[prop];
|
15.10.4.1-1.js | 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp object obj1 will not include a flag. The flags 56 var obj1 = {}; var obj2 = {}; 86 obj1 = new RegExp(s); 87 obj2 = new RegExp(obj1); 93 expect = obj1[prop];
|
15.10.4.1-3.js | 43 * is morally the same as the original RegExp object obj1. Of course, they 46 * In this test, the initial RegExp obj1 will include a flag. The flags 57 var obj1 = {}; var obj2 = {}; 98 obj1 = new RegExp(s, f); 99 obj2 = new RegExp(obj1); 105 expect = obj1[prop];
|
/dalvik/vm/test/ |
TestIndirectRefTable.c | 39 Object* obj1 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local 62 iref1 = dvmAddToIndirectRefTable(&irt, cookie, obj1); 70 dvmGetFromIndirectRefTable(&irt, iref1) != obj1 || 77 obj0, obj1, obj2); 80 DBUG_MSG("+++ obj1=%p --> iref1=%p\n", obj1, iref1); 108 iref1 = dvmAddToIndirectRefTable(&irt, cookie, obj1); 135 iref1 = dvmAddToIndirectRefTable(&irt, cookie, obj1); 181 iref1 = dvmAddToIndirectRefTable(&irt, cookie, obj1); 192 iref1 = dvmAddToIndirectRefTable(&irt, cookie, obj1); 323 Object* obj1 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local [all...] |
/external/webkit/WebKit/gtk/tests/ |
testatk.c | 369 AtkObject* obj1; local 388 obj1 = atk_object_ref_accessible_child(obj, 0); 389 g_assert(obj1); 393 textObj1 = ATK_TEXT(obj1); 404 g_object_unref(obj1); 413 AtkObject* obj1; local 432 obj1 = atk_object_ref_accessible_child(obj, 0); 433 g_assert(obj1); 437 textObj1 = ATK_TEXT(obj1); 448 g_object_unref(obj1); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
ASN1Collection.java | 32 private DEREncodable obj1; field in class:ASN1Collection 56 case 1: return obj1; 102 case 1: obj1 = obj; break; 136 case 1: obj1 = obj; break; 189 case 1: return obj1;
|
/external/apache-http/src/org/apache/http/util/ |
LangUtils.java | 63 public static boolean equals(final Object obj1, final Object obj2) { 64 return obj1 == null ? obj2 == null : obj1.equals(obj2);
|
/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/openssl/crypto/x509v3/ |
v3_pmaps.c | 119 ASN1_OBJECT *obj1, *obj2; 136 obj1 = OBJ_txt2obj(val->name, 0); 138 if(!obj1 || !obj2) { 150 pmap->issuerDomainPolicy = obj1;
|
/dalvik/vm/ |
ReferenceTable.c | 159 Object* obj1 = *((Object**) vobj1); local 162 if (obj1 == NULL || obj2 == NULL) 163 return (u1*)obj1 - (u1*)obj2; 165 if (obj1->clazz != obj2->clazz) { 166 return (u1*)obj1->clazz - (u1*)obj2->clazz; 168 int size1 = dvmObjectSizeInHeap(obj1); 173 return (u1*)obj1 - (u1*)obj2;
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-44009.js | 28 var obj1 = {}; 50 testThis(obj1);
|