/external/v8/test/mjsunit/ |
D | object-prevent-extensions.js | 47 var obj2 = {}; variable 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; 58 assertEquals(undefined, obj2.y); 60 obj2.x = 43; [all …]
|
D | function-bind.js | 184 var obj2 = new f(1,2,3); variable 185 assertEquals(1, obj2.x); 186 assertEquals(2, obj2.y); 187 assertEquals(3, obj2.z); 190 obj2 = new f(2,3); variable 191 assertEquals(1, obj2.x); 192 assertEquals(2, obj2.y); 193 assertEquals(3, obj2.z); 196 obj2 = new f(3); variable 197 assertEquals(1, obj2.x); [all …]
|
D | object-seal.js | 101 var obj2 = {}; variable 104 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 106 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 112 assertTrue(Object.isExtensible(obj2)); 113 assertFalse(Object.isSealed(obj2)); 114 Object.seal(obj2); 118 assertTrue(Object.isFrozen(obj2)); 119 assertFalse(Object.isExtensible(obj2)); 120 assertTrue(Object.isSealed(obj2)); 122 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); [all …]
|
D | object-freeze.js | 98 var obj2 = {}; variable 101 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true }); 103 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 109 assertTrue(Object.isExtensible(obj2)); 110 assertFalse(Object.isFrozen(obj2)); 111 Object.freeze(obj2); 112 assertTrue(Object.isFrozen(obj2)); 113 assertFalse(Object.isExtensible(obj2)); 115 desc = Object.getOwnPropertyDescriptor(obj2, 'x'); 121 obj2.foo = 42; [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/ |
D | regress-96284-001.js | 42 var obj2 = {}; variable 49 obj2 = eval(obj1.toSource()); 50 actual = obj2.toSource(); 56 obj2 = eval(obj1.toSource()); 57 actual = obj2.toSource(); 63 obj2 = eval(obj1.toSource()); 64 actual = obj2.toSource(); 70 obj2 = eval(obj1.toSource()); 71 actual = obj2.toSource(); 77 obj2 = eval(obj1.toSource()); [all …]
|
D | regress-96284-002.js | 42 var obj2 = {}; variable 49 obj2 = eval(uneval(obj1)); 50 actual = obj2.toSource(); 56 obj2 = eval(uneval(obj1)); 57 actual = obj2.toSource(); 63 obj2 = eval(uneval(obj1)); 64 actual = obj2.toSource(); 70 obj2 = eval(uneval(obj1)); 71 actual = obj2.toSource(); 77 obj2 = eval(uneval(obj1)); [all …]
|
/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()
|
D | XNumber.java | 393 public boolean equals(XObject obj2) in equals() argument 399 int t = obj2.getType(); in equals() 403 return obj2.equals(this); in equals() 405 return obj2.bool() == bool(); in equals() 407 return m_val == obj2.num(); in equals()
|
/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/libxslt/libxslt/ |
D | functions.c | 227 xmlXPathObjectPtr obj, obj2 = NULL; in xsltDocumentFunction() local 253 obj2 = valuePop(ctxt); in xsltDocumentFunction() 269 valuePush(ctxt, xmlXPathObjectCopy(obj2)); in xsltDocumentFunction() 284 if (obj2 != NULL) in xsltDocumentFunction() 285 xmlXPathFreeObject(obj2); in xsltDocumentFunction() 297 if (obj2 != NULL) in xsltDocumentFunction() 298 xmlXPathFreeObject(obj2); in xsltDocumentFunction() 305 if ((obj2 != NULL) && (obj2->nodesetval != NULL) && in xsltDocumentFunction() 306 (obj2->nodesetval->nodeNr > 0) && in xsltDocumentFunction() 307 IS_XSLT_REAL_NODE(obj2->nodesetval->nodeTab[0])) { in xsltDocumentFunction() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/GetSet/ |
D | getset-003.js | 39 var obj2 = {}; variable 139 obj2 = new TestObject(); variable 141 actual = [obj2.nameSETS,obj2.nameGETS]; 146 obj2.name = obj.name + obj2.name; 148 actual = [obj2.nameSETS,obj2.nameGETS];
|
D | getset-004.js | 39 var obj2 = {}; variable 139 obj2 = new TestObject(); variable 141 actual = [obj2.nameSETS,obj2.nameGETS]; 146 obj2.name = obj.name + obj2.name; 148 actual = [obj2.nameSETS,obj2.nameGETS];
|
D | getset-005.js | 43 var obj2 = {}; variable 148 obj2 = new TestObject(); variable 150 actual = [obj2.nameSETS,obj2.nameGETS]; 155 obj2.name = obj.name + obj2.name; 157 actual = [obj2.nameSETS,obj2.nameGETS];
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
D | 15.10.4.1-1.js | 56 var obj1 = {}; var obj2 = {}; variable 87 obj2 = new RegExp(obj1); 89 for (prop in obj2) 92 actual = obj2[prop];
|
D | 15.10.4.1-2.js | 62 var obj1 = {}; var obj2 = {}; variable 93 obj2 = new RegExp(obj1, undefined); // see introduction to bug 95 for (prop in obj2) 98 actual = obj2[prop];
|
D | 15.10.4.1-3.js | 57 var obj1 = {}; var obj2 = {}; variable 99 obj2 = new RegExp(obj1); 101 for (prop in obj2) 104 actual = obj2[prop];
|
D | 15.10.4.1-4.js | 63 var obj1 = {}; var obj2 = {}; variable 105 obj2 = new RegExp(obj1, undefined); // see introduction to bug 107 for (prop in obj2) 110 actual = obj2[prop];
|
/external/llvm/test/CodeGen/X86/ |
D | rd-mod-wr-eflags.ll | 69 %struct.obj2 = type { i64, i32, i16, i8 } 71 declare void @other(%struct.obj2* ) nounwind; 74 define void @example_dec(%struct.obj2* %o) nounwind uwtable ssp { 77 %s64 = getelementptr inbounds %struct.obj2* %o, i64 0, i32 0 88 %s32 = getelementptr inbounds %struct.obj2* %o, i64 0, i32 1 99 %s16 = getelementptr inbounds %struct.obj2* %o, i64 0, i32 2 110 %s8 = getelementptr inbounds %struct.obj2* %o, i64 0, i32 3 120 tail call void @other(%struct.obj2* %o) nounwind 128 define void @example_inc(%struct.obj2* %o) nounwind uwtable ssp { 131 %s64 = getelementptr inbounds %struct.obj2* %o, i64 0, i32 0 [all …]
|
/external/chromium/base/ |
D | id_map_unittest.cc | 31 TestObject obj2; in TEST_F() local 38 int32 id2 = map.Add(&obj2); in TEST_F() 43 EXPECT_EQ(&obj2, map.Lookup(id2)); in TEST_F() 54 map.AddWithID(&obj2, 2); in TEST_F() 56 EXPECT_EQ(&obj2, map.Lookup(2)); in TEST_F() 63 TestObject obj2; in TEST_F() local 67 map.Add(&obj2); in TEST_F()
|
/external/v8/test/mjsunit/regress/ |
D | regress-687.js | 67 var obj2 = { get p() {}}; variable 68 Object.defineProperty(obj2, 'p', {get: undefined}) 69 assertTrue("p" in obj2); 70 desc = Object.getOwnPropertyDescriptor(obj2, "p");
|