Searched refs:obj2 (Results 1 - 24 of 24) sorted by relevance

/dalvik/libcore/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 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 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...]
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 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 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 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 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();
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
H A DAttributeTypeAndValueComparator.java43 * @param obj2
48 public int compare(Object obj1, Object obj2) { argument
49 if (obj1 == obj2) {
54 AttributeTypeAndValue atav2 = (AttributeTypeAndValue) obj2;
/dalvik/vm/test/
H A DTestIndirectRefTable.c40 Object* obj2 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local
63 iref2 = dvmAddToIndirectRefTable(&irt, cookie, obj2);
71 dvmGetFromIndirectRefTable(&irt, iref2) != obj2)
77 obj0, obj1, obj2);
109 iref2 = dvmAddToIndirectRefTable(&irt, cookie, obj2);
136 iref2 = dvmAddToIndirectRefTable(&irt, cookie, obj2);
182 iref2 = dvmAddToIndirectRefTable(&irt, cookie, obj2);
324 Object* obj2 = dvmAllocObject(clazz, ALLOC_DONT_TRACK); local
336 DBUG_MSG("+++ objs %p %p %p %p\n", obj0, obj1, obj2, obj3);
348 iref2 = dvmAddToIndirectRefTable(&irt, cookie, obj2);
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DASN1Collection.java35 private DEREncodable obj2; field in class:ASN1Collection
57 case 2: return obj2;
103 case 2: obj2 = obj; break;
137 case 2: obj2 = obj; break;
190 case 2: return obj2;
/dalvik/vm/
H A DReferenceTable.c160 Object* obj2 = *((Object**) vobj2); local
162 if (obj1 == NULL || obj2 == NULL)
163 return (u1*)obj1 - (u1*)obj2;
165 if (obj1->clazz != obj2->clazz) {
166 return (u1*)obj1->clazz - (u1*)obj2->clazz;
169 int size2 = dvmObjectSizeInHeap(obj2);
173 return (u1*)obj1 - (u1*)obj2;
H A DIndirectRefTable.c354 Object* obj2 = *((Object**) vobj2); local
358 if (obj2 == NULL) {
363 } else if (obj2 == NULL) {
367 if (obj1->clazz != obj2->clazz) {
368 return (u1*)obj1->clazz - (u1*)obj2->clazz;
371 int size2 = dvmObjectSizeInHeap(obj2);
375 return (u1*)obj1 - (u1*)obj2;
H A DDebugger.c173 static int registryCompare(const void* obj1, const void* obj2) argument
175 return (int) obj1 - (int) obj2;
H A DJni.c2265 Object* obj2 = dvmDecodeIndirectRef(env, jref2); local
2266 jboolean result = (obj1 == obj2);
/dalvik/libcore/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);
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DObjectTest.java37 Object obj2 = new Object(); field in class:ObjectTest
74 assertTrue("Different objects should not be equal", !obj1.equals(obj2));
203 obj2.hashCode() == obj2.hashCode());
H A DStringBuffer2Test.java249 Object obj2 = new Object();
251 sb.append(obj2);
253 obj1.toString() + obj2.toString()));
/dalvik/libcore/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));
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DRuleBasedCollatorTest.java396 Object obj2 = "b";
397 assertEquals(-1, coll.compare(obj1, obj2));
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DSerializationStressTest0.java508 Object obj2 = null;
513 obj2 = ois.readObject();
519 assertTrue("available returned incorrect value", FOO.equals(obj2));
H A DObjectOutputStreamTest.java1601 Object obj2;
1614 obj2 = ois.readObject();
1622 assertEquals("2nd replaceObject worked incorrectly", Integer.class, obj2);
/dalvik/libcore/luni/src/main/java/java/util/
H A DCollections.java2022 * @param obj2
2030 public static <T> boolean replaceAll(List<T> list, T obj, T obj2) { argument
2036 list.set(index, obj2);

Completed in 551 milliseconds