/external/v8/test/mjsunit/ |
D | accessor-map-sharing.js | 38 var obj1, obj2, obj3, obj4; variable 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, "charlie", { set: setter }); [all …]
|
D | object-prevent-extensions.js | 49 var obj2 = {}; variable 50 assertTrue(Object.isExtensible(obj2)); 51 obj2.x = 42; 52 assertEquals(42, obj2.x); 53 assertTrue(Object.isExtensible(obj2)); 55 Object.preventExtensions(obj2); 56 assertEquals(42, obj2.x); 58 obj2.y = 42; 60 assertEquals(undefined, obj2.y); 62 obj2.x = 43; [all …]
|
D | compare-objects.js | 64 var obj2 = {toString: function() {return "2";}}; variable 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.y = 2; [all …]
|
D | object-seal.js | 89 var obj2 = {}; variable 92 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 94 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 100 assertTrue(Object.isExtensible(obj2)); 101 assertFalse(Object.isSealed(obj2)); 102 Object.seal(obj2); 106 assertTrue(Object.isFrozen(obj2)); 107 assertFalse(Object.isExtensible(obj2)); 108 assertTrue(Object.isSealed(obj2)); 110 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); [all …]
|
D | object-freeze.js | 86 var obj2 = {}; variable 89 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 91 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 97 assertTrue(Object.isExtensible(obj2)); 98 assertFalse(Object.isFrozen(obj2)); 99 Object.freeze(obj2); 100 assertTrue(Object.isFrozen(obj2)); 101 assertFalse(Object.isExtensible(obj2)); 103 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 109 obj2.foo = 42; [all …]
|
D | function-bind.js | 193 var obj2 = new f(1,2,3); variable 194 assertEquals(1, obj2.x); 195 assertEquals(2, obj2.y); 196 assertEquals(3, obj2.z); 199 obj2 = new f(2,3); variable 200 assertEquals(1, obj2.x); 201 assertEquals(2, obj2.y); 202 assertEquals(3, obj2.z); 205 obj2 = new f(3); variable 206 assertEquals(1, obj2.x); [all …]
|
D | compare-known-objects-slow.js | 87 var obj2 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable 90 assertTrue(%HaveSameMap(obj1, obj2)); 91 test(obj1, obj2); 95 assertTrue(%HaveSameMap(obj1, obj2)); 96 test(obj1, obj2); 99 obj2.y = 2; 100 assertTrue(%HaveSameMap(obj1, obj2)); 101 test(obj1, obj2);
|
D | compare-known-objects-tostringtag.js | 48 var obj2 = new O; variable 50 assertTrue(%HaveSameMap(obj1, obj2)); 51 test(obj1, obj2); 52 test(obj1, obj2); 57 test(obj1, obj2);
|
/external/v8/test/mjsunit/es6/ |
D | reflect-prevent-extensions.js | 50 var obj2 = {}; variable 51 assertTrue(Object.isExtensible(obj2)); 52 obj2.x = 42; 53 assertEquals(42, obj2.x); 54 assertTrue(Object.isExtensible(obj2)); 56 assertTrue(Reflect.preventExtensions(obj2)); 57 assertEquals(42, obj2.x); 59 obj2.y = 42; 61 assertEquals(undefined, obj2.y); 63 obj2.x = 43; [all …]
|
/external/v8/test/js-perf-test/Object/ |
D | assign.js | 20 var obj2; variable 27 obj2 = {}; 28 src1 = { id: "6930530530", obj1: obj1, obj2: obj2 }; property 38 object.obj2 === obj2; 46 obj2 = {}; 49 src3 = { obj2: obj2 }; property 59 object.obj2 === src3; 67 obj2 = {}; 70 src3 = { obj1: obj1, obj2: obj2 }; property 80 object.obj2 === src3;
|
/external/v8/test/mjsunit/regress/ |
D | regress-2163.js | 37 var obj1, obj2; variable 42 obj2 = {} 43 dp(obj2, "alpha", { get: getter }); 45 assertEquals(111, obj2.alpha); 47 assertEquals(111, obj2.alpha); 52 obj2 = {} 53 dp(obj2, "alpha", { get: getter }); 64 obj2 = {} 65 dp(obj2, "alpha", { get: getter, set: setter }); 67 assertEquals(111, obj2.alpha); [all …]
|
D | regress-crbug-417508.js | 22 var obj2 = {}; variable 23 Object.defineProperty(obj2, "value", 26 try { bar(obj2); } catch(e) {} 27 try { bar(obj2); } catch(e) {} 29 try { bar(obj2); } catch(e) {}
|
D | regress-4534.js | 14 obj2 = {}; 15 dp(obj2, "golf", { get: getter, configurable: true }); 16 dp(obj2, "golf", { set: setter, configurable: true }); 17 assertTrue(%HaveSameMap(obj1, obj2));
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XObject.java | 537 public boolean lessThan(XObject obj2) in lessThan() argument 546 if (obj2.getType() == XObject.CLASS_NODESET) in lessThan() 547 return obj2.greaterThan(this); in lessThan() 549 return this.num() < obj2.num(); in lessThan() 561 public boolean lessThanOrEqual(XObject obj2) in lessThanOrEqual() argument 570 if (obj2.getType() == XObject.CLASS_NODESET) in lessThanOrEqual() 571 return obj2.greaterThanOrEqual(this); in lessThanOrEqual() 573 return this.num() <= obj2.num(); in lessThanOrEqual() 585 public boolean greaterThan(XObject obj2) in greaterThan() argument 594 if (obj2.getType() == XObject.CLASS_NODESET) in greaterThan() [all …]
|
D | XRTreeFrag.java | 255 public boolean equals(XObject obj2) in equals() argument 260 if (XObject.CLASS_NODESET == obj2.getType()) in equals() 266 return obj2.equals(this); in equals() 268 else if (XObject.CLASS_BOOLEAN == obj2.getType()) in equals() 270 return bool() == obj2.bool(); in equals() 272 else if (XObject.CLASS_NUMBER == obj2.getType()) in equals() 274 return num() == obj2.num(); in equals() 276 else if (XObject.CLASS_NODESET == obj2.getType()) in equals() 278 return xstr().equals(obj2.xstr()); in equals() 280 else if (XObject.CLASS_STRING == obj2.getType()) in equals() [all …]
|
D | XString.java | 291 public boolean equals(XObject obj2) in equals() argument 297 int t = obj2.getType(); in equals() 301 return obj2.equals(this); in equals() 306 return obj2.bool() == bool(); in equals() 310 return obj2.num() == num(); in equals() 319 return xstr().equals(obj2.xstr()); in equals() 334 public boolean equals(String obj2) { in equals() argument 335 return str().equals(obj2); in equals() 351 public boolean equals(XMLString obj2) in equals() argument 353 if (obj2 != null) { in equals() [all …]
|
D | XNodeSet.java | 472 public boolean compare(XObject obj2, Comparator comparator) in compare() argument 477 int type = obj2.getType(); in compare() 495 DTMIterator list2 = ((XNodeSet) obj2).iterRaw(); in compare() 552 double num2 = obj2.num(); in compare() 567 double num2 = obj2.num(); in compare() 585 XMLString s2 = obj2.xstr(); in compare() 611 XMLString s2 = obj2.xstr(); in compare() 629 result = comparator.compareNumbers(this.num(), obj2.num()); in compare() 644 public boolean lessThan(XObject obj2) throws javax.xml.transform.TransformerException in lessThan() argument 646 return compare(obj2, S_LT); in lessThan() [all …]
|
D | XStringForFSB.java | 289 public boolean equals(XMLString obj2) in equals() argument 292 if (this == obj2) in equals() 299 if (n == obj2.length()) in equals() 307 if (fsb.charAt(i) != obj2.charAt(j)) in equals() 331 public boolean equals(XObject obj2) in equals() argument 334 if (this == obj2) in equals() 338 if(obj2.getType() == XObject.CLASS_NUMBER) in equals() 339 return obj2.equals(this); in equals() 341 String str = obj2.str(); in equals() 418 public boolean equals(Object obj2) in equals() argument [all …]
|
D | XBoolean.java | 149 public boolean equals(XObject obj2) in equals() argument 155 if (obj2.getType() == XObject.CLASS_NODESET) in equals() 156 return obj2.equals(this); in equals() 160 return m_val == obj2.bool(); in equals()
|
/external/v8/test/webkit/ |
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/clang/test/Rewriter/ |
D | properties.m | 44 Foo *obj1, *obj2; 46 if (obj1.i == obj2.rrrr) 48 obj1.i = func(obj2.rrrr); 49 obj1.i = obj2.rrrr; 50 obj1.i = (obj2.rrrr); 51 [obj1 setI:[obj2 rrrr]]; 52 obj1.i = [obj2 rrrr]; 53 obj1.i = 3 + [obj2 rrrr];
|
/external/llvm/test/CodeGen/X86/ |
D | rd-mod-wr-eflags.ll | 64 %struct.obj2 = type { i64, i32, i16, i8 } 66 declare void @other(%struct.obj2* ) nounwind; 69 define void @example_dec(%struct.obj2* %o) nounwind uwtable ssp { 72 %s64 = getelementptr inbounds %struct.obj2, %struct.obj2* %o, i64 0, i32 0 83 %s32 = getelementptr inbounds %struct.obj2, %struct.obj2* %o, i64 0, i32 1 94 %s16 = getelementptr inbounds %struct.obj2, %struct.obj2* %o, i64 0, i32 2 105 %s8 = getelementptr inbounds %struct.obj2, %struct.obj2* %o, i64 0, i32 3 115 tail call void @other(%struct.obj2* %o) nounwind 123 define void @example_inc(%struct.obj2* %o) nounwind uwtable ssp { 126 %s64 = getelementptr inbounds %struct.obj2, %struct.obj2* %o, i64 0, i32 0 [all …]
|
/external/clang/test/Analysis/ |
D | retain-release-cf-audited.m | 21 CFTypeRef obj2 = CFCreateSomethingAudited(); // expected-warning{{leak}} 22 CFRetain(obj2); // no-warning 23 CFRelease(obj2); // no-warning 30 CFTypeRef obj2 = CFCreateSomethingUnaudited(); // expected-warning{{leak}} 31 CFRetain(obj2); // no-warning 32 CFRelease(obj2); // no-warning
|
/external/fonttools/Lib/fontTools/misc/ |
D | psOperators.py | 238 obj2 = self.pop() 240 self.push(obj2) 415 obj2 = self.pop() 419 obj3.value[obj2.value] = obj1 421 obj3.value[obj2.value] = obj1 423 index = obj2.value 430 obj2 = self.pop('arraytype', 'dicttype', 'stringtype', 'proceduretype', 'fonttype') 431 tp = obj2.type 433 self.push(obj2.value[obj1.value]) 435 self.push(obj2.value[obj1.value]) [all …]
|
/external/libchrome/base/ |
D | id_map_unittest.cc | 31 TestObject obj2; in TEST() local 38 int32_t id2 = map.Add(&obj2); in TEST() 43 EXPECT_EQ(&obj2, map.Lookup(id2)); in TEST() 54 map.AddWithID(&obj2, 2); in TEST() 56 EXPECT_EQ(&obj2, map.Lookup(2)); in TEST() 58 EXPECT_EQ(&obj2, map.Replace(2, &obj1)); in TEST() 68 TestObject obj2; in TEST() local 72 map.Add(&obj2); in TEST() 153 TestObject obj2; in TEST() local 157 map.Add(&obj2); in TEST() [all …]
|