HomeSort by relevance Sort by last modified time
    Searched defs:obj1 (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/v8/test/mjsunit/regress/
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");
regress-2163.js 37 var obj1, obj2; variable
39 // obj1 and obj2 share the getter accessor.
40 obj1 = {};
41 dp(obj1, "alpha", { get: getter, set: setter });
44 obj1 = {};
49 // obj1, obj2, and obj3 share the getter accessor.
50 obj1 = {};
51 dp(obj1, "alpha", { get: getter, set: setter });
54 obj1 = {};
60 // obj1 and obj2 share the getter and setter accessor
    [all...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-mips-elf/
pic-and-nonpic-4a.s 3 .global obj1
7 .type obj1,%object
11 .size obj1,8
16 obj1: label
  /external/v8/test/mjsunit/
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...]
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);
compare-objects.js 63 var obj1 = {toString: function() {return "1";}};
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...]
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]);
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
MultiArgAdapterEvaluationTest.java 34 MultiBindingClass1 obj1 = new MultiBindingClass1(); local
36 obj1.setValue("a", false);
38 mBinder.setObj1(obj1);
42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue()));
48 obj1.setValue("o", false);
54 // now invalidate obj1 only, obj2 should be evaluated as well
55 obj1.setValue("o2", true);
57 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString());
MultiArgAdapterTest.java 33 MultiBindingClass1 obj1 = new MultiBindingClass1(); local
37 obj1.setValue("a", false);
41 mBinder.setObj1(obj1);
47 assertEquals(mBinder.merged.getText().toString(), join(obj1, obj2));
53 obj1.setValue("o", false);
59 // now invalidate obj1 only, obj2 should be evaluated as well
60 obj1.notifyPropertyChanged(BR._all);
66 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString());
76 MultiBindingClass1 obj1 = new MultiBindingClass1(); local
80 obj1.setValue("a", false)
    [all...]
BasicDependantBindingTest.java 48 for (NotBindableVo obj1 : obj1s) {
51 testWith(obj1, obj2);
54 testWith(obj1, obj2);
59 private void testWith(NotBindableVo obj1, NotBindableVo obj2) {
60 mBinder.setObj1(obj1);
63 assertValues(safeGet(obj1), safeGet(obj2),
64 obj1 == null ? "" : obj1.mergeStringFields(obj2),
65 obj2 == null ? "" : obj2.mergeStringFields(obj1),
66 (obj1 == null ? null : obj1.getStringValue()
    [all...]
  /external/v8/test/js-perf-test/Object/
assign.js 19 var obj1; variable
26 obj1 = {};
28 src1 = { id: "6930530530", obj1: obj1, obj2: obj2 }; property in class:src1
37 object.obj1 === obj1 &&
45 obj1 = {};
48 src2 = { obj1: obj1 }; property in class:src2
58 object.obj1 === src2 &
70 src3 = { obj1: obj1, obj2: obj2 }; property in class:src3
    [all...]
  /external/v8/test/mjsunit/compiler/
proto-chain-constant.js 36 var obj1 = c(obj2, { f1: { value: function() { return 1; }, writable: true }}); variable
37 var obj0 = c(obj1, { f0: { value: function() { return 0; }, writable: true }});
  /external/v8/test/mjsunit/harmony/
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]);
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...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ObjectTest.java 24 Object obj1 = new Object(); field in class:ObjectTest
48 assertTrue("Same object should be equal", obj1.equals(obj1));
49 assertTrue("Different objects should not be equal", !obj1.equals(obj2));
80 obj1.hashCode() == obj1.hashCode());
94 synchronized (obj1) {
97 obj1.wait();// Wait for ever.
122 synchronized (obj1) {
128 obj1.wait(1000, 0)
    [all...]
  /art/runtime/
indirect_reference_table_test.cc 59 mirror::Object* obj1 = c->AllocObject(soa.Self()); local
60 ASSERT_TRUE(obj1 != nullptr);
77 IndirectRef iref1 = irt.Add(cookie, obj1);
85 EXPECT_EQ(obj1, irt.Get(iref1));
104 iref1 = irt.Add(cookie, obj1);
124 iref1 = irt.Add(cookie, obj1);
153 iref1 = irt.Add(cookie, obj1);
164 iref1 = irt.Add(cookie, obj1);
192 iref1 = irt.Add(cookie, obj1);
reference_table.cc 127 // we are guaranteed that the addresses of obj1, obj2, obj1->GetClass, obj2->GetClass wont
129 mirror::Object* obj1 = root1.Read<kWithoutReadBarrier>(); local
131 DCHECK(obj1 != nullptr);
134 DCHECK(!runtime->IsClearedJniWeakGlobal(obj1));
137 if (obj1->GetClass() != obj2->GetClass()) {
138 return obj1->GetClass() < obj2->GetClass();
141 const size_t size1 = obj1->SizeOf();
147 return obj1 < obj2;
  /external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
ListOrganizerTest.java 55 Object obj1 = new Object(); local
60 list.add(obj1);
64 assertEquals(obj1, list.getFirst());
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
YamlTest.java 46 Object obj1 = loaded.next(); local
47 assertEquals("a", obj1);
YamlStream.java 62 Object obj1 = niterator.next(); local
64 if (obj1 instanceof Map) {
66 Map<Object, Object> map1 = (Map<Object, Object>) obj1;
82 if (!obj1.equals(obj2)) {
83 throw new AssertionFailedError("Expected: " + obj1 + "; but was: " + obj2);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
NestedTypesDebuggee.java 51 Object obj1 = new Object() { local
53 logWriter.println("--> Debuggee: DUMP{" + obj1 + "}");
  /external/libchrome/base/
id_map_unittest.cc 30 TestObject obj1; local
33 int32_t id1 = map.Add(&obj1);
36 EXPECT_EQ(&obj1, map.Lookup(id1));
42 EXPECT_EQ(&obj1, map.Lookup(id1));
53 map.AddWithID(&obj1, 1);
55 EXPECT_EQ(&obj1, map.Lookup(1));
58 EXPECT_EQ(&obj2, map.Replace(2, &obj1));
59 EXPECT_EQ(&obj1, map.Lookup(2));
67 TestObject obj1; local
71 map.Add(&obj1);
152 TestObject obj1; local
180 TestObject obj1; local
362 TestObject obj1; local
    [all...]
  /external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/
extended_types.pass.cpp 29 A_int_0() : obj1(0){}
30 A_int_0(int x) : obj1(x) {}
33 int const obj1; member in struct:A_int_0
100 obj1_t obj1 = &T::obj1; local
169 assert(42 == ex::apply(obj1, t));
175 assert(42 == ex::apply(obj1, t));
181 assert(42 == ex::apply(obj1, t));
187 assert(42 == ex::apply(obj1, t));
  /art/test/088-monitor-verification/src/
Main.java 56 Object obj1 = 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) {
199 synchronized (obj1) {
200 synchronized(obj1) {
202 synchronized(obj1) {
206 localObj = obj1;
  /art/test/412-new-array/src/
Main.java 107 Object obj1 = new Object(); local
109 Object[] i = {obj1, obj2};
111 assertEquals(obj1, i[0]);

Completed in 3337 milliseconds

1 2 3 4 5