/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 35 case 0: return o1; 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 62 case 0: return o1; 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 89 case 0: return o1; 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 116 case 0: return o1; 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 143 case 0: return o1; 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() 56 T c1 = o1; in compare() 65 public int compare(String o1, String o2) { in compare() argument 66 if (o1 == o2) { in compare() [all …]
|
D | ObjectsTest.java | 144 String[] o1 = new String[] { "hello" }; in test_deepEquals() local 153 assertTrue(Objects.deepEquals(o1, o1)); in test_deepEquals() 154 assertTrue(Objects.deepEquals(o1, o3)); in test_deepEquals() 155 assertFalse(Objects.deepEquals(o1, o2)); in test_deepEquals()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectInputStream2Test.java | 243 Object o1 = clazz.getConstructor().newInstance(); in test_sameName() local 247 f.set(o1, new Integer(v++)); in test_sameName() 249 f.set(o1, new Long(v++)); in test_sameName() 256 oos.writeObject(o1); in test_sameName() 265 assertEquals(f.get(o1), f.get(o2)); in test_sameName()
|
/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 | 40 Object o1 = new Object(); in test_hashCode() local 42 int h1 = System.identityHashCode(o1); in test_hashCode() 44 assertEquals(h1, o1.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 | LinkedHashSetTest.java | 312 Object[] o1 = new Object[lhs.size()]; in test_toArray$Ljava_lang_Object() local 314 lhs.toArray(o1); in test_toArray$Ljava_lang_Object() 315 for (int i = 0; i < o1.length; i++) { in test_toArray$Ljava_lang_Object() 316 assertTrue(lhs.contains(o1[i])); in test_toArray$Ljava_lang_Object()
|
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() 67 T c1 = o1; in compare() 76 public int compare(String o1, String o2) { in compare() argument 77 if (o1 == o2) { in compare() [all …]
|
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) { 13567 if (o1 == null) { 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 | 546 E o1 = e1.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 | 2752 Object o1 = a[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/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) { 266 if (o1 instanceof Map) { 267 Map m1 = (Map) o1; 273 else if (o1 instanceof Collection) { 274 assertContentsUnordered(((Collection) o1), ((Collection) o2)); 277 assertEquals(o1, o2);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 637 Integer o1 = offsets[i]; in startsWith() local 639 if (!o1.equals(o2)) in startsWith()
|
/libcore/benchmarks/src/benchmarks/ |
D | CloneBenchmark.java | 31 Object o1 = 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
|