/libcore/ojluni/src/test/java/util/ServiceLoader/basic/ |
D | Basic.java | 43 private static <T> void checkEquals(Set<T> s1, Set<T> s2, boolean eq) { in checkEquals() argument 44 if (s1.equals(s2) != eq) in checkEquals() 46 eq, s1, s2)); in checkEquals()
|
/libcore/ojluni/src/main/java/java/lang/runtime/ |
D | ObjectMethods.java | 170 private static boolean eq(Object a, Object b) { return a == b; } in eq() method in ObjectMethods 171 private static boolean eq(byte a, byte b) { return a == b; } in eq() method in ObjectMethods 172 private static boolean eq(short a, short b) { return a == b; } in eq() method in ObjectMethods 173 private static boolean eq(char a, char b) { return a == b; } in eq() method in ObjectMethods 174 private static boolean eq(int a, int b) { return a == b; } in eq() method in ObjectMethods 175 private static boolean eq(long a, long b) { return a == b; } in eq() method in ObjectMethods 176 private static boolean eq(float a, float b) { return Float.compare(a, b) == 0; } in eq() method in ObjectMethods 177 private static boolean eq(double a, double b) { return Double.compare(a, b) == 0; } in eq() method in ObjectMethods 178 private static boolean eq(boolean a, boolean b) { return a == b; } in eq() method in ObjectMethods
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractMap.java | 583 private static boolean eq(Object o1, Object o2) { in eq() method in AbstractMap 700 && eq(key, e.getKey()) in equals() 701 && eq(value, e.getValue()); in equals() 850 && eq(key, e.getKey()) in equals() 851 && eq(value, e.getValue()); in equals()
|
D | Arrays.java | 4705 boolean eq = deepEquals0(e1, e2); in deepEquals() 4707 if (!eq) in deepEquals() 4715 boolean eq; in deepEquals0() 4717 eq = deepEquals ((Object[]) e1, (Object[]) e2); in deepEquals0() 4719 eq = equals((byte[]) e1, (byte[]) e2); in deepEquals0() 4721 eq = equals((short[]) e1, (short[]) e2); in deepEquals0() 4723 eq = equals((int[]) e1, (int[]) e2); in deepEquals0() 4725 eq = equals((long[]) e1, (long[]) e2); in deepEquals0() 4727 eq = equals((char[]) e1, (char[]) e2); in deepEquals0() 4729 eq = equals((float[]) e1, (float[]) e2); in deepEquals0() [all …]
|
D | Collections.java | 981 if (!eq(target.get(i), source.get(j))) in indexOfSubList() 991 if (!eq(ti.next(), si.next())) { in indexOfSubList() 1034 if (!eq(target.get(i), source.get(j))) in lastIndexOfSubList() 1046 if (!eq(ti.next(), si.next())) { in lastIndexOfSubList() 2024 return eq(e.getKey(), t.getKey()) && 2025 eq(e.getValue(), t.getValue()); 5201 public boolean contains(Object o) {return eq(o, element);} 5256 public boolean contains(Object obj) {return eq(obj, element);} 5327 public boolean containsKey(Object key) {return eq(key, k);} 5328 public boolean containsValue(Object value) {return eq(value, v);} [all …]
|
/libcore/luni/src/test/java/libcore/javax/xml/validation/ |
D | SchemaFactoryTest.java | 19 import static org.mockito.ArgumentMatchers.eq; 88 when(classLoader.loadClass(eq("factoryClassName"))) in newInstance3_ClassNotFoundException()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 56 eq(now, MILLISECONDS, now, MILLISECONDS); in main() 57 eq(now, MILLISECONDS, now*1000L, MICROSECONDS); in main() 61 eq(nowInstant, now, MILLISECONDS); in main() 62 eq(nowInstant, now*1000L, MICROSECONDS); in main() 277 static void eq(long v1, TimeUnit u1, long v2, TimeUnit u2) { in eq() method in FileTimeTest 286 static void eq(Instant ins, long v2, TimeUnit u2) { in eq() method in FileTimeTest
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | EqualsCompareTest.java | 90 final MethodHandle eq; field in EqualsCompareTest.BufferType 104 … eq = lookup.findVirtual(bufferType, "equals", MethodType.methodType(boolean.class, Object.class)); in BufferType() 162 return (boolean) eq.invoke(a, b); in equals() 648 boolean eq = bt.pairWiseEquals(as, bs); in testBufferType() 649 Assert.assertEquals(bt.equals(as, bs), eq); in testBufferType() local 650 Assert.assertEquals(bt.equals(bs, as), eq); in testBufferType() local 651 if (eq) { in testBufferType()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 69 import static org.mockito.Mockito.eq; 203 verify(mockOsDelegate, times(1)).connect(eq(udpSocket), any(), anyInt()); in test_connect_networkPolicy() 213 verify(mockOsDelegate, times(1)).connect(eq(tcpSocket), any(), anyInt()); in test_connect_networkPolicy()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | ArraysEqCmpTest.java | 84 final MethodHandle eq; field in ArraysEqCmpTest.ArrayType 118 eq = l.findStatic(Arrays.class, "equals", eqt); in ArrayType() 144 eq = l.findStatic(Arrays.class, "equals", eqt); in ArrayType() 212 return (boolean) eq.invoke(a, b); in equals() 863 boolean eq = isEqual(at, a, aFrom, aTo, b, bFrom, bTo); in testArrayType() 864 Assert.assertEquals(at.equals(a, aFrom, aTo, b, bFrom, bTo), eq); in testArrayType() local 865 Assert.assertEquals(at.equals(b, bFrom, bTo, a, aFrom, aTo), eq); in testArrayType() local 866 Assert.assertEquals(at.equals(anr, bnr), eq); in testArrayType() local 867 Assert.assertEquals(at.equals(bnr, anr), eq); in testArrayType() local 868 if (eq) { in testArrayType()
|
D | CopyMethods.java | 212 if (!eq(ai, tv)) { in checkArray() 228 static boolean eq(Object x, Object y) { in eq() method in CopyMethods
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentSkipListSetTest.java | 1012 static boolean eq(Integer i, int j) { in eq() method in ConcurrentSkipListSetTest
|
D | TreeSetTest.java | 1006 static boolean eq(Integer i, int j) { in eq() method in TreeSetTest
|
D | TreeMapTest.java | 1108 static boolean eq(Integer i, int j) {
|
D | ConcurrentSkipListMapTest.java | 1303 static boolean eq(Integer i, int j) {
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentSkipListSetTest.java | 981 static boolean eq(Integer i, int j) { in eq() method in ConcurrentSkipListSetTest
|
D | TreeSetTest.java | 982 static boolean eq(Integer i, int j) { in eq() method in TreeSetTest
|
D | TreeMapTest.java | 1085 static boolean eq(Integer i, int j) {
|
D | ConcurrentSkipListMapTest.java | 1280 static boolean eq(Integer i, int j) {
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 367 static boolean eq(java.lang.Object o1, java.lang.Object o2) { in eq() method in Collections
|