Home
last modified time | relevance | path

Searched refs:obj3 (Results 1 – 25 of 31) sorted by relevance

12

/external/v8/test/mjsunit/
Dobject-define-property.js398 var obj3 = {x:1000}; variable
399 obj3.__defineGetter__("foo", get);
400 obj3.__defineSetter__("foo", set);
402 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
409 assertEquals(1, obj3.foo = 1);
410 assertEquals(1, obj3.x);
411 assertEquals(1, obj3.foo);
415 Object.defineProperty(obj3, "foo", accessorNoConfigurable);
416 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
423 assertEquals(1, obj3.foo = 1);
[all …]
Dfast-non-keyed.js107 var obj3 = {}; variable
108 AddProps3(obj3);
109 assertTrue(%HasFastProperties(obj3));
Daccessor-map-sharing.js38 var obj1, obj2, obj3, obj4; variable
182 obj3 = Object.create(obj2);
184 assertTrue(%HaveSameMap(obj3, obj4));
190 obj3 = Object.create(obj2);
192 assertTrue(%HaveSameMap(obj3, obj4));
Dobject-freeze.js150 var obj3 = { x: 42, y: 'foo' }; variable
152 assertFalse(Object.isFrozen(obj3));
154 Object.defineProperty(obj3, 'x', {configurable: false, writable: false});
155 Object.defineProperty(obj3, 'y', {configurable: false, writable: false});
156 Object.preventExtensions(obj3);
158 assertTrue(Object.isFrozen(obj3));
Dobject-seal.js160 var obj3 = { x: 42, y: 'foo' }; variable
162 assertFalse(Object.isFrozen(obj3));
164 Object.defineProperty(obj3, 'x', {configurable: false, writable: true});
165 Object.defineProperty(obj3, 'y', {configurable: false, writable: false});
166 Object.preventExtensions(obj3);
168 assertTrue(Object.isSealed(obj3));
Dfunction-bind.js232 var obj3 = new f(); variable
233 assertTrue(obj3 instanceof bar);
234 assertTrue(obj3 instanceof f);
235 assertFalse(obj3 instanceof foo);
236 assertFalse(obj3 instanceof Function);
237 assertFalse(obj3 instanceof String);
/external/v8/test/mjsunit/es6/
Dreflect-define-property.js372 var obj3 = {x:1000}; variable
373 obj3.__defineGetter__("foo", get);
374 obj3.__defineSetter__("foo", set);
376 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
383 assertEquals(1, obj3.foo = 1);
384 assertEquals(1, obj3.x);
385 assertEquals(1, obj3.foo);
389 assertTrue(Reflect.defineProperty(obj3, "foo", accessorNoConfigurable));
390 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
397 assertEquals(1, obj3.foo = 1);
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
DListOrganizerTest.java57 Object obj3 = new Object(); in testMoveToBottom() local
62 list.add(obj3); in testMoveToBottom()
65 assertEquals(obj3, list.getLast()); in testMoveToBottom()
69 organizer.moveToBottom(obj3); in testMoveToBottom()
72 assertEquals(obj3, list.getFirst()); in testMoveToBottom()
/external/fonttools/Lib/fontTools/misc/
DpsOperators.py416 obj3 = self.pop('arraytype', 'dicttype', 'stringtype', 'proceduretype')
417 tp = obj3.type
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:]
444 obj3 = self.pop('arraytype', 'stringtype')
445 tp = obj3.type
447 self.push(ps_array(obj3.value[obj2.value:obj2.value + obj1.value]))
449 self.push(ps_string(obj3.value[obj2.value:obj2.value + obj1.value]))
454 obj3 = self.pop('arraytype', 'stringtype')
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestTextureAtlas.java60 Spatial obj3 = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml"); in simpleInitApp() local
61 obj3.setLocalTranslation(-0, 0, 0); in simpleInitApp()
68 scene.attachChild(obj3); in simpleInitApp()
/external/v8/test/mjsunit/compiler/
Dproto-chain-load.js33 var obj3 = Object.create(obj4, { f3: {value: 3} });
34 var obj2 = Object.create(obj3, { f2: {value: 2} });
Dproto-chain-constant.js34 var obj3 = c(obj4, { f3: { value: function() { return 3; }, writable: true }}); variable
35 var obj2 = c(obj3, { f2: { value: function() { return 2; }, writable: true }});
/external/libchrome/base/
Did_map_unittest.cc69 TestObject obj3; in TEST() local
73 map.Add(&obj3); in TEST()
154 TestObject obj3; in TEST() local
158 map.Add(&obj3); in TEST()
182 TestObject obj3; in TEST() local
186 map.Add(&obj3); in TEST()
/external/v8/test/mjsunit/regress/
Dregress-2163.js56 obj3 = {}
57 dp(obj3, "alpha", { get: getter });
/external/v8/test/cctest/
Dtest-inobject-slack-tracking.cc213 Handle<JSObject> obj3 = CompileRun<JSObject>("new A(3);"); in TEST() local
225 CHECK_LT(5, obj3->map()->GetInObjectProperties()); in TEST()
226 CHECK_EQ(Smi::FromInt(42), GetFieldValue(*obj3, 0)); in TEST()
227 CHECK_EQ(4.2, GetDoubleFieldValue(*obj3, 1)); in TEST()
228 CHECK_EQ(*obj3, GetFieldValue(*obj3, 2)); in TEST()
230 CHECK(IsObjectShrinkable(*obj3)); in TEST()
242 CHECK(IsObjectShrinkable(*obj3)); in TEST()
248 CHECK_EQ(5, obj3->map()->GetInObjectProperties()); in TEST()
249 CHECK_EQ(2, obj3->map()->unused_property_fields()); in TEST()
256 obj3 = CompileRun<JSObject>("new A(3);"); in TEST()
[all …]
/external/clang/test/Analysis/inlining/
DRetainCountExamples.m119 DelegateTest *obj3 = [[DelegateTest alloc] init]; // no-warning
121 [DelegateTest updateObject: obj3
/external/v8/test/mjsunit/harmony/
Dobject-entries.js197 var obj3 = {};
199 var proxy3 = new Proxy(obj3, {
Dobject-values.js177 var obj3 = {};
179 var proxy3 = new Proxy(obj3, {
/external/llvm/unittests/ADT/
DImmutableSetTest.cpp169 MyIter obj3; in TEST_F() local
172 ASSERT_EQ(0, obj3.counter); in TEST_F()
DHashingTest.cpp100 NonPOD obj1(1, 2), obj2(3, 4), obj3(5, 6); in TEST() local
101 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)), in TEST()
102 hash_value(std::make_pair(obj1, std::make_pair(obj2, obj3)))); in TEST()
/external/llvm/test/Transforms/RewriteStatepointsForGC/deopt-bundles/
Drelocation.ll18 ; CHECK: %phi1 = phi i64 addrspace(1)* [ %obj.relocated.casted, %entry ], [ %obj3, %joint2 ]
19 %phi1 = phi i64 addrspace(1)* [ %obj, %entry ], [ %obj3, %joint2 ]
28 ; CHECK: %obj3 = getelementptr i64, i64 addrspace(1)* %obj2.relocated.casted, i32 1
30 %obj3 = getelementptr i64, i64 addrspace(1)* %obj2, i32 1
/external/clang/test/SemaObjCXX/
Darc-bridged-cast.mm22 id obj3 = (__bridge IdType)CFGetSomething();
/external/clang/test/SemaObjC/
Dillegal-nonarc-bridged-cast.m22 id obj3 = (__bridge id)CFGetSomething();
Darc-bridged-cast.m24 id obj3 = (__bridge id)CFGetSomething();
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Drelocation.ll17 ; CHECK: %phi1 = phi i64 addrspace(1)* [ %obj.relocated.casted, %entry ], [ %obj3, %joint2 ]
18 %phi1 = phi i64 addrspace(1)* [ %obj, %entry ], [ %obj3, %joint2 ]
27 ; CHECK: %obj3 = getelementptr i64, i64 addrspace(1)* %obj2.relocated.casted, i32 1
29 %obj3 = getelementptr i64, i64 addrspace(1)* %obj2, i32 1

12