Home
last modified time | relevance | path

Searched refs:o1 (Results 1 – 24 of 24) sorted by relevance

/libcore/luni/src/test/native/
Dlibcore_dalvik_system_JniTest.cpp30 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/
DOldTreeMapTest.java36 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 …]
DObjectsTest.java39 String[] o1 = new String[] { "hello" }; in test_deepEquals() local
48 assertTrue(Objects.deepEquals(o1, o1)); in test_deepEquals()
49 assertTrue(Objects.deepEquals(o1, o3)); in test_deepEquals()
50 assertFalse(Objects.deepEquals(o1, o2)); in test_deepEquals()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectInputStream2Test.java243 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/
DJniTest.java36 … 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/
DOldObjectTest.java40 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/
DTreeSetTest.java37 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()
DLinkedHashSetTest.java312 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()
DTreeMapTest.java47 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 …]
DCollectionsTest.java78 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()
DArraysTest.java42 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()
DTreeMapExtendTest.java13566 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/
DCollator.java276 public int compare(Object o1, Object o2) { in compare() argument
277 return compare((String)o1, (String)o2); in compare()
/libcore/ojluni/src/main/java/java/util/
DAbstractList.java521 E o1 = e1.next(); in equals() local
523 if (!(o1==null ? o2==null : o1.equals(o2))) in equals()
DAbstractMap.java585 private static boolean eq(Object o1, Object o2) { in eq() argument
586 return o1 == null ? o2 == null : o1.equals(o2); in eq()
DComparator.java150 int compare(T o1, T o2); in compare() argument
DArrays.java2752 Object o1 = a[i]; in equals() local
2754 if (!(o1==null ? o2==null : o1.equals(o2))) in equals()
DTreeMap.java1303 static final boolean valEquals(Object o1, Object o2) { in valEquals() argument
1304 return (o1==null ? o2==null : o1.equals(o2)); in valEquals()
DCollections.java5306 static boolean eq(Object o1, Object o2) {
5307 return o1==null ? o2==null : o1.equals(o2);
/libcore/ojluni/annotations/hiddenapi/java/text/
DCollator.java66 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/
DTabulatorsTest.java265 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/
DUnixPath.java637 Integer o1 = offsets[i]; in startsWith() local
639 if (!o1.equals(o2)) in startsWith()
/libcore/benchmarks/src/benchmarks/
DCloneBenchmark.java31 Object o1 = new Object(); field in CloneBenchmark.CloneableManyFieldObject
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java367 static boolean eq(java.lang.Object o1, java.lang.Object o2) { in eq() argument