/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollatorTest.java | 35 Object o, o2; in test_compareLjava_lang_ObjectLjava_lang_Object() local 39 o2 = "F"; in test_compareLjava_lang_ObjectLjava_lang_Object() 40 assertTrue("a) Failed on primary difference", c.compare(o, o2) < 0); in test_compareLjava_lang_ObjectLjava_lang_Object() 42 o2 = "\u00e9"; in test_compareLjava_lang_ObjectLjava_lang_Object() 43 assertTrue("a) Failed on secondary difference", c.compare(o, o2) < 0); in test_compareLjava_lang_ObjectLjava_lang_Object() 45 o2 = "E"; in test_compareLjava_lang_ObjectLjava_lang_Object() 46 assertTrue("a) Failed on tertiary difference", c.compare(o, o2) < 0); in test_compareLjava_lang_ObjectLjava_lang_Object() 48 o2 = "\u0002"; in test_compareLjava_lang_ObjectLjava_lang_Object() 49 assertTrue("a) Failed on identical", c.compare(o, o2) < 0); in test_compareLjava_lang_ObjectLjava_lang_Object() 51 o2 = "e"; in test_compareLjava_lang_ObjectLjava_lang_Object() [all …]
|
/libcore/luni/src/test/native/ |
D | libcore_dalvik_system_JniTest.cpp | 30 jobject o1, jobject o2, jobject o3, jobject o4, jobject o5, in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16() argument 36 case 1: return o2; in Java_libcore_dalvik_system_JniTest_returnObjectArgFrom16() 57 jboolean o1, jboolean o2, jboolean o3, jboolean o4, jboolean o5, in Java_libcore_dalvik_system_JniTest_returnBooleanArgFrom16() argument 63 case 1: return o2; in Java_libcore_dalvik_system_JniTest_returnBooleanArgFrom16() 84 jchar o1, jchar o2, jchar o3, jchar o4, jchar o5, in Java_libcore_dalvik_system_JniTest_returnCharArgFrom16() argument 90 case 1: return o2; in Java_libcore_dalvik_system_JniTest_returnCharArgFrom16() 111 jbyte o1, jbyte o2, jbyte o3, jbyte o4, jbyte o5, in Java_libcore_dalvik_system_JniTest_returnByteArgFrom16() argument 117 case 1: return o2; in Java_libcore_dalvik_system_JniTest_returnByteArgFrom16() 138 jshort o1, jshort o2, jshort o3, jshort o4, jshort o5, in Java_libcore_dalvik_system_JniTest_returnShortArgFrom16() argument 144 case 1: return o2; in Java_libcore_dalvik_system_JniTest_returnShortArgFrom16() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeMapTest.java | 36 public int compare(Object o1, Object o2) { in compare() argument 37 return -(((Comparable) o1).compareTo(o2)); in compare() 40 public boolean equals(Object o1, Object o2) { in equals() argument 41 return (((Comparable) o1).compareTo(o2)) == 0; in equals() 49 public int compare(T o1, T o2) { in compare() argument 50 if (o1 == o2) { in compare() 53 if (null == o1 || null == o2) { in compare() 57 T c2 = o2; in compare() 65 public int compare(String o1, String o2) { in compare() argument 66 if (o1 == o2) { in compare() [all …]
|
D | ObjectsTest.java | 145 String[] o2 = new String[] { "world" }; in test_deepEquals() local 155 assertFalse(Objects.deepEquals(o1, o2)); in test_deepEquals()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | JniTest.java | 36 … Object o1, Object o2, Object o3, Object o4, Object o5, in returnObjectArgFrom16() argument 41 … boolean o1, boolean o2, boolean o3, boolean o4, boolean o5, in returnBooleanArgFrom16() argument 46 char o1, char o2, char o3, char o4, char o5, in returnCharArgFrom16() argument 51 byte o1, byte o2, byte o3, byte o4, byte o5, in returnByteArgFrom16() argument 56 short o1, short o2, short o3, short o4, short o5, in returnShortArgFrom16() argument 61 int o1, int o2, int o3, int o4, int o5, in returnIntArgFrom16() argument 66 long o1, long o2, long o3, long o4, long o5, in returnLongArgFrom16() argument 71 float o1, float o2, float o3, float o4, float o5, in returnFloatArgFrom16() argument 76 … double o1, double o2, double o3, double o4, double o5, in returnDoubleArgFrom16() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldObjectTest.java | 41 Object o2 = new Object(); in test_hashCode() local 43 int h2 = System.identityHashCode(o2); in test_hashCode() 45 assertEquals(h2, o2.hashCode()); in test_hashCode()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeSetTest.java | 37 public int compare(Object o1, Object o2) { in compare() argument 38 return -(((Integer) o1).compareTo((Integer) o2)); in compare() 41 public boolean equals(Object o1, Object o2) { in equals() argument 42 return ((Integer) o1).compareTo((Integer) o2) == 0; in equals()
|
D | TreeMapTest.java | 47 public int compare(Object o1, Object o2) { in compare() argument 48 return -(((Comparable) o1).compareTo(o2)); in compare() 51 public boolean equals(Object o1, Object o2) { in equals() argument 52 return (((Comparable) o1).compareTo(o2)) == 0; in equals() 60 public int compare(T o1, T o2) { in compare() argument 61 if (o1 == o2) { in compare() 64 if (null == o1 || null == o2) { in compare() 68 T c2 = o2; in compare() 76 public int compare(String o1, String o2) { in compare() argument 77 if (o1 == o2) { in compare() [all …]
|
D | LinkedHashSetTest.java | 313 Object[] o2 = new Double[lhs.size()]; in test_toArray$Ljava_lang_Object() local 327 lhs.toArray(o2); in test_toArray$Ljava_lang_Object()
|
D | CollectionsTest.java | 78 public int compare(Object o1, Object o2) { in compare() argument 79 return -((MyInt) o1).compareTo((MyInt) o2); in compare() 82 public int equals(Object o1, Object o2) { in equals() argument 83 return ((MyInt) o1).compareTo((MyInt) o2); in equals()
|
D | ArraysTest.java | 42 public int compare(Object o1, Object o2) { in compare() argument 43 return -(((Integer) o1).compareTo((Integer) o2)); in compare() 46 public boolean equals(Object o1, Object o2) { in equals() argument 47 return ((Integer) o1).compareTo((Integer) o2) == 0; in equals()
|
D | TreeMapExtendTest.java | 13566 public int compare(Object o1, Object o2) { 13568 return o2 == null ? 0 : -1; 13570 return ((String) o1).compareTo((String) o2);
|
/libcore/ojluni/src/main/java/java/text/ |
D | Collator.java | 278 public int compare(Object o1, Object o2) { in compare() argument 279 return compare((String)o1, (String)o2); in compare()
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractMap.java | 585 private static boolean eq(Object o1, Object o2) { in eq() argument 586 return o1 == null ? o2 == null : o1.equals(o2); in eq()
|
D | AbstractList.java | 547 Object o2 = e2.next(); in equals() local 548 if (!(o1==null ? o2==null : o1.equals(o2))) in equals()
|
D | Comparator.java | 150 int compare(T o1, T o2); in compare() argument
|
D | Arrays.java | 2753 Object o2 = a2[i]; in equals() local 2754 if (!(o1==null ? o2==null : o1.equals(o2))) in equals()
|
D | TreeMap.java | 1303 static final boolean valEquals(Object o1, Object o2) { in valEquals() argument 1304 return (o1==null ? o2==null : o1.equals(o2)); in valEquals()
|
D | Collections.java | 5306 static boolean eq(Object o1, Object o2) { 5307 return o1==null ? o2==null : o1.equals(o2);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectInputStream2Test.java | 260 Object o2 = ois.readObject(); in test_sameName() local 265 assertEquals(f.get(o1), f.get(o2)); in test_sameName()
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | Collator.java | 66 public int compare(java.lang.Object o1, java.lang.Object o2) { in compare() argument
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TabulatorsTest.java | 265 private static void nestedMapEqualityAssertion(Object o1, Object o2) { 268 Map m2 = (Map) o2; 274 assertContentsUnordered(((Collection) o1), ((Collection) o2)); 277 assertEquals(o1, o2);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 638 Integer o2 = that.offsets[i]; in startsWith() local 639 if (!o1.equals(o2)) in startsWith()
|
/libcore/benchmarks/src/benchmarks/ |
D | CloneBenchmark.java | 32 Object o2 = new Object(); field in CloneBenchmark.CloneableManyFieldObject
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 367 static boolean eq(java.lang.Object o1, java.lang.Object o2) { in eq() argument
|