/external/chromium_org/v8/test/webkit/ |
H A D | codegen-assign-nontemporary-as-rexp.js | 36 var obj2 = {}; 37 obj2.forward = (obj['slot'] = victim); 38 return obj2.forward; 51 var obj2 = {}; 52 obj2.forward = (obj.slot = victim); 53 return obj2.forward;
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | object-prevent-extensions.js | 47 var obj2 = {}; 48 assertTrue(Object.isExtensible(obj2)); 49 obj2.x = 42; 50 assertEquals(42, obj2.x); 51 assertTrue(Object.isExtensible(obj2)); 53 Object.preventExtensions(obj2); 54 assertEquals(42, obj2.x); 56 obj2.y = 42; 57 // obj2.y should still be undefined. 58 assertEquals(undefined, obj2 [all...] |
H A D | compare-objects.js | 64 var obj2 = {toString: function() {return "2";}}; 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); 77 test(obj1, obj2, less, greater); 79 obj2 [all...] |
H A D | compare-known-objects-slow.js | 55 var obj2 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable 58 assertTrue(%HaveSameMap(obj1, obj2)); 59 test(obj1, obj2); 63 assertTrue(%HaveSameMap(obj1, obj2)); 64 test(obj1, obj2); 67 obj2.y = 2; 68 assertTrue(%HaveSameMap(obj1, obj2)); 69 test(obj1, obj2);
|
H A D | accessor-map-sharing.js | 38 var obj1, obj2, obj3, obj4; 43 obj2 = {}; 44 dp(obj2, "alpha", { get: getter }); 45 assertTrue(%HaveSameMap(obj1, obj2)); 51 obj2 = {}; 52 obj2.__defineGetter__("bravo", getter); 53 assertEquals(getter, obj2.__lookupGetter__("bravo")); 54 assertTrue(%HaveSameMap(obj1, obj2)); 59 obj2 = {}; 60 dp(obj2, "charli [all...] |
H A D | compare-known-objects.js | 57 var obj2 = new O; 60 assertTrue(%HaveSameMap(obj1, obj2)); 61 test(obj1, obj2); 65 test(obj1, obj2);
|
H A D | function-bind.js | 184 var obj2 = new f(1,2,3); 185 assertEquals(1, obj2.x); 186 assertEquals(2, obj2.y); 187 assertEquals(3, obj2.z); 190 obj2 = new f(2,3); 191 assertEquals(1, obj2.x); 192 assertEquals(2, obj2.y); 193 assertEquals(3, obj2.z); 196 obj2 = new f(3); 197 assertEquals(1, obj2 [all...] |
H A D | object-freeze.js | 99 var obj2 = {}; 102 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 104 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 110 assertTrue(Object.isExtensible(obj2)); 111 assertFalse(Object.isFrozen(obj2)); 112 Object.freeze(obj2); 113 assertTrue(Object.isFrozen(obj2)); 114 assertFalse(Object.isExtensible(obj2)); 116 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 122 obj2 [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-2163.js | 37 var obj1, obj2; 39 // obj1 and obj2 share the getter accessor. 42 obj2 = {} 43 dp(obj2, "alpha", { get: getter }); 45 assertEquals(111, obj2.alpha); 47 assertEquals(111, obj2.alpha); 49 // obj1, obj2, and obj3 share the getter accessor. 52 obj2 = {} 53 dp(obj2, "alpha", { get: getter }); 60 // obj1 and obj2 shar [all...] |
H A D | regress-2374.js | 31 var obj2 = JSON.parse(msg); variable 33 assertEquals(JSON.stringify(obj), JSON.stringify(obj2)); 34 assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
|
H A D | regress-crbug-417508.js | 22 var obj2 = {}; 23 Object.defineProperty(obj2, "value", 26 try { bar(obj2); } catch(e) {} 27 try { bar(obj2); } catch(e) {} 29 try { bar(obj2); } catch(e) {}
|
H A D | regress-2291.js | 31 var obj2 = new Object(); class
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
H A D | XBooleanStatic.java | 52 * @param obj2 Object to compare to this 58 public boolean equals(XObject obj2) argument 62 return m_val == obj2.bool();
|
H A D | XObject.java | 531 * @param obj2 Object to compare this to 537 public boolean lessThan(XObject obj2) argument 546 if (obj2.getType() == XObject.CLASS_NODESET) 547 return obj2.greaterThan(this); 549 return this.num() < obj2.num(); 555 * @param obj2 Object to compare this to 561 public boolean lessThanOrEqual(XObject obj2) argument 570 if (obj2.getType() == XObject.CLASS_NODESET) 571 return obj2.greaterThanOrEqual(this); 573 return this.num() <= obj2 585 greaterThan(XObject obj2) argument 609 greaterThanOrEqual(XObject obj2) argument 633 equals(XObject obj2) argument 661 notEquals(XObject obj2) argument [all...] |
H A D | XBoolean.java | 143 * @param obj2 Object to compare to this 149 public boolean equals(XObject obj2) argument 155 if (obj2.getType() == XObject.CLASS_NODESET) 156 return obj2.equals(this); 160 return m_val == obj2.bool();
|
H A D | XNull.java | 122 * @param obj2 Object to compare this to 126 public boolean equals(XObject obj2) argument 128 return obj2.getType() == CLASS_NULL;
|
H A D | XRTreeFrag.java | 249 * @param obj2 Object to compare this to 255 public boolean equals(XObject obj2) argument 260 if (XObject.CLASS_NODESET == obj2.getType()) 266 return obj2.equals(this); 268 else if (XObject.CLASS_BOOLEAN == obj2.getType()) 270 return bool() == obj2.bool(); 272 else if (XObject.CLASS_NUMBER == obj2.getType()) 274 return num() == obj2.num(); 276 else if (XObject.CLASS_NODESET == obj2.getType()) 278 return xstr().equals(obj2 [all...] |
H A D | XString.java | 285 * @param obj2 Object to compare this to 291 public boolean equals(XObject obj2) argument 297 int t = obj2.getType(); 301 return obj2.equals(this); 306 return obj2.bool() == bool(); 310 return obj2.num() == num(); 319 return xstr().equals(obj2.xstr()); 328 * @param obj2 the object to compare this <code>String</code> against. 334 public boolean equals(String obj2) { argument 335 return str().equals(obj2); 351 equals(XMLString obj2) argument 376 equals(Object obj2) argument [all...] |
H A D | XStringForFSB.java | 281 * @param obj2 the object to compare this <code>String</code> 289 public boolean equals(XMLString obj2) argument 292 if (this == obj2) 299 if (n == obj2.length()) 307 if (fsb.charAt(i) != obj2.charAt(j)) 325 * @param obj2 Object to compare this to 331 public boolean equals(XObject obj2) argument 334 if (this == obj2) 338 if(obj2.getType() == XObject.CLASS_NUMBER) 339 return obj2 418 equals(Object obj2) argument [all...] |
/external/jdiff/src/jdiff/ |
H A D | CompareClassPdiffs.java | 16 public int compare(Object obj1, Object obj2){ argument 18 ClassDiff c2 = (ClassDiff)obj2;
|
H A D | ComparePkgPdiffs.java | 16 public int compare(Object obj1, Object obj2){ argument 18 PackageDiff p2 = (PackageDiff)obj2;
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
H A D | concurrent-invalidate-transition-map.js | 47 var obj2 = new_object(); 49 add_field(obj2);
|
H A D | proto-chain-constant.js | 35 var obj2 = c(obj3, { f2: { value: function() { return 2; }, writable: true }}); variable 36 var obj1 = c(obj2, { f1: { value: function() { return 1; }, writable: true }}); 54 obj2.f3 = function() { return 6; };
|
H A D | proto-chain-load.js | 34 var obj2 = Object.create(obj3, { f2: {value: 2} }); 35 var obj1 = Object.create(obj2, { f1: {value: 1} });
|
/external/apache-http/src/org/apache/http/util/ |
H A D | LangUtils.java | 68 public static boolean equals(final Object obj1, final Object obj2) { argument 69 return obj1 == null ? obj2 == null : obj1.equals(obj2);
|