Searched refs:o2 (Results 1 - 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArraySet.java359 private static boolean eq(Object o1, Object o2) { argument
360 return (o1 == null) ? o2 == null : o1.equals(o2);
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeMapTest.java36 public int compare(Object o1, Object o2) { argument
37 return -(((Comparable) o1).compareTo(o2));
40 public boolean equals(Object o1, Object o2) { argument
41 return (((Comparable) o1).compareTo(o2)) == 0;
49 public int compare(T o1, T o2) { argument
50 if (o1 == o2) {
53 if (null == o1 || null == o2) {
57 T c2 = o2;
65 public int compare(String o1, String o2) { argument
66 if (o1 == o2) {
[all...]
H A DObjectsTest.java39 String[] o2 = new String[] { "world" };
49 assertFalse(Objects.deepEquals(o1, o2));
/libcore/libart/src/main/java/java/lang/
H A DString.java80 * @param o2
88 public int compare(String o1, String o2) { argument
89 return o1.compareToIgnoreCase(o2);
583 int o1 = offset, o2 = string.offset, result;
588 if ((c1 = value[o1++]) == (c2 = target[o2++])) {
734 int o1 = offset, o2 = string.offset;
739 char c2 = target[o2++];
969 int o1 = offset + i, o2 = subOffset;
971 while (++o2 < end && _value[++o1] == target[o2]) {
[all...]
/libcore/libdvm/src/main/java/java/lang/
H A DString.java80 * @param o2
88 public int compare(String o1, String o2) { argument
89 return o1.compareToIgnoreCase(o2);
652 int o1 = offset, o2 = string.offset, result;
657 if ((c1 = value[o1++]) == (c2 = target[o2++])) {
769 int o1 = offset, o2 = string.offset;
774 char c2 = target[o2++];
1004 int o1 = offset + i, o2 = subOffset;
1006 while (++o2 < end && _value[++o1] == target[o2]) {
[all...]
/libcore/luni/src/test/java/tests/api/java/io/
H A DComputeSerialVersionUIDTest.java15 SerializationTestClass.TestClassName2T_T$T o2 = (SerializationTestClass.TestClassName2T_T$T) ois
33 SerializationTestClass.TestIntefacesA o2 = (SerializationTestClass.TestIntefacesA) ois
65 SerializationTestClass.TestFieldsOneFinal o2 = (SerializationTestClass.TestFieldsOneFinal) ois
103 SerializationTestClass.TestConstructorOne o2 = (SerializationTestClass.TestConstructorOne) ois
125 SerializationTestClass.TestMethodAbstract o2 = (SerializationTestClass.TestMethodAbstract) ois
/libcore/luni/src/main/java/java/lang/
H A DAbstractStringBuilder.java717 int o1 = i, o2 = 0;
718 while (++o2 < subCount && value[++o1] == subString.charAt(o2)) {
721 if (o2 == subCount) {
784 int o1 = i, o2 = 0;
785 while (++o2 < subCount
786 && value[++o1] == subString.charAt(o2)) {
789 if (o2 == subCount) {
/libcore/luni/src/main/java/java/util/
H A DPriorityQueue.java353 private int compare(E o1, E o2) { argument
355 return comparator.compare(o1, o2);
357 return ((Comparable<? super E>) o1).compareTo(o2);
H A DCollections.java191 @Override public int compare(T o1, T o2) { argument
192 Comparable<T> c2 = (Comparable<T>) o2;
209 @Override public int compare(T o1, T o2) { argument
210 return cmp.compare(o2, o1);
/libcore/luni/src/test/java/tests/api/java/util/
H A DLinkedHashSetTest.java307 Object[] o2 = new Double[lhs.size()];
321 lhs.toArray(o2);
H A DCollectionsTest.java68 public int compare(Object o1, Object o2) { argument
69 return -((MyInt) o1).compareTo((MyInt) o2);
72 public int equals(Object o1, Object o2) { argument
73 return ((MyInt) o1).compareTo((MyInt) o2);
H A DArraysTest.java30 public int compare(Object o1, Object o2) { argument
31 return -(((Integer) o1).compareTo((Integer) o2));
34 public boolean equals(Object o1, Object o2) { argument
35 return ((Integer) o1).compareTo((Integer) o2) == 0;
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 2241 milliseconds