Home
last modified time | relevance | path

Searched refs:e1 (Results 1 – 25 of 44) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/
DSet.java465 static <E> Set<E> of(E e1) { in of() argument
466 return new ImmutableCollections.Set1<>(e1); in of()
482 static <E> Set<E> of(E e1, E e2) { in of() argument
483 return new ImmutableCollections.Set2<>(e1, e2); in of()
500 static <E> Set<E> of(E e1, E e2, E e3) { in of() argument
501 return new ImmutableCollections.SetN<>(e1, e2, e3); in of()
519 static <E> Set<E> of(E e1, E e2, E e3, E e4) { in of() argument
520 return new ImmutableCollections.SetN<>(e1, e2, e3, e4); in of()
539 static <E> Set<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument
540 return new ImmutableCollections.SetN<>(e1, e2, e3, e4, e5); in of()
[all …]
DList.java824 static <E> List<E> of(E e1) { in of() argument
825 return new ImmutableCollections.List1<>(e1); in of()
841 static <E> List<E> of(E e1, E e2) { in of() argument
842 return new ImmutableCollections.List2<>(e1, e2); in of()
859 static <E> List<E> of(E e1, E e2, E e3) { in of() argument
860 return new ImmutableCollections.ListN<>(e1, e2, e3); in of()
878 static <E> List<E> of(E e1, E e2, E e3, E e4) { in of() argument
879 return new ImmutableCollections.ListN<>(e1, e2, e3, e4); in of()
898 static <E> List<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument
899 return new ImmutableCollections.ListN<>(e1, e2, e3, e4, e5); in of()
[all …]
DEnumSet.java234 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2) { in of() argument
235 EnumSet<E> result = noneOf(e1.getDeclaringClass()); in of()
236 result.add(e1); in of()
257 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3) { in of() argument
258 EnumSet<E> result = noneOf(e1.getDeclaringClass()); in of()
259 result.add(e1); in of()
282 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4) { in of() argument
283 EnumSet<E> result = noneOf(e1.getDeclaringClass()); in of()
284 result.add(e1); in of()
309 public static <E extends Enum<E>> EnumSet<E> of(E e1, E e2, E e3, E e4, in of() argument
[all …]
DDualPivotQuicksort.java291 int e1 = e2 - seventh; in sort() local
296 if (a[e2] < a[e1]) { int t = a[e2]; a[e2] = a[e1]; a[e1] = t; } in sort()
299 if (t < a[e1]) { a[e2] = a[e1]; a[e1] = t; } in sort()
303 if (t < a[e1]) { a[e2] = a[e1]; a[e1] = 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()
406 if (less < e1 && e5 < great) { in sort()
739 int e1 = e2 - seventh; in sort() local
744 if (a[e2] < a[e1]) { long t = a[e2]; a[e2] = a[e1]; a[e1] = t; } in sort()
747 if (t < a[e1]) { a[e2] = a[e1]; a[e1] = t; } in sort()
[all …]
DImmutableCollections.java181 private final E e1; field in ImmutableCollections.List2
183 List2(E e0, E e1) { in List2() argument
185 this.e1 = Objects.requireNonNull(e1); in List2()
199 return e1; in get()
205 return o.equals(e0) || o.equals(e1); // implicit nullcheck of o in contains()
211 return 31 * hash + e1.hashCode(); in hashCode()
219 return new CollSer(CollSer.IMM_LIST, e0, e1); in writeReplace()
375 final E e1; field in ImmutableCollections.Set2
377 Set2(E e0, E e1) { in Set2() argument
378 if (e0.equals(Objects.requireNonNull(e1))) { // implicit nullcheck of e0 in Set2()
[all …]
DAbstractSequentialList.java215 ListIterator<E> e1 = listIterator(index); in addAll() local
218 e1.add(e2.next()); in addAll()
DArrays.java4191 Object e1 = a1[i]; in deepEquals() local
4194 if (e1 == e2) in deepEquals()
4196 if (e1 == null) in deepEquals()
4200 boolean eq = deepEquals0(e1, e2); in deepEquals()
4208 static boolean deepEquals0(Object e1, Object e2) { in deepEquals0() argument
4209 assert e1 != null; in deepEquals0()
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()
[all …]
DAbstractList.java543 ListIterator<E> e1 = listIterator(); in equals()
545 while (e1.hasNext() && e2.hasNext()) { in equals()
546 E o1 = e1.next(); in equals()
551 return !(e1.hasNext() || e2.hasNext()); in equals()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java306 } catch (SQLException e1) { in testGetPrecision()
307 System.out.println("ResultSetMetaDataTest.testGetPrecision()"+e1.getMessage()); in testGetPrecision()
308 e1.printStackTrace(); in testGetPrecision()
394 } catch (SQLException e1) { in testGetSchema()
395 fail("ResultSetMetaDataTest.testGetScale()"+e1.getMessage()); in testGetSchema()
396 e1.printStackTrace(); in testGetSchema()
431 } catch (SQLException e1) { in testisAutoIncrement()
432 fail("ResultSetMetaDataTest.testGetScale()"+e1.getMessage()); in testisAutoIncrement()
433 e1.printStackTrace(); in testisAutoIncrement()
469 } catch (SQLException e1) { in testIsCaseSensitive()
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DSet.annotated.java68 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1) { throw new Runtime… in of() argument
70 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
72 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
74 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
76 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
78 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
80 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
82 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
84 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
86 …atic <E> java.util.Set<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
DList.annotated.java92 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1) { throw new Runtime… in of() argument
94 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
96 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
98 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
100 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
102 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
104 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
106 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
108 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
110 …tic <E> java.util.List<@libcore.util.NonNull E> of(@libcore.util.NonNull E e1, @libcore.util.NonNu… in of() argument
/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.java197 } catch (ClassNotFoundException e1) { in loadClass()
199 " not found", e1); in loadClass()
/libcore/jsr166-tests/src/test/java/jsr166/
DTreeSubSetTest.java341 Object e1 = q.lower(three); in testLower() local
342 assertEquals(two, e1); in testLower()
359 Object e1 = q.higher(three); in testHigher() local
360 assertEquals(four, e1); in testHigher()
377 Object e1 = q.floor(three); in testFloor() local
378 assertEquals(three, e1); in testFloor()
395 Object e1 = q.ceiling(three); in testCeiling() local
396 assertEquals(three, e1); in testCeiling()
820 Object e1 = q.lower(m3); in testDescendingLower() local
821 assertEquals(m2, e1); in testDescendingLower()
[all …]
DConcurrentSkipListSubSetTest.java344 Object e1 = q.lower(three); in testLower() local
345 assertEquals(two, e1); in testLower()
362 Object e1 = q.higher(three); in testHigher() local
363 assertEquals(four, e1); in testHigher()
380 Object e1 = q.floor(three); in testFloor() local
381 assertEquals(three, e1); in testFloor()
398 Object e1 = q.ceiling(three); in testCeiling() local
399 assertEquals(three, e1); in testCeiling()
834 Object e1 = q.lower(m3); in testDescendingLower() local
835 assertEquals(m2, e1); in testDescendingLower()
[all …]
DTreeMapTest.java363 Map.Entry e1 = map.lowerEntry(three);
364 assertEquals(two, e1.getKey());
381 Map.Entry e1 = map.higherEntry(three);
382 assertEquals(four, e1.getKey());
399 Map.Entry e1 = map.floorEntry(three);
400 assertEquals(three, e1.getKey());
417 Map.Entry e1 = map.ceilingEntry(three);
418 assertEquals(three, e1.getKey());
435 Object e1 = q.lowerKey(three);
436 assertEquals(two, e1);
[all …]
DTreeSubMapTest.java249 Map.Entry e1 = map.lowerEntry(three);
250 assertEquals(two, e1.getKey());
267 Map.Entry e1 = map.higherEntry(three);
268 assertEquals(four, e1.getKey());
285 Map.Entry e1 = map.floorEntry(three);
286 assertEquals(three, e1.getKey());
303 Map.Entry e1 = map.ceilingEntry(three);
304 assertEquals(three, e1.getKey());
801 Map.Entry e1 = map.lowerEntry(m3);
802 assertEquals(m2, e1.getKey());
[all …]
DConcurrentSkipListSubMapTest.java362 Map.Entry e1 = map.lowerEntry(three);
363 assertEquals(two, e1.getKey());
380 Map.Entry e1 = map.higherEntry(three);
381 assertEquals(four, e1.getKey());
398 Map.Entry e1 = map.floorEntry(three);
399 assertEquals(three, e1.getKey());
416 Map.Entry e1 = map.ceilingEntry(three);
417 assertEquals(three, e1.getKey());
1036 Map.Entry e1 = map.lowerEntry(m3);
1037 assertEquals(m2, e1.getKey());
[all …]
DConcurrentSkipListMapTest.java450 Map.Entry e1 = map.lowerEntry(three);
451 assertEquals(two, e1.getKey());
468 Map.Entry e1 = map.higherEntry(three);
469 assertEquals(four, e1.getKey());
486 Map.Entry e1 = map.floorEntry(three);
487 assertEquals(three, e1.getKey());
504 Map.Entry e1 = map.ceilingEntry(three);
505 assertEquals(three, e1.getKey());
554 Object e1 = q.lowerKey(three);
555 assertEquals(two, e1);
[all …]
DTreeSetTest.java390 Object e1 = q.lower(three); in testLower() local
391 assertEquals(two, e1); in testLower()
408 Object e1 = q.higher(three); in testHigher() local
409 assertEquals(four, e1); in testHigher()
426 Object e1 = q.floor(three); in testFloor() local
427 assertEquals(three, e1); in testFloor()
444 Object e1 = q.ceiling(three); in testCeiling() local
445 assertEquals(three, e1); in testCeiling()
DConcurrentSkipListSetTest.java386 Object e1 = q.lower(three); in testLower() local
387 assertEquals(two, e1); in testLower()
404 Object e1 = q.higher(three); in testHigher() local
405 assertEquals(four, e1); in testHigher()
422 Object e1 = q.floor(three); in testFloor() local
423 assertEquals(three, e1); in testFloor()
440 Object e1 = q.ceiling(three); in testCeiling() local
441 assertEquals(three, e1); in testCeiling()
/libcore/ojluni/src/main/java/java/util/stream/
DStreams.java852 catch (Throwable e1) { in composeWithExceptions()
858 e1.addSuppressed(e2); in composeWithExceptions()
861 throw e1; in composeWithExceptions()
881 catch (Throwable e1) {
887 e1.addSuppressed(e2);
890 throw e1;
/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidator1Test.java201 } catch (NoSuchProviderException e1) { in testCertPathValidator05()
229 } catch (NoSuchAlgorithmException e1) { in testCertPathValidator06()
269 } catch (IllegalArgumentException e1) { in testCertPathValidator08()
296 } catch (NoSuchAlgorithmException e1) { in testCertPathValidator09()
DCertPathBuilder1Test.java184 } catch (NoSuchProviderException e1) { in testCertPathBuilder05()
210 } catch (NoSuchAlgorithmException e1) { in testCertPathBuilder06()
248 } catch (IllegalArgumentException e1) { in testCertPathBuilder08()
274 } catch (NoSuchAlgorithmException e1) { in testCertPathBuilder09()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java188 } catch (IllegalArgumentException e1) { in test_removeJ()
190 } catch (InterruptedException e1) { in test_removeJ()

12