/external/v8/test/mjsunit/ |
D | accessor-map-sharing.js | 38 var obj1, obj2, obj3, obj4; variable 41 obj1 = {}; 42 dp(obj1, "alpha", { get: getter }); 45 assertTrue(%HaveSameMap(obj1, obj2)); 48 obj1 = {}; 49 obj1.__defineGetter__("bravo", getter); 50 assertEquals(getter, obj1.__lookupGetter__("bravo")); 54 assertTrue(%HaveSameMap(obj1, obj2)); 57 obj1 = {}; 58 dp(obj1, "charlie", { set: setter }); [all …]
|
D | compare-objects.js | 63 var obj1 = {toString: function() {return "1";}}; 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); 76 obj1.x = 1; 77 test(obj1, obj2, less, greater); [all …]
|
D | samevalue.js | 32 var obj1 = {x: 10, y: 11, z: "test"}; variable 64 assertTrue(sameValueBoth(obj1, obj1)); 71 assertFalse(sameValueBoth(obj1, obj2)); 74 assertFalse(sameValueBoth(obj1, true)); 75 assertFalse(sameValueBoth(obj1, "foo")); 76 assertFalse(sameValueBoth(obj1, 1)); 77 assertFalse(sameValueBoth(obj1, undefined)); 78 assertFalse(sameValueBoth(obj1, NaN)); 83 assertFalse(sameValueBoth(undefined, obj1)); 89 assertFalse(sameValueBoth(NaN, obj1)); [all …]
|
D | object-define-property.js | 63 var obj1 = {}; variable 116 Object.defineProperty(obj1, "foo", undefined); 124 Object.defineProperty(obj1, "foo", emptyDesc); 127 assertEquals(undefined, obj1.foo); 131 var desc = Object.getOwnPropertyDescriptor(obj1, "foo"); 142 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 147 Object.defineProperty(obj1, "foo", accessorConfigurable); 155 Object.defineProperty(obj1, "bar", accessorConfigurable); 156 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 163 assertEquals(1, obj1.bar = 1); [all …]
|
D | compare-known-objects-slow.js | 86 var obj1 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable 90 assertTrue(%HaveSameMap(obj1, obj2)); 91 test(obj1, obj2); 94 obj1.x = 1; 95 assertTrue(%HaveSameMap(obj1, obj2)); 96 test(obj1, obj2); 100 assertTrue(%HaveSameMap(obj1, obj2)); 101 test(obj1, obj2);
|
D | object-prevent-extensions.js | 33 var obj1 = {}; variable 35 assertTrue(Object.isExtensible(obj1)); 36 Object.preventExtensions(obj1); 39 assertFalse(Object.isExtensible(obj1)); 40 obj1.x = 42; 41 assertEquals(undefined, obj1.x); 44 obj1[1] = 42; 45 assertEquals(undefined, obj1[1]);
|
D | compare-known-objects-tostringtag.js | 47 var obj1 = new O; variable 50 assertTrue(%HaveSameMap(obj1, obj2)); 51 test(obj1, obj2); 52 test(obj1, obj2); 57 test(obj1, obj2);
|
D | compare-known-objects.js | 88 var obj1 = new O; variable 92 assertTrue(%HaveSameMap(obj1, obj2)); 93 test(obj1, obj2); 96 obj1.x = 1; 97 test(obj1, obj2);
|
/external/v8/test/js-perf-test/Object/ |
D | assign.js | 19 var obj1; variable 26 obj1 = {}; 28 src1 = { id: "6930530530", obj1: obj1, obj2: obj2 }; property 37 object.obj1 === obj1 && 45 obj1 = {}; 48 src2 = { obj1: obj1 }; property 58 object.obj1 === src2 && 66 obj1 = {}; 70 src3 = { obj1: obj1, obj2: obj2 }; property 79 object.obj1 === src2 &&
|
/external/v8/test/mjsunit/regress/ |
D | regress-2163.js | 37 var obj1, obj2; variable 40 obj1 = {}; 41 dp(obj1, "alpha", { get: getter, set: setter }); 44 obj1 = {}; 50 obj1 = {}; 51 dp(obj1, "alpha", { get: getter, set: setter }); 54 obj1 = {}; 61 obj1 = {}; 62 dp(obj1, "alpha", { get: getter, set: setter }); 63 obj1.beta = 10; [all …]
|
D | regress-4534.js | 10 obj1 = {}; 11 dp(obj1, "golf", { get: getter, configurable: true }); 12 dp(obj1, "golf", { set: setter, configurable: true }); 17 assertTrue(%HaveSameMap(obj1, obj2));
|
D | regress-687.js | 56 var obj1 = {}; variable 57 Object.defineProperty(obj1, 'p', {get: undefined, set: undefined}); 58 assertTrue("p" in obj1); 59 desc = Object.getOwnPropertyDescriptor(obj1, "p");
|
/external/v8/test/mjsunit/harmony/ |
D | reflect-define-property.js | 65 var obj1 = {}; variable 117 assertThrows(function() { Reflect.defineProperty(obj1, "foo", undefined) }, 122 assertTrue(Reflect.defineProperty(obj1, "foo", emptyDesc)); 125 assertEquals(undefined, obj1.foo); 129 var desc = Object.getOwnPropertyDescriptor(obj1, "foo"); 140 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 144 assertFalse(Reflect.defineProperty(obj1, "foo", accessorConfigurable)); 149 assertTrue(Reflect.defineProperty(obj1, "bar", accessorConfigurable)); 150 desc = Object.getOwnPropertyDescriptor(obj1, "bar"); 157 assertEquals(1, obj1.bar = 1); [all …]
|
D | reflect-prevent-extensions.js | 34 var obj1 = {}; variable 36 assertTrue(Object.isExtensible(obj1)); 37 assertTrue(Reflect.preventExtensions(obj1)); 40 assertFalse(Object.isExtensible(obj1)); 41 obj1.x = 42; 42 assertEquals(undefined, obj1.x); 45 obj1[1] = 42; 46 assertEquals(undefined, obj1[1]);
|
/external/clang/test/Rewriter/ |
D | properties.m | 44 Foo *obj1, *obj2; 46 if (obj1.i == obj2.rrrr) 47 obj1.i = 33; 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]; 54 i = obj1.o.i; [all …]
|
D | objc-modern-implicit-cast.mm | 22 id obj1 = block; 24 void(^block1)(void) = obj1; 28 return_id(obj1); 32 return_block(obj1);
|
/external/skia/tests/ |
D | UtilsTest.cpp | 51 RefClass obj1(1); in test_autostarray() local 53 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 63 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 65 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray() 71 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 76 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 81 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() 89 tmp[1].reset(SkRef(&obj1)); in test_autostarray() 91 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray() 96 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray() [all …]
|
/external/libchrome/base/ |
D | id_map_unittest.cc | 30 TestObject obj1; in TEST() local 33 int32_t id1 = map.Add(&obj1); in TEST() 36 EXPECT_EQ(&obj1, map.Lookup(id1)); in TEST() 42 EXPECT_EQ(&obj1, map.Lookup(id1)); in TEST() 53 map.AddWithID(&obj1, 1); in TEST() 55 EXPECT_EQ(&obj1, map.Lookup(1)); in TEST() 58 EXPECT_EQ(&obj2, map.Replace(2, &obj1)); in TEST() 59 EXPECT_EQ(&obj1, map.Lookup(2)); in TEST() 67 TestObject obj1; in TEST() local 71 map.Add(&obj1); in TEST() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/ |
D | TestDictionary.m | 32 NSString *obj1 = @"obj101"; 35 [testDict setObject:obj1 forKey:key1]; 36 NSString *expected = obj1; 45 NSString *obj1 = @"obj101"; 50 [testDict setObject:obj1 forKey:key1]; 52 NSString *expected = obj1; 61 NSString *obj1 = @"obj101"; 64 [testDict setObject:obj1 forKey:key1]; 85 NSString *obj1 = @"obj101"; 88 [testDict setObject:obj1 forKey:key1]; [all …]
|
/external/libgdx/extensions/gdx-bullet/jni/swig/collision/ |
D | btBroadphasePairArray.i | 45 int obj0, obj1; in getCollisionObjects() local 56 *(const btCollisionObject **)&obj1 = manifold->getBody1(); in getCollisionObjects() 58 result[count++] = obj1; in getCollisionObjects() 59 else if (obj1 == other) in getCollisionObjects() 75 int obj0, obj1; in getCollisionObjectsValue() local 86 *(const btCollisionObject **)&obj1 = manifold->getBody1(); in getCollisionObjectsValue() 89 else if (obj1 == other) in getCollisionObjectsValue()
|
/external/fonttools/Lib/fontTools/misc/ |
D | psOperators.py | 237 obj1 = self.pop() 239 self.push(obj1) 414 obj1 = self.pop() 419 obj3.value[obj2.value] = obj1 421 obj3.value[obj2.value] = obj1 424 obj3.value = obj3.value[:index] + chr(obj1.value) + obj3.value[index+1:] 427 obj1 = self.pop() 428 if obj1.value == "Encoding": 433 self.push(obj2.value[obj1.value]) 435 self.push(obj2.value[obj1.value]) [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
D | YamlStream.java | 62 Object obj1 = niterator.next(); in YamlStream() local 64 if (obj1 instanceof Map) { in YamlStream() 66 Map<Object, Object> map1 = (Map<Object, Object>) obj1; in YamlStream() 82 if (!obj1.equals(obj2)) { in YamlStream() 83 throw new AssertionFailedError("Expected: " + obj1 + "; but was: " + obj2); in YamlStream()
|
/external/autotest/frontend/ |
D | db_router.py | 95 def allow_relation(self, obj1, obj2, **hints): argument 106 if (not self._should_be_in_server_db(type(obj1)) == 109 if (not self._should_be_in_global(type(obj1)) ==
|
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/ |
D | ContactCache.cpp | 40 …inline bool equals(const btCollisionObject* const &obj0, const btCollisionObject* const &obj1) con… in equals() 41 return ((obj0 == object0) && (obj1 == object1)) || ((obj0 == object1) && (obj1 == object0)); in equals() 96 …ContactCache::indexOf(const btCollisionObject* const &obj0, const btCollisionObject* const &obj1) { in indexOf() argument 99 if (pair.equals(obj0, obj1)) in indexOf()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pmaps.c | 120 ASN1_OBJECT *obj1, *obj2; in v2i_POLICY_MAPPINGS() local 137 obj1 = OBJ_txt2obj(val->name, 0); in v2i_POLICY_MAPPINGS() 139 if(!obj1 || !obj2) { in v2i_POLICY_MAPPINGS() 151 pmap->issuerDomainPolicy = obj1; in v2i_POLICY_MAPPINGS()
|