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

1 2 3

  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/
regress-96284-001.js 28 * Method: define obj2 = eval(obj1.toSource()) and verify that
29 * obj2.toSource() == obj1.toSource().
41 var obj1 = {};
48 obj1 = Error(cnTestString);
49 obj2 = eval(obj1.toSource());
51 expect = obj1.toSource();
55 obj1 = EvalError(cnTestString);
56 obj2 = eval(obj1.toSource());
58 expect = obj1.toSource();
62 obj1 = RangeError(cnTestString)
112 obj1 = function(x) {function g(y){return y+1;} return g(x);}; function
    [all...]
regress-96284-002.js 28 * Method: define obj2 = eval(uneval(obj1)) and verify that
29 * obj2.toSource() == obj1.toSource().
41 var obj1 = {};
48 obj1 = Error(cnTestString);
49 obj2 = eval(uneval(obj1));
51 expect = obj1.toSource();
55 obj1 = EvalError(cnTestString);
56 obj2 = eval(uneval(obj1));
58 expect = obj1.toSource();
62 obj1 = RangeError(cnTestString)
112 obj1 = function(x) {function g(y){return y+1;} return g(x);}; function
    [all...]
  /dalvik/tests/088-monitor-verification/src/
Main.java 52 Object obj1 = 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) {
187 synchronized (obj1) {
192 localObj = obj1;
204 public void triplet(Object obj1, Object obj2, int x) {
207 synchronized (obj1) {
208 synchronized(obj1) {
210 synchronized(obj1) {
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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...]
  /external/jdiff/src/jdiff/
CompareClassPdiffs.java 16 public int compare(Object obj1, Object obj2){
17 ClassDiff c1 = (ClassDiff)obj1;
ComparePkgPdiffs.java 16 public int compare(Object obj1, Object obj2){
17 PackageDiff p1 = (PackageDiff)obj1;
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
regress-44009.js 28 var obj1 = {};
50 testThis(obj1);
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/comparator/
ReverseComparator.java 48 * @param obj1 The first object to compare
53 public int compare(T obj1, T obj2) {
54 return delegate.compare(obj2, obj1); // parameters switched round
  /external/apache-http/src/org/apache/http/util/
LangUtils.java 63 public static boolean equals(final Object obj1, final Object obj2) {
64 return obj1 == null ? obj2 == null : obj1.equals(obj2);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
15.10.4.1-1.js 43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp object obj1 will not include a flag. The flags
56 var obj1 = {}; var obj2 = {};
86 obj1 = new RegExp(s);
87 obj2 = new RegExp(obj1);
93 expect = obj1[prop];
15.10.4.1-2.js 43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp object obj1 will not include a flag. This test is
49 * obj2 = new RegExp(obj1, undefined);
53 * obj2 = new RegExp(obj1);
62 var obj1 = {}; var obj2 = {};
92 obj1 = new RegExp(s);
93 obj2 = new RegExp(obj1, undefined); // see introduction to bug
99 expect = obj1[prop];
15.10.4.1-3.js 43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp obj1 will include a flag. The flags
57 var obj1 = {}; var obj2 = {};
98 obj1 = new RegExp(s, f);
99 obj2 = new RegExp(obj1);
105 expect = obj1[prop];
15.10.4.1-4.js 43 * is morally the same as the original RegExp object obj1. Of course, they
46 * In this test, the initial RegExp object obj1 will include a flag. This test is
49 * obj2 = new RegExp(obj1, undefined);
53 * obj2 = new RegExp(obj1);
63 var obj1 = {}; var obj2 = {};
104 obj1 = new RegExp(s, f);
105 obj2 = new RegExp(obj1, undefined); // see introduction to bug
111 expect = obj1[prop];
15.10.4.1-5-n.js 53 var obj1 = {}; var obj2 = {};
92 obj1 = new RegExp(s, f);
93 obj2 = new RegExp(obj1, f); // this should cause an exception
  /libcore/luni/src/main/java/org/apache/harmony/security/x501/
AttributeTypeAndValueComparator.java 40 * @param obj1
47 public int compare(Object obj1, Object obj2) {
48 if (obj1 == obj2) {
52 AttributeTypeAndValue atav1 = (AttributeTypeAndValue) obj1;
  /libcore/luni/src/test/java/libcore/java/lang/
OldObjectTest.java 30 Object obj1 = new Object(); field in class:OldObjectTest
139 synchronized (obj1) {
143 obj1.wait();// Wait for ever.
146 obj1.wait(5000L);
149 obj1.wait(10000L, 999999);
OldStringBufferTest.java 158 Object obj1 = new Object(); local
160 testBuffer.insert(-1, obj1);
167 testBuffer.insert(testBuffer.length() + 1, obj1); local
  /external/v8/test/mjsunit/
samevalue.js 32 var obj1 = {x: 10, y: 11, z: "test"};
47 assertTrue(natives.SameValue(obj1, obj1));
54 assertFalse(natives.SameValue(obj1, obj2));
57 assertFalse(natives.SameValue(obj1, true));
58 assertFalse(natives.SameValue(obj1, "foo"));
59 assertFalse(natives.SameValue(obj1, 1));
60 assertFalse(natives.SameValue(obj1, undefined));
61 assertFalse(natives.SameValue(obj1, NaN));
66 assertFalse(natives.SameValue(undefined, obj1));
    [all...]
object-prevent-extensions.js 31 var obj1 = {};
33 assertTrue(Object.isExtensible(obj1));
34 Object.preventExtensions(obj1);
37 assertFalse(Object.isExtensible(obj1));
38 obj1.x = 42;
39 assertEquals(undefined, obj1.x);
42 obj1[1] = 42;
43 assertEquals(undefined, obj1[1]);
object-define-property.js 57 var obj1 = {};
110 Object.defineProperty(obj1, "foo", undefined);
118 Object.defineProperty(obj1, "foo", emptyDesc);
121 assertEquals(undefined, obj1.foo);
125 var desc = Object.getOwnPropertyDescriptor(obj1, "foo");
136 desc = Object.getOwnPropertyDescriptor(obj1, "bar");
141 Object.defineProperty(obj1, "foo", accessorConfigurable);
149 Object.defineProperty(obj1, "bar", accessorConfigurable);
150 desc = Object.getOwnPropertyDescriptor(obj1, "bar");
157 assertEquals(1, obj1.bar = 1)
    [all...]
  /dalvik/vm/test/
TestIndirectRefTable.cpp 39 Object* obj1 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local
60 iref1 = irt.add(cookie, obj1);
68 irt.get(iref1) != obj1 ||
72 obj0, obj1, obj2);
75 DBUG_MSG("+++ obj1=%p --> iref1=%p\n", obj1, iref1);
103 iref1 = irt.add(cookie, obj1);
130 iref1 = irt.add(cookie, obj1);
171 iref1 = irt.add(cookie, obj1);
182 iref1 = irt.add(cookie, obj1);
    [all...]
  /external/openssl/crypto/x509v3/
v3_pmaps.c 119 ASN1_OBJECT *obj1, *obj2;
136 obj1 = OBJ_txt2obj(val->name, 0);
138 if(!obj1 || !obj2) {
150 pmap->issuerDomainPolicy = obj1;
  /external/chromium/base/
id_map_unittest.cc 30 TestObject obj1; local
33 int32 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));
62 TestObject obj1; local
66 map.Add(&obj1);
  /dalvik/vm/
ReferenceTable.cpp 173 const Object* obj1 = *((Object* const*) vobj1); local
177 if (obj1 == NULL) {
186 if (obj1 == kClearedJniWeakGlobal) {
196 if (obj1->clazz != obj2->clazz) {
197 return (u1*)obj1->clazz - (u1*)obj2->clazz;
199 size_t count1 = getElementCount(obj1);
204 return (u1*)obj1 - (u1*)obj2;
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
mySSLSession.java 128 Object obj1 = table.put(s, obj); local
129 if(obj1 instanceof SSLSessionBindingListener) {
131 ((SSLSessionBindingListener)obj1).valueUnbound(sslsessionbindingevent);

Completed in 655 milliseconds

1 2 3