/libcore/jsr166-tests/src/test/java/jsr166/ |
D | EntryTest.java | 53 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testConstructor3() local 54 Map.Entry e = new AbstractMap.SimpleEntry(e2); in testConstructor3() 74 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testEquals() local 75 Map.Entry e = new AbstractMap.SimpleEntry(e2); in testEquals() 78 assertEquals(e2, e); in testEquals() 79 assertEquals(e2.hashCode(), e.hashCode()); in testEquals() 82 assertEquals(e2, s2); in testEquals() 83 assertEquals(e2.hashCode(), s2.hashCode()); in testEquals() 92 Map.Entry e2 = new AbstractMap.SimpleEntry(k1, v1); in testNotEquals() local 94 assertFalse(e2.equals(e)); in testNotEquals() [all …]
|
D | ConcurrentSkipListSubSetTest.java | 347 Object e2 = q.lower(six); in testLower() local 348 assertEquals(five, e2); in testLower() 365 Object e2 = q.higher(zero); in testHigher() local 366 assertEquals(one, e2); in testHigher() 383 Object e2 = q.floor(six); in testFloor() local 384 assertEquals(five, e2); in testFloor() 401 Object e2 = q.ceiling(zero); in testCeiling() local 402 assertEquals(one, e2); in testCeiling() 837 Object e2 = q.lower(m6); in testDescendingLower() local 838 assertEquals(m5, e2); in testDescendingLower() [all …]
|
D | TreeSubSetTest.java | 344 Object e2 = q.lower(six); in testLower() local 345 assertEquals(five, e2); in testLower() 362 Object e2 = q.higher(zero); in testHigher() local 363 assertEquals(one, e2); in testHigher() 380 Object e2 = q.floor(six); in testFloor() local 381 assertEquals(five, e2); in testFloor() 398 Object e2 = q.ceiling(zero); in testCeiling() local 399 assertEquals(one, e2); in testCeiling() 823 Object e2 = q.lower(m6); in testDescendingLower() local 824 assertEquals(m5, e2); in testDescendingLower() [all …]
|
D | TreeMapTest.java | 366 Map.Entry e2 = map.lowerEntry(six); 367 assertEquals(five, e2.getKey()); 384 Map.Entry e2 = map.higherEntry(zero); 385 assertEquals(one, e2.getKey()); 402 Map.Entry e2 = map.floorEntry(six); 403 assertEquals(five, e2.getKey()); 420 Map.Entry e2 = map.ceilingEntry(zero); 421 assertEquals(one, e2.getKey()); 438 Object e2 = q.lowerKey(six); 439 assertEquals(five, e2); [all …]
|
D | TreeSubMapTest.java | 252 Map.Entry e2 = map.lowerEntry(six); 253 assertEquals(five, e2.getKey()); 270 Map.Entry e2 = map.higherEntry(zero); 271 assertEquals(one, e2.getKey()); 288 Map.Entry e2 = map.floorEntry(six); 289 assertEquals(five, e2.getKey()); 306 Map.Entry e2 = map.ceilingEntry(zero); 307 assertEquals(one, e2.getKey()); 804 Map.Entry e2 = map.lowerEntry(m6); 805 assertEquals(m5, e2.getKey()); [all …]
|
D | ConcurrentSkipListSubMapTest.java | 365 Map.Entry e2 = map.lowerEntry(six); 366 assertEquals(five, e2.getKey()); 383 Map.Entry e2 = map.higherEntry(zero); 384 assertEquals(one, e2.getKey()); 401 Map.Entry e2 = map.floorEntry(six); 402 assertEquals(five, e2.getKey()); 419 Map.Entry e2 = map.ceilingEntry(zero); 420 assertEquals(one, e2.getKey()); 1039 Map.Entry e2 = map.lowerEntry(m6); 1040 assertEquals(m5, e2.getKey()); [all …]
|
D | ConcurrentSkipListMapTest.java | 453 Map.Entry e2 = map.lowerEntry(six); 454 assertEquals(five, e2.getKey()); 471 Map.Entry e2 = map.higherEntry(zero); 472 assertEquals(one, e2.getKey()); 489 Map.Entry e2 = map.floorEntry(six); 490 assertEquals(five, e2.getKey()); 507 Map.Entry e2 = map.ceilingEntry(zero); 508 assertEquals(one, e2.getKey()); 557 Object e2 = q.lowerKey(six); 558 assertEquals(five, e2); [all …]
|
D | TreeSetTest.java | 393 Object e2 = q.lower(six); in testLower() local 394 assertEquals(five, e2); in testLower() 411 Object e2 = q.higher(zero); in testHigher() local 412 assertEquals(one, e2); in testHigher() 429 Object e2 = q.floor(six); in testFloor() local 430 assertEquals(five, e2); in testFloor() 447 Object e2 = q.ceiling(zero); in testCeiling() local 448 assertEquals(one, e2); in testCeiling()
|
D | ConcurrentSkipListSetTest.java | 389 Object e2 = q.lower(six); in testLower() local 390 assertEquals(five, e2); in testLower() 407 Object e2 = q.higher(zero); in testHigher() local 408 assertEquals(one, e2); in testHigher() 425 Object e2 = q.floor(six); in testFloor() local 426 assertEquals(five, e2); in testFloor() 443 Object e2 = q.ceiling(zero); in testCeiling() local 444 assertEquals(one, e2); in testCeiling()
|
/libcore/ojluni/src/main/java/java/util/ |
D | DualPivotQuicksort.java | 290 int e2 = e3 - seventh; in sort() local 291 int e1 = e2 - seventh; in sort() 296 if (a[e2] < a[e1]) { int t = a[e2]; a[e2] = a[e1]; a[e1] = t; } in sort() 298 if (a[e3] < a[e2]) { int t = a[e3]; a[e3] = a[e2]; a[e2] = t; in sort() 299 if (t < a[e1]) { a[e2] = a[e1]; a[e1] = t; } in sort() 302 if (t < a[e2]) { a[e3] = a[e2]; a[e2] = t; in sort() 303 if (t < a[e1]) { a[e2] = a[e1]; a[e1] = t; } in sort() 308 if (t < a[e2]) { a[e3] = a[e2]; a[e2] = t; in sort() 309 if (t < a[e1]) { a[e2] = a[e1]; a[e1] = t; } in sort() 318 if (a[e1] != a[e2] && a[e2] != a[e3] && a[e3] != a[e4] && a[e4] != a[e5]) { in sort() [all …]
|
D | EnumSet.java | 234 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) { in of() argument 237 result.add(e2); in of() 257 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) { in of() argument 260 result.add(e2); in of() 282 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) { in of() argument 285 result.add(e2); in of() 309 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4, in of() argument 314 result.add(e2); in of()
|
D | AbstractSequentialList.java | 216 Iterator<? extends E> e2 = c.iterator(); in addAll() local 217 while (e2.hasNext()) { in addAll() 218 e1.add(e2.next()); in addAll()
|
D | AbstractList.java | 519 ListIterator<?> e2 = ((List<?>) o).listIterator(); in equals() local 520 while (e1.hasNext() && e2.hasNext()) { in equals() 522 Object o2 = e2.next(); in equals() 526 return !(e1.hasNext() || e2.hasNext()); in equals()
|
D | Arrays.java | 4192 Object e2 = a2[i]; in deepEquals() local 4194 if (e1 == e2) in deepEquals() 4200 boolean eq = deepEquals0(e1, e2); in deepEquals() 4208 static boolean deepEquals0(Object e1, Object e2) { in deepEquals0() argument 4211 if (e1 instanceof Object[] && e2 instanceof Object[]) in deepEquals0() 4212 eq = deepEquals ((Object[]) e1, (Object[]) e2); in deepEquals0() 4213 else if (e1 instanceof byte[] && e2 instanceof byte[]) in deepEquals0() 4214 eq = equals((byte[]) e1, (byte[]) e2); in deepEquals0() 4215 else if (e1 instanceof short[] && e2 instanceof short[]) in deepEquals0() 4216 eq = equals((short[]) e1, (short[]) e2); in deepEquals0() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | InvalidPropertiesFormatExceptionTest.java | 36 InvalidPropertiesFormatException e2 = new InvalidPropertiesFormatException(e); in testConstructorArgs() local 37 assertSame(e, e2.getCause()); in testConstructorArgs() 38 assertEquals(e.toString(), e2.getMessage()); in testConstructorArgs()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | EnumSet.java | 70 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E e1, E e2) { in of() argument 74 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E e1, E e2, E e3) { in of() argument 78 public static <E extends java.lang.Enum<E>> java.util.EnumSet<E> of(E e1, E e2, E e3, E e4) { in of() argument 83 E e1, E e2, E e3, E e4, E e5) { in of() argument
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | XMLReaderFactory.java | 198 } catch (IllegalAccessException e2) { in loadClass() 200 " found but cannot be loaded", e2); in loadClass()
|
D | ParserAdapter.java | 87 } catch (IllegalAccessException e2) { in ParserAdapter() 91 " found but cannot be loaded", e2); in ParserAdapter()
|
/libcore/metrictests/memory/apps/src/libcore/heapdumper/ |
D | AbstractMetricInstrumentation.java | 140 } catch (IOException e2) { in recordException() 141 throw new RuntimeException("Exception writing error file!", e2); in recordException()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Streams.java | 856 catch (Throwable e2) { in composeWithExceptions() 858 e1.addSuppressed(e2); in composeWithExceptions() 885 catch (Throwable e2) { 887 e1.addSuppressed(e2);
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Executable.java | 393 MalformedParametersException e2 = in privateGetParameters() 396 e2.initCause(e); in privateGetParameters() 397 throw e2; in privateGetParameters()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 292 } catch (ErrnoException e2) { in allocateEmptyFile() 293 throw new IOException("Failed to truncate: " + file, e2); in allocateEmptyFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | MockAbstractPreferences.java | 222 } catch (BackingStoreException e2) { in protectedAbstractMethod()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipOutputStreamTest.java | 290 } catch (IOException e2) { in test_write$BII_2()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 644 } catch (ClassNotFoundException e2) { in test_resolveClass() 645 fail("ClassNotFoundException : " + e2.getMessage()); in test_resolveClass()
|