Searched defs:obj2 (Results 1 - 25 of 33) sorted by relevance

12

/external/jdiff/src/jdiff/
H A DCompareClassPdiffs.java16 public int compare(Object obj1, Object obj2){ argument
18 ClassDiff c2 = (ClassDiff)obj2;
H A DComparePkgPdiffs.java16 public int compare(Object obj1, Object obj2){ argument
18 PackageDiff p2 = (PackageDiff)obj2;
/external/v8/test/mjsunit/
H A Dsamevalue.js33 var obj2 = {x: 10, y: 11, z: "test"};
54 assertFalse(natives.SameValue(obj1, obj2));
H A Dobject-literal.js41 var obj2 = {
47 assertEquals(7, obj2.a);
48 assertEquals(12, obj2.b.x);
49 assertEquals(24, obj2.b.y);
50 assertEquals('Zebra', obj2.c);
H A Darray-sort.js143 var obj2 = { toString: function() { return "c"; } };
144 var a = [ obj2, obj0, obj1 ];
146 assertArrayEquals([ obj0, obj1, obj2 ], a);
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXBooleanStatic.java52 * @param obj2 Object to compare to this
58 public boolean equals(XObject obj2) argument
62 return m_val == obj2.bool();
H A DXNull.java122 * @param obj2 Object to compare this to
126 public boolean equals(XObject obj2) argument
128 return obj2.getType() == CLASS_NULL;
H A DXBoolean.java143 * @param obj2 Object to compare to this
149 public boolean equals(XObject obj2) argument
155 if (obj2.getType() == XObject.CLASS_NODESET)
156 return obj2.equals(this);
160 return m_val == obj2.bool();
H A DXNumber.java387 * @param obj2 Object to compare this to
393 public boolean equals(XObject obj2) argument
399 int t = obj2.getType();
403 return obj2.equals(this);
405 return obj2.bool() == bool();
407 return m_val == obj2.num();
H A DXRTreeFrag.java249 * @param obj2 Object to compare this to
255 public boolean equals(XObject obj2) argument
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
[all...]
H A DXNodeSet.java465 * @param obj2 Object to compare this nodeset to
472 public boolean compare(XObject obj2, Comparator comparator) argument
477 int type = obj2.getType();
495 DTMIterator list2 = ((XNodeSet) obj2).iterRaw();
552 double num2 = obj2.num();
567 double num2 = obj2.num();
585 XMLString s2 = obj2.xstr();
611 XMLString s2 = obj2.xstr();
629 result = comparator.compareNumbers(this.num(), obj2.num());
638 * @param obj2 objec
644 lessThan(XObject obj2) argument
658 lessThanOrEqual(XObject obj2) argument
672 greaterThan(XObject obj2) argument
686 greaterThanOrEqual(XObject obj2) argument
701 equals(XObject obj2) argument
722 notEquals(XObject obj2) argument
[all...]
H A DXString.java285 * @param obj2 Object to compare this to
291 public boolean equals(XObject obj2) argument
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) { argument
335 return str().equals(obj2);
351 equals(XMLString obj2) argument
376 equals(Object obj2) argument
[all...]
H A DXStringForFSB.java281 * @param obj2 the object to compare this <code>String</code>
289 public boolean equals(XMLString obj2) argument
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) argument
334 if (this == obj2)
338 if(obj2.getType() == XObject.CLASS_NUMBER)
339 return obj2
418 equals(Object obj2) argument
[all...]
H A DXObject.java531 * @param obj2 Object to compare this to
537 public boolean lessThan(XObject obj2) argument
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) argument
570 if (obj2.getType() == XObject.CLASS_NODESET)
571 return obj2.greaterThanOrEqual(this);
573 return this.num() <= obj2
585 greaterThan(XObject obj2) argument
609 greaterThanOrEqual(XObject obj2) argument
633 equals(XObject obj2) argument
661 notEquals(XObject obj2) argument
[all...]
/external/apache-http/src/org/apache/http/util/
H A DLangUtils.java63 public static boolean equals(final Object obj1, final Object obj2) { argument
64 return obj1 == null ? obj2 == null : obj1.equals(obj2);
/external/llvm/unittests/ADT/
H A DImmutableSetTest.cpp164 MyIter obj2; local
165 S2.foreach<MyIter>(obj2);
167 ASSERT_EQ(3, obj2.counter);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DObjectTest.java26 Object obj2 = new Object(); field in class:ObjectTest
49 assertTrue("Different objects should not be equal", !obj1.equals(obj2));
82 obj2.hashCode() == obj2.hashCode());
/external/chromium/base/
H A Did_map_unittest.cc31 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);
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalueiterator/
H A Dtst_qscriptvalueiterator.cpp501 QScriptValue obj2 = eng.newObject(); local
502 obj2.setProperty("bar", 456);
507 it = obj2;
517 it = obj2;
522 it = obj2;
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLStringDefault.java159 * @param obj2 the object to compare this <code>String</code> against.
165 public boolean equals(String obj2) { argument
166 return m_str.equals(obj2);
/external/libxslt/libxslt/
H A Dfunctions.c227 xmlXPathObjectPtr obj, obj2 = NULL; local
253 obj2 = valuePop(ctxt);
269 valuePush(ctxt, xmlXPathObjectCopy(obj2));
284 if (obj2 != NULL)
285 xmlXPathFreeObject(obj2);
297 if (obj2 != NULL)
298 xmlXPathFreeObject(obj2);
305 if ((obj2 != NULL) && (obj2->nodesetval != NULL) &&
306 (obj2
353 xmlXPathObjectPtr obj1, obj2; local
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
H A DXSLTElementDef.java300 * @param obj2 A reference to the second object, or null.
303 * because obj2.equals(obj1) returns true.
305 private static boolean equalsMayBeNull(Object obj1, Object obj2) argument
307 return (obj2 == obj1)
308 || ((null != obj1) && (null != obj2) && obj2.equals(obj1));
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/
H A DSubjectTest.java538 private void equalsTest(Object obj1, Object obj2, Object obj3) { argument
542 if (obj1 == obj2 || obj1 == obj3 || obj2 == obj3) {
550 assertTrue(obj1.equals(obj2));
551 assertTrue(obj2.equals(obj1));
554 assertTrue(obj1.equals(obj2));
555 assertTrue(obj2.equals(obj3));
1560 Object obj2 = new Object();
1565 set.add(obj2);
1587 assertTrue("2 element", hash.contains(obj2));
[all...]
/external/webkit/Source/JavaScriptCore/runtime/
H A DArrayPrototype.cpp421 JSValue obj2 = getProperty(exec, thisObj, lk1); local
424 if (obj2)
425 thisObj->put(exec, k, obj2);
/external/v8/test/cctest/
H A Dtest-heap-profiler.cc1191 "var obj2 = new Constructor2();\n"
1207 v8::Local<v8::Object> obj2 = js_global->Get(v8_str("obj2")).As<v8::Object>(); local
1208 i::Handle<i::JSObject> js_obj2 = v8::Utils::OpenHandle(*obj2);

Completed in 470 milliseconds

12