Home
last modified time | relevance | path

Searched refs:e2 (Results 1 – 25 of 32) 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 …]
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 …]
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 …]
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.java4195 Object e2 = a2[i]; in deepEquals() local
4197 if (e1 == e2) in deepEquals()
4200 if (e1 == null || e2 == null) in deepEquals()
4204 boolean eq = deepEquals0(e1, e2); in deepEquals()
4212 static boolean deepEquals0(Object e1, Object e2) { in deepEquals0() argument
4215 Class<?> cl2 = e2.getClass().getComponentType(); in deepEquals0()
4221 return deepEquals ((Object[]) e1, (Object[]) e2); in deepEquals0()
4223 return equals((byte[]) e1, (byte[]) e2); in deepEquals0()
4225 return equals((short[]) e1, (short[]) e2); in deepEquals0()
4227 return equals((int[]) e1, (int[]) 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/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java196 } catch (IllegalAccessException e2) { in loadClass()
198 " found but cannot be loaded", e2); in loadClass()
DParserAdapter.java86 } catch (IllegalAccessException e2) { in ParserAdapter()
90 " 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.java291 } catch (ErrnoException e2) { in allocateEmptyFile()
292 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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java270 } catch (NullPointerException e2) { in test_ConstructorLjava_lang_StringLjava_lang_String()
316 } catch (NullPointerException e2) { in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale()
416 } catch (NullPointerException e2) { in test_ConstructorLjava_io_FileLjava_lang_String()
457 } catch (NullPointerException e2) { in test_ConstructorLjava_io_FileLjava_lang_StringLjava_util_Locale()
547 } catch (NullPointerException e2) { in test_ConstructorLjava_io_OutputStreamLjava_lang_String()
589 } catch (NullPointerException e2) { in test_ConstructorLjava_io_OutputStreamLjava_lang_StringLjava_util_Locale()

12