HomeSort by relevance Sort by last modified time
    Searched refs:obj2 (Results 1 - 25 of 74) 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().
42 var obj2 = {};
49 obj2 = eval(obj1.toSource());
50 actual = obj2.toSource();
56 obj2 = eval(obj1.toSource());
57 actual = obj2.toSource();
63 obj2 = eval(obj1.toSource());
64 actual = obj2.toSource();
70 obj2 = eval(obj1.toSource())
    [all...]
regress-96284-002.js 28 * Method: define obj2 = eval(uneval(obj1)) and verify that
29 * obj2.toSource() == obj1.toSource().
42 var obj2 = {};
49 obj2 = eval(uneval(obj1));
50 actual = obj2.toSource();
56 obj2 = eval(uneval(obj1));
57 actual = obj2.toSource();
63 obj2 = eval(uneval(obj1));
64 actual = obj2.toSource();
70 obj2 = eval(uneval(obj1))
    [all...]
  /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/apache-xml/src/main/java/org/apache/xpath/objects/
XBooleanStatic.java 52 * @param obj2 Object to compare to this
58 public boolean equals(XObject obj2)
62 return m_val == obj2.bool();
XBoolean.java 143 * @param obj2 Object to compare to this
149 public boolean equals(XObject obj2)
155 if (obj2.getType() == XObject.CLASS_NODESET)
156 return obj2.equals(this);
160 return m_val == obj2.bool();
XObject.java 531 * @param obj2 Object to compare this to
537 public boolean lessThan(XObject obj2)
546 if (obj2.getType() == XObject.CLASS_NODESET)
547 return obj2.greaterThan(this);
549 return this.num() < obj2.num();
555 * @param obj2 Object to compare this to
561 public boolean lessThanOrEqual(XObject obj2)
570 if (obj2.getType() == XObject.CLASS_NODESET)
571 return obj2.greaterThanOrEqual(this);
573 return this.num() <= obj2.num()
    [all...]
XNull.java 122 * @param obj2 Object to compare this to
126 public boolean equals(XObject obj2)
128 return obj2.getType() == CLASS_NULL;
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...]
XString.java 285 * @param obj2 Object to compare this to
291 public boolean equals(XObject obj2)
297 int t = obj2.getType();
301 return obj2.equals(this);
306 return obj2.bool() == bool();
310 return obj2.num() == num();
319 return xstr().equals(obj2.xstr());
328 * @param obj2 the object to compare this <code>String</code> against.
334 public boolean equals(String obj2) {
335 return str().equals(obj2);
    [all...]
XStringForFSB.java 281 * @param obj2 the object to compare this <code>String</code>
289 public boolean equals(XMLString obj2)
292 if (this == obj2)
299 if (n == obj2.length())
307 if (fsb.charAt(i) != obj2.charAt(j))
325 * @param obj2 Object to compare this to
331 public boolean equals(XObject obj2)
334 if (this == obj2)
338 if(obj2.getType() == XObject.CLASS_NUMBER)
339 return obj2.equals(this)
    [all...]
  /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/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 149 var obj2 = new f(1,2,3);
150 assertEquals(1, obj2.x);
151 assertEquals(2, obj2.y);
152 assertEquals(3, obj2.z);
155 obj2 = new f(2,3);
156 assertEquals(1, obj2.x);
157 assertEquals(2, obj2.y);
158 assertEquals(3, obj2.z);
161 obj2 = new f(3);
162 assertEquals(1, obj2.x)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
regress-44009.js 45 var obj2 = {};
51 testThis(obj2);
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/comparator/
ReverseComparator.java 49 * @param obj2 The second 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/clang/test/CXX/special/class.copy/
p15-0x.cpp 16 bar obj2(obj);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
15.10.4.1-1.js 42 * We check that a new RegExp object obj2 defined from these parameters
47 * parameter for obj2 will be undefined in the sense of not being provided.
56 var obj1 = {}; var obj2 = {};
87 obj2 = new RegExp(obj1);
89 for (prop in obj2)
92 actual = obj2[prop];
15.10.4.1-2.js 42 * We check that a new RegExp object obj2 defined from these parameters
49 * obj2 = new RegExp(obj1, undefined);
53 * obj2 = new RegExp(obj1);
62 var obj1 = {}; var obj2 = {};
93 obj2 = new RegExp(obj1, undefined); // see introduction to bug
95 for (prop in obj2)
98 actual = obj2[prop];
15.10.4.1-3.js 42 * We check that a new RegExp object obj2 defined from these parameters
47 * parameter for obj2 will be undefined in the sense of not being provided.
57 var obj1 = {}; var obj2 = {};
99 obj2 = new RegExp(obj1);
101 for (prop in obj2)
104 actual = obj2[prop];
15.10.4.1-4.js 42 * We check that a new RegExp object obj2 defined from these parameters
49 * obj2 = new RegExp(obj1, undefined);
53 * obj2 = new RegExp(obj1);
63 var obj1 = {}; var obj2 = {};
105 obj2 = new RegExp(obj1, undefined); // see introduction to bug
107 for (prop in obj2)
110 actual = obj2[prop];
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/GetSet/
getset-003.js 39 var obj2 = {};
139 obj2 = new TestObject();
140 status = 'obj2 = new TestObject() after 1 set, 0 gets';
141 actual = [obj2.nameSETS,obj2.nameGETS];
145 // Use both obj and obj2 -
146 obj2.name = obj.name + obj2.name;
147 status = 'obj2 = new TestObject() after 2 sets, 1 get';
148 actual = [obj2.nameSETS,obj2.nameGETS]
    [all...]
getset-004.js 39 var obj2 = {};
139 obj2 = new TestObject();
140 status = 'obj2 = new TestObject() after 1 set, 0 gets';
141 actual = [obj2.nameSETS,obj2.nameGETS];
145 // Use both obj and obj2 -
146 obj2.name = obj.name + obj2.name;
147 status = 'obj2 = new TestObject() after 2 sets, 1 get';
148 actual = [obj2.nameSETS,obj2.nameGETS]
    [all...]
getset-005.js 43 var obj2 = {};
148 obj2 = new TestObject();
149 status = 'obj2 = new TestObject() after 1 set, 0 gets';
150 actual = [obj2.nameSETS,obj2.nameGETS];
154 // Use both obj and obj2 -
155 obj2.name = obj.name + obj2.name;
156 status = 'obj2 = new TestObject() after 2 sets, 1 get';
157 actual = [obj2.nameSETS,obj2.nameGETS]
    [all...]

Completed in 775 milliseconds

1 2 3