Home
last modified time | relevance | path

Searched refs:endExclusive (Results 1 – 23 of 23) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DLongStream.java787 public static LongStream range(long startInclusive, final long endExclusive) { in range() argument
788 if (startInclusive >= endExclusive) { in range()
790 } else if (endExclusive - startInclusive < 0) { in range()
795 long m = startInclusive + Long.divideUnsigned(endExclusive - startInclusive, 2) + 1; in range()
796 return concat(range(startInclusive, m), range(m, endExclusive)); in range()
799 new Streams.RangeLongSpliterator(startInclusive, endExclusive, false), false); in range()
DIntStream.java794 public static IntStream range(int startInclusive, int endExclusive) { in range() argument
795 if (startInclusive >= endExclusive) { in range()
799 new Streams.RangeIntSpliterator(startInclusive, endExclusive, false), false); in range()
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java681 T[] array, int startInclusive, int endExclusive) { in spliterator() argument
690 int[] array, int startInclusive, int endExclusive) { in spliterator() argument
699 long[] array, int startInclusive, int endExclusive) { in spliterator() argument
708 double[] array, int startInclusive, int endExclusive) { in spliterator() argument
717 T[] array, int startInclusive, int endExclusive) { in stream() argument
726 int[] array, int startInclusive, int endExclusive) { in stream() argument
735 long[] array, int startInclusive, int endExclusive) { in stream() argument
744 double[] array, int startInclusive, int endExclusive) { in stream() argument
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateImpl.java376 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
377 Objects.requireNonNull(endExclusive, "endExclusive"); in until()
378 ChronoLocalDate end = getChronology().date(endExclusive); in until()
DChronoZonedDateTimeImpl.java310 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
311 Objects.requireNonNull(endExclusive, "endExclusive"); in until()
313 … ChronoZonedDateTime<D> end = (ChronoZonedDateTime<D>) getChronology().zonedDateTime(endExclusive); in until()
DChronoLocalDateTimeImpl.java371 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
372 Objects.requireNonNull(endExclusive, "endExclusive"); in until()
374 … ChronoLocalDateTime<D> end = (ChronoLocalDateTime<D>) getChronology().localDateTime(endExclusive); in until()
DChronoLocalDate.java598 long until(Temporal endExclusive, TemporalUnit unit); in until() argument
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporal.java447 long until(Temporal endExclusive, TemporalUnit unit); in until() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java327 …spliterator(T @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in spliterator() argument
331 …literator(int @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in spliterator() argument
335 …iterator(long @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in spliterator() argument
339 …erator(double @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in spliterator() argument
343 …m T> stream(T @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in stream() argument
347 …am stream(int @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in stream() argument
351 …m stream(long @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in stream() argument
355 …stream(double @libcore.util.NonNull [] array, int startInclusive, int endExclusive) { throw new Ru… in stream() argument
/libcore/ojluni/src/main/java/java/util/
DArrays.java4802 public static <T> Spliterator<T> spliterator(T[] array, int startInclusive, int endExclusive) { in spliterator() argument
4803 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4841 public static Spliterator.OfInt spliterator(int[] array, int startInclusive, int endExclusive) { in spliterator() argument
4842 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4880 … public static Spliterator.OfLong spliterator(long[] array, int startInclusive, int endExclusive) { in spliterator() argument
4881 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4920 …lic static Spliterator.OfDouble spliterator(double[] array, int startInclusive, int endExclusive) { in spliterator() argument
4921 return Spliterators.spliterator(array, startInclusive, endExclusive, in spliterator()
4953 public static <T> Stream<T> stream(T[] array, int startInclusive, int endExclusive) { in stream() argument
4954 return StreamSupport.stream(spliterator(array, startInclusive, endExclusive), false); in stream()
[all …]
/libcore/ojluni/src/main/java/java/time/
DDuration.java465 public static Duration between(Temporal startInclusive, Temporal endExclusive) { in between() argument
467 return ofNanos(startInclusive.until(endExclusive, NANOS)); in between()
469 long secs = startInclusive.until(endExclusive, SECONDS); in between()
472 … nanos = endExclusive.getLong(NANO_OF_SECOND) - startInclusive.getLong(NANO_OF_SECOND); in between()
DYear.java907 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
908 Year end = Year.from(endExclusive); in until()
DYearMonth.java1039 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1040 YearMonth end = YearMonth.from(endExclusive); in until()
DOffsetTime.java1171 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1172 OffsetTime end = OffsetTime.from(endExclusive); in until()
DInstant.java1137 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1138 Instant end = Instant.from(endExclusive); in until()
DOffsetDateTime.java1648 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1649 OffsetDateTime end = OffsetDateTime.from(endExclusive); in until()
DLocalTime.java1378 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1379 LocalTime end = LocalTime.from(endExclusive); in until()
DZonedDateTime.java2112 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
2113 ZonedDateTime end = ZonedDateTime.from(endExclusive); in until()
DLocalDateTime.java1676 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1677 LocalDateTime end = LocalDateTime.from(endExclusive); in until()
DLocalDate.java1595 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
1596 LocalDate end = LocalDate.from(endExclusive); in until()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java300 public long until(Temporal endExclusive, TemporalUnit unit) { in until() argument
301 CopticDate end = getChronology().date(endExclusive); in until()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java141 java.time.temporal.Temporal startInclusive, java.time.temporal.Temporal endExclusive) { in between() argument
DOffsetDateTime.java363 java.time.temporal.Temporal endExclusive, java.time.temporal.TemporalUnit unit) { in until() argument