/external/v8/test/mjsunit/regress/ |
regress-2291.js | 31 var obj2 = new Object(); class
|
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));
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/ |
pic-and-nonpic-4a.s | 4 .global obj2 8 .type obj2,%object 12 .size obj2,4 18 obj2: label
|
/external/v8/test/mjsunit/ |
samevalue.js | 33 var obj2 = {x: 10, y: 11, z: "test"}; 71 assertFalse(sameValueBoth(obj1, obj2));
|
object-prevent-extensions.js | 49 var obj2 = {}; 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; 59 // obj2.y should still be undefined. 60 assertEquals(undefined, obj2.y) [all...] |
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.y = 2 [all...] |
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);
|
object-seal.js | 89 var obj2 = {}; 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...] |
object-literal.js | 41 var obj2 = { 47 assertEquals(7, obj2.a); 48 assertEquals(12, obj2.b.x); 49 assertEquals(24, obj2.b.y); 50 assertEquals('Zebra', obj2.c);
|
object-freeze.js | 86 var obj2 = {}; 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...] |
/external/v8/test/mjsunit/es6/ |
reflect-prevent-extensions.js | 50 var obj2 = {}; 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; 60 // obj2.y should still be undefined. 61 assertEquals(undefined, obj2.y) [all...] |
array-concat.js | 41 var obj2 = { length: 3, "0": "0", "1": "1", "2": "2" }; 45 "X", "Y", "Z"], Array.prototype.concat.call(obj, obj2, arr)); 58 var obj2 = { length: 3, "0": "0", "1": "1", "2": "2" }; 62 "X", "Y", "Z"], Array.prototype.concat.call(obj, obj2, arr)); 92 var obj2 = { length: 3, "0": "0", "1": "1", "2": "2" }; 95 Array.prototype.concat.call(obj, obj2, arr);
|
/external/v8/test/mjsunit/compiler/ |
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; };
|
/external/v8/test/js-perf-test/Object/ |
assign.js | 20 var obj2; variable 27 obj2 = {}; 28 src1 = { id: "6930530530", obj1: obj1, obj2: obj2 }; 38 object.obj2 === obj2; 46 obj2 = {}; 49 src3 = { obj2: obj2 }; 59 object.obj2 === src3 [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
MultiArgAdapterEvaluationTest.java | 35 MultiBindingClass2 obj2 = new MultiBindingClass2(); local 37 obj2.setValue("b", false); 39 mBinder.setObj2(obj2); 42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue())); 43 assertEquals(mBinder.view2.getText().toString(), join(obj2.getValue())); 44 assertEquals(mBinder.view2text.getText().toString(), obj2.getValue()); 51 obj2.setValue("p", false); 54 // now invalidate obj1 only, obj2 should be evaluated as well 57 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString()); 58 assertEquals("obj2 should not be re-evaluated", prev2, mBinder.view2.getText().toString()) [all...] |
MultiArgAdapterTest.java | 34 MultiBindingClass2 obj2 = new MultiBindingClass2(); local 38 obj2.setValue("b", false); 42 mBinder.setObj2(obj2); 47 assertEquals(mBinder.merged.getText().toString(), join(obj1, obj2)); 48 assertEquals(mBinder.view2.getText().toString(), join(obj2)); 56 obj2.setValue("p", false); 59 // now invalidate obj1 only, obj2 should be evaluated as well 66 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString()); 67 assertEquals("obj2 should not be re-evaluated", prev2, mBinder.view2.getText().toString()); 77 MultiBindingClass2 obj2 = new MultiBindingClass2() local [all...] |
/external/llvm/unittests/ADT/ |
ImmutableSetTest.cpp | 164 MyIter obj2; local 165 S2.foreach<MyIter>(obj2); 167 ASSERT_EQ(3, obj2.counter);
|
/art/runtime/ |
indirect_reference_table_test.cc | 61 mirror::Object* obj2 = c->AllocObject(soa.Self()); local 62 ASSERT_TRUE(obj2 != nullptr); 80 IndirectRef iref2 = irt.Add(cookie, obj2); 86 EXPECT_EQ(obj2, irt.Get(iref2)); 106 iref2 = irt.Add(cookie, obj2); 126 iref2 = irt.Add(cookie, obj2); 155 iref2 = irt.Add(cookie, obj2);
|
reference_table.cc | 127 // we are guaranteed that the addresses of obj1, obj2, obj1->GetClass, obj2->GetClass wont 130 mirror::Object* obj2 = root2.Read<kWithoutReadBarrier>(); local 132 DCHECK(obj2 != nullptr); 135 DCHECK(!runtime->IsClearedJniWeakGlobal(obj2)); 137 if (obj1->GetClass() != obj2->GetClass()) { 138 return obj1->GetClass() < obj2->GetClass(); 142 const size_t size2 = obj2->SizeOf(); 147 return obj1 < obj2;
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/ |
ListOrganizerTest.java | 56 Object obj2 = new Object();
local 61 list.add(obj2);
71 assertEquals(obj2, list.getLast());
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
PathTest.java | 43 Sprite obj2; field in class:PathTest 61 obj2 = new Sprite(new Texture(Gdx.files.internal("data/bobrgb888-32x32.png"))); 62 obj2.setSize(40, 40); 63 obj2.setOriginCenter(); 131 // obj2.setRotation(tmpV3.angle()); 141 obj2.setPosition(tmpV4.x, tmpV4.y); 157 obj2.draw(spriteBatch);
|
/external/libchrome/base/ |
id_map_unittest.cc | 31 TestObject obj2; local 38 int32_t id2 = map.Add(&obj2); 43 EXPECT_EQ(&obj2, map.Lookup(id2)); 54 map.AddWithID(&obj2, 2); 56 EXPECT_EQ(&obj2, map.Lookup(2)); 58 EXPECT_EQ(&obj2, map.Replace(2, &obj1)); 68 TestObject obj2; local 72 map.Add(&obj2); 153 TestObject obj2; local 157 map.Add(&obj2); 181 TestObject obj2; local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
YamlStream.java | 63 Object obj2 = piterator.next(); local 68 Map<Object, Object> map2 = (Map<Object, Object>) obj2; 82 if (!obj1.equals(obj2)) { 83 throw new AssertionFailedError("Expected: " + obj1 + "; but was: " + obj2);
|
/art/test/088-monitor-verification/src/ |
Main.java | 57 Object obj2 = new Object(); local 59 TwoPath.twoPath(obj1, obj2, 0); 62 m.triplet(obj1, obj2, 0); 196 public void triplet(Object obj1, Object obj2, int x) { 203 localObj = obj2;
|
/art/test/412-new-array/src/ |
Main.java | 108 Object obj2 = new Object(); local 109 Object[] i = {obj1, obj2}; 112 assertEquals(obj2, i[1]);
|