Home
last modified time | relevance | path

Searched refs:e2 (Results 1 – 25 of 34) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DEntryTest.java53 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 …]
DConcurrentSkipListSubSetTest.java347 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 …]
DTreeSubSetTest.java344 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 …]
DTreeMapTest.java366 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 …]
DTreeSubMapTest.java252 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 …]
DConcurrentSkipListSubMapTest.java365 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 …]
DConcurrentSkipListMapTest.java453 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 …]
DTreeSetTest.java393 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()
DConcurrentSkipListSetTest.java389 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/
DDualPivotQuicksort.java290 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 …]
DEnumSet.java234 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()
DAbstractSequentialList.java216 Iterator<? extends E> e2 = c.iterator(); in addAll() local
217 while (e2.hasNext()) { in addAll()
218 e1.add(e2.next()); in addAll()
DAbstractList.java519 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()
DArrays.java4192 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/
DInvalidPropertiesFormatExceptionTest.java36 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/
DEnumSet.java70 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/
DXMLReaderFactory.java198 } catch (IllegalAccessException e2) { in loadClass()
200 " found but cannot be loaded", e2); in loadClass()
DParserAdapter.java87 } catch (IllegalAccessException e2) { in ParserAdapter()
91 " found but cannot be loaded", e2); in ParserAdapter()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DAbstractMetricInstrumentation.java140 } catch (IOException e2) { in recordException()
141 throw new RuntimeException("Exception writing error file!", e2); in recordException()
/libcore/ojluni/src/main/java/java/util/stream/
DStreams.java856 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/
DExecutable.java393 MalformedParametersException e2 = in privateGetParameters()
396 e2.initCause(e); in privateGetParameters()
397 throw e2; in privateGetParameters()
/libcore/luni/src/test/java/libcore/java/io/
DFileInputStreamTest.java292 } 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/
DMockAbstractPreferences.java222 } catch (BackingStoreException e2) { in protectedAbstractMethod()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipOutputStreamTest.java290 } catch (IOException e2) { in test_write$BII_2()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest.java644 } catch (ClassNotFoundException e2) { in test_resolveClass()
645 fail("ClassNotFoundException : " + e2.getMessage()); in test_resolveClass()

12