/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 | dalvik_system_JniTest.cpp | 30 jobject o1, jobject o2, jobject o3, jobject o4, jobject o5, in Java_dalvik_system_JniTest_returnObjectArgFrom16() argument 36 case 1: return o2; in Java_dalvik_system_JniTest_returnObjectArgFrom16() 57 jboolean o1, jboolean o2, jboolean o3, jboolean o4, jboolean o5, in Java_dalvik_system_JniTest_returnBooleanArgFrom16() argument 63 case 1: return o2; in Java_dalvik_system_JniTest_returnBooleanArgFrom16() 84 jchar o1, jchar o2, jchar o3, jchar o4, jchar o5, in Java_dalvik_system_JniTest_returnCharArgFrom16() argument 90 case 1: return o2; in Java_dalvik_system_JniTest_returnCharArgFrom16() 111 jbyte o1, jbyte o2, jbyte o3, jbyte o4, jbyte o5, in Java_dalvik_system_JniTest_returnByteArgFrom16() argument 117 case 1: return o2; in Java_dalvik_system_JniTest_returnByteArgFrom16() 138 jshort o1, jshort o2, jshort o3, jshort o4, jshort o5, in Java_dalvik_system_JniTest_returnShortArgFrom16() argument 144 case 1: return o2; in Java_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 | 39 String[] o2 = new String[] { "world" }; in test_deepEquals() local 49 assertFalse(Objects.deepEquals(o1, o2)); in test_deepEquals()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 359 private static boolean eq(Object o1, Object o2) { in eq() argument 360 return (o1 == null) ? o2 == null : o1.equals(o2); in eq()
|
/libcore/libart/src/main/java/java/lang/ |
D | String.java | 76 public int compare(String o1, String o2) { in compare() argument 77 return o1.compareToIgnoreCase(o2); in compare() 560 int o1 = offset, o2 = string.offset, result; in compareToIgnoreCase() local 565 if ((c1 = value[o1++]) == (c2 = target[o2++])) { in compareToIgnoreCase() 689 int o1 = offset, o2 = string.offset; in equalsIgnoreCase() local 694 char c2 = target[o2++]; in equalsIgnoreCase() 905 int o1 = offset + i, o2 = subOffset; in indexOf() local 907 while (++o2 < end && _value[++o1] == target[o2]) { in indexOf() 910 if (o2 == end) { in indexOf() 946 int o1 = offset + i, o2 = subOffset; in indexOf() local [all …]
|
/libcore/luni/src/test/java/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 | 31 public int compare(Object o1, Object o2) { in compare() argument 32 return -(((Integer) o1).compareTo((Integer) o2)); in compare() 35 public boolean equals(Object o1, Object o2) { in equals() argument 36 return ((Integer) o1).compareTo((Integer) o2) == 0; in equals()
|
D | TreeMapTest.java | 45 public int compare(Object o1, Object o2) { in compare() argument 46 return -(((Comparable) o1).compareTo(o2)); in compare() 49 public boolean equals(Object o1, Object o2) { in equals() argument 50 return (((Comparable) o1).compareTo(o2)) == 0; in equals() 58 public int compare(T o1, T o2) { in compare() argument 59 if (o1 == o2) { in compare() 62 if (null == o1 || null == o2) { in compare() 66 T c2 = o2; in compare() 74 public int compare(String o1, String o2) { in compare() argument 75 if (o1 == o2) { in compare() [all …]
|
D | LinkedHashSetTest.java | 307 Object[] o2 = new Double[lhs.size()]; in test_toArray$Ljava_lang_Object() local 321 lhs.toArray(o2); in test_toArray$Ljava_lang_Object()
|
D | CollectionsTest.java | 77 public int compare(Object o1, Object o2) { in compare() argument 78 return -((MyInt) o1).compareTo((MyInt) o2); in compare() 81 public int equals(Object o1, Object o2) { in equals() argument 82 return ((MyInt) o1).compareTo((MyInt) o2); in equals()
|
D | ArraysTest.java | 31 public int compare(Object o1, Object o2) { in compare() argument 32 return -(((Integer) o1).compareTo((Integer) o2)); in compare() 35 public boolean equals(Object o1, Object o2) { in equals() argument 36 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/luni/src/main/java/java/lang/ |
D | AbstractStringBuilder.java | 708 int o1 = i, o2 = 0; in indexOf() local 709 while (++o2 < subCount && value[++o1] == subString.charAt(o2)) { in indexOf() 712 if (o2 == subCount) { in indexOf() 775 int o1 = i, o2 = 0; in lastIndexOf() local 776 while (++o2 < subCount in lastIndexOf() 777 && value[++o1] == subString.charAt(o2)) { in lastIndexOf() 780 if (o2 == subCount) { in lastIndexOf()
|
/libcore/luni/src/main/java/java/util/ |
D | PriorityQueue.java | 353 private int compare(E o1, E o2) { in compare() argument 355 return comparator.compare(o1, o2); in compare() 357 return ((Comparable<? super E>) o1).compareTo(o2); in compare()
|
D | Collections.java | 191 @Override public int compare(T o1, T o2) { in compare() argument 192 Comparable<T> c2 = (Comparable<T>) o2; in compare() 209 @Override public int compare(T o1, T o2) { in compare() argument 210 return cmp.compare(o2, o1); in compare()
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |