HomeSort by relevance Sort by last modified time
    Searched full:obj2 (Results 1 - 25 of 178) sorted by null

1 2 3 4 5 6 7 8

  /external/chromium_org/v8/test/mjsunit/
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...]
accessor-map-sharing.js 38 var obj1, obj2, obj3, obj4;
43 obj2 = {};
44 dp(obj2, "alpha", { get: getter });
45 assertTrue(%HaveSameMap(obj1, obj2));
51 obj2 = {};
52 obj2.__defineGetter__("bravo", getter);
53 assertEquals(getter, obj2.__lookupGetter__("bravo"));
54 assertTrue(%HaveSameMap(obj1, obj2));
59 obj2 = {};
60 dp(obj2, "charlie", { set: setter })
    [all...]
object-prevent-extensions.js 47 var obj2 = {};
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;
57 // obj2.y should still be undefined.
58 assertEquals(undefined, obj2.y)
    [all...]
compare-known-objects-slow.js 55 var obj2 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable
58 assertTrue(%HaveSameMap(obj1, obj2));
59 test(obj1, obj2);
63 assertTrue(%HaveSameMap(obj1, obj2));
64 test(obj1, obj2);
67 obj2.y = 2;
68 assertTrue(%HaveSameMap(obj1, obj2));
69 test(obj1, obj2);
function-bind.js 184 var obj2 = new f(1,2,3);
185 assertEquals(1, obj2.x);
186 assertEquals(2, obj2.y);
187 assertEquals(3, obj2.z);
190 obj2 = new f(2,3);
191 assertEquals(1, obj2.x);
192 assertEquals(2, obj2.y);
193 assertEquals(3, obj2.z);
196 obj2 = new f(3);
197 assertEquals(1, obj2.x)
    [all...]
object-freeze.js 99 var obj2 = {};
102 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true });
104 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
110 assertTrue(Object.isExtensible(obj2));
111 assertFalse(Object.isFrozen(obj2));
112 Object.freeze(obj2);
113 assertTrue(Object.isFrozen(obj2));
114 assertFalse(Object.isExtensible(obj2));
116 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
122 obj2.foo = 42
    [all...]
  /external/v8/test/mjsunit/
object-prevent-extensions.js 47 var obj2 = {};
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;
57 // obj2.y should still be undefined.
58 assertEquals(undefined, obj2.y)
    [all...]
function-bind.js 184 var obj2 = new f(1,2,3);
185 assertEquals(1, obj2.x);
186 assertEquals(2, obj2.y);
187 assertEquals(3, obj2.z);
190 obj2 = new f(2,3);
191 assertEquals(1, obj2.x);
192 assertEquals(2, obj2.y);
193 assertEquals(3, obj2.z);
196 obj2 = new f(3);
197 assertEquals(1, obj2.x)
    [all...]
object-seal.js 101 var obj2 = {};
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...]
object-freeze.js 98 var obj2 = {};
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/chromium_org/v8/test/mjsunit/regress/
regress-2163.js 37 var obj1, obj2;
39 // obj1 and obj2 share the getter accessor.
42 obj2 = {}
43 dp(obj2, "alpha", { get: getter });
45 assertEquals(111, obj2.alpha);
47 assertEquals(111, obj2.alpha);
49 // obj1, obj2, and obj3 share the getter accessor.
52 obj2 = {}
53 dp(obj2, "alpha", { get: getter });
60 // obj1 and obj2 share the getter and setter accessor
    [all...]
  /external/clang/test/Rewriter/
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/clang/test/Analysis/
retain-release-cf-audited.m 21 CFTypeRef obj2 = CFCreateSomethingAudited(); // expected-warning{{leak}}
22 CFRetain(obj2); // no-warning
23 CFRelease(obj2); // no-warning
30 CFTypeRef obj2 = CFCreateSomethingUnaudited(); // expected-warning{{leak}}
31 CFRetain(obj2); // no-warning
32 CFRelease(obj2); // no-warning
  /external/clang/test/SemaObjCXX/
delay-parsing-cplusfuncs.mm 18 MyClass * Obj1, *Obj2;
39 S::S(MyClass *O1, MyClass *O2) : Obj1(O1), Obj2(O2) {
43 S::S(MyClass *O1) : Obj1(O1){ Obj2 = 0; }
  /art/runtime/
jobject_comparator.cc 35 mirror::Object* obj2 = soa.Decode<mirror::Object*>(jobj2); local
38 } else if (obj2 == NULL) {
42 if (obj1->GetClass() != obj2->GetClass()) {
43 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode();
47 size_t count2 = obj2->SizeOf();
52 return obj1->IdentityHashCode() < obj2->IdentityHashCode();
  /external/chromium_org/v8/test/webkit/
codegen-assign-nontemporary-as-rexp.js 36 var obj2 = {};
37 obj2.forward = (obj['slot'] = victim);
38 return obj2.forward;
51 var obj2 = {};
52 obj2.forward = (obj.slot = victim);
53 return obj2.forward;
  /external/jdiff/src/jdiff/
CompareClassPdiffs.java 16 public int compare(Object obj1, Object obj2){
18 ClassDiff c2 = (ClassDiff)obj2;
ComparePkgPdiffs.java 16 public int compare(Object obj1, Object obj2){
18 PackageDiff p2 = (PackageDiff)obj2;
  /external/clang/test/SemaObjC/
block-as-object.m 8 typedef long (^MyBlock)(id obj1, id obj2);
  /art/test/088-monitor-verification/src/
Main.java 51 Object obj2 = new Object(); local
53 m.twoPath(obj1, obj2, 0);
56 m.triplet(obj1, obj2, 0);
182 public void twoPath(Object obj1, Object obj2, int x) {
186 synchronized(obj2) {
188 localObj = obj2;
202 public void triplet(Object obj1, Object obj2, int x) {
209 localObj = obj2;
  /dalvik/tests/088-monitor-verification/src/
Main.java 53 Object obj2 = new Object(); local
55 m.twoPath(obj1, obj2, 0);
58 m.triplet(obj1, obj2, 0);
184 public void twoPath(Object obj1, Object obj2, int x) {
188 synchronized(obj2) {
190 localObj = obj2;
204 public void triplet(Object obj1, Object obj2, int x) {
211 localObj = obj2;
  /external/clang/test/CodeGenObjCXX/
arc-attrs.mm 14 // CHECK-NEXT: [[OBJ2:%.*]] = call i8* @_Z11makeObject2v()
15 // CHECK-NEXT: call void @_Z13releaseObjectP11objc_object(i8* [[OBJ2]])
38 // CHECK-NEXT: [[OBJ2:%.*]] = call i8* @_Z12makeObjectT2IU8__strongP11objc_objectET_v()
39 // CHECK-NEXT: call void @_Z13releaseObjectP11objc_object(i8* [[OBJ2]])
  /external/apache-xml/src/main/java/org/apache/xpath/objects/
XRTreeFrag.java 249 * @param obj2 Object to compare this to
255 public boolean equals(XObject obj2)
260 if (XObject.CLASS_NODESET == obj2.getType())
266 return obj2.equals(this);
268 else if (XObject.CLASS_BOOLEAN == obj2.getType())
270 return bool() == obj2.bool();
272 else if (XObject.CLASS_NUMBER == obj2.getType())
274 return num() == obj2.num();
276 else if (XObject.CLASS_NODESET == obj2.getType())
278 return xstr().equals(obj2.xstr())
    [all...]
XBooleanStatic.java 52 * @param obj2 Object to compare to this
58 public boolean equals(XObject obj2)
62 return m_val == obj2.bool();
  /external/chromium/base/
id_map_unittest.cc 31 TestObject obj2; local
38 int32 id2 = map.Add(&obj2);
43 EXPECT_EQ(&obj2, map.Lookup(id2));
54 map.AddWithID(&obj2, 2);
56 EXPECT_EQ(&obj2, map.Lookup(2));
63 TestObject obj2; local
67 map.Add(&obj2);

Completed in 525 milliseconds

1 2 3 4 5 6 7 8