Home
last modified time | relevance | path

Searched defs:unit (Results 1 – 25 of 91) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/util/concurrent/
DScheduledExecutorService.java111 long delay, TimeUnit unit); in schedule()
127 long delay, TimeUnit unit); in schedule()
171 TimeUnit unit); in scheduleAtFixedRate()
211 TimeUnit unit); in scheduleWithFixedDelay()
DBlockingDeque.java324 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst()
346 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast()
380 E pollFirst(long timeout, TimeUnit unit) in pollFirst()
396 E pollLast(long timeout, TimeUnit unit) in pollLast()
513 boolean offer(E e, long timeout, TimeUnit unit) in offer()
564 E poll(long timeout, TimeUnit unit) in poll()
DBlockingQueue.java253 boolean offer(E e, long timeout, TimeUnit unit) in offer()
277 E poll(long timeout, TimeUnit unit) in poll()
DFuture.java168 V get(long timeout, TimeUnit unit) in get()
DTransferQueue.java134 boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer()
DCompletionService.java123 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporal.java152 boolean isSupported(TemporalUnit unit); in isSupported()
297 Temporal plus(long amountToAdd, TemporalUnit unit); in plus()
369 default Temporal minus(long amountToSubtract, TemporalUnit unit) { in minus()
447 long until(Temporal endExclusive, TemporalUnit unit); in until()
DTemporalAmount.java117 long get(TemporalUnit unit); in get()
/libcore/ojluni/src/test/java/time/test/java/time/
DMockSimplePeriod.java95 private final TemporalUnit unit; field in MockSimplePeriod
107 public static MockSimplePeriod of(long amount, TemporalUnit unit) { in of()
111 private MockSimplePeriod(long amount, TemporalUnit unit) { in MockSimplePeriod()
121 public long get(TemporalUnit unit) { in get()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoUnit.java123 …public void test_unitType(ChronoUnit unit, boolean isDateBased, boolean isTimeBased, boolean isDur… in test_unitType()
169 …public void test_unitAndTemporal(ChronoUnit unit, Temporal base, boolean isSupportedBy, long amoun… in test_unitAndTemporal()
184 assertEquals(ChronoUnit.valueOf(unit.name()), unit); in test_valueOf() local
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDate.java409 default boolean isSupported(TemporalUnit unit) { in isSupported()
458 default ChronoLocalDate plus(long amountToAdd, TemporalUnit unit) { in plus()
482 default ChronoLocalDate minus(long amountToSubtract, TemporalUnit unit) { in minus()
598 long until(Temporal endExclusive, TemporalUnit unit); in until()
DChronoLocalDateTime.java250 default boolean isSupported(TemporalUnit unit) { in isSupported()
293 ChronoLocalDateTime<D> plus(long amountToAdd, TemporalUnit unit); in plus()
311 default ChronoLocalDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus()
DChronoLocalDateImpl.java198 public D plus(long amountToAdd, TemporalUnit unit) { in plus()
224 public D minus(long amountToSubtract, TemporalUnit unit) { in minus()
376 public long until(Temporal endExclusive, TemporalUnit unit) { in until()
DChronoZonedDateTime.java397 default boolean isSupported(TemporalUnit unit) { in isSupported()
440 ChronoZonedDateTime<D> plus(long amountToAdd, TemporalUnit unit); in plus()
458 default ChronoZonedDateTime<D> minus(long amountToSubtract, TemporalUnit unit) { in minus()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/
DTCKChronoUnitSerialization.java118 public void test_unitType(ChronoUnit unit) throws IOException, ClassNotFoundException { in test_unitType()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousSocketChannelImpl.java219 TimeUnit unit, in implRead()
228 TimeUnit unit, in read()
289 TimeUnit unit, in read()
305 TimeUnit unit, in read()
328 TimeUnit unit, in implWrite()
337 TimeUnit unit, in write()
393 TimeUnit unit, in write()
407 TimeUnit unit, in write()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DExecutors.java213 public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) in awaitTermination()
239 java.util.concurrent.TimeUnit unit) in invokeAll()
253 java.util.concurrent.TimeUnit unit) in invokeAny()
277 java.lang.Runnable command, long delay, java.util.concurrent.TimeUnit unit) { in schedule()
284 java.util.concurrent.TimeUnit unit) { in schedule()
292 java.util.concurrent.TimeUnit unit) { in scheduleAtFixedRate()
300 java.util.concurrent.TimeUnit unit) { in scheduleWithFixedDelay()
DLinkedBlockingDeque.java100 public boolean offerFirst(E e, long timeout, java.util.concurrent.TimeUnit unit) in offerFirst()
105 public boolean offerLast(E e, long timeout, java.util.concurrent.TimeUnit unit) in offerLast()
134 public E pollFirst(long timeout, java.util.concurrent.TimeUnit unit) in pollFirst()
139 public E pollLast(long timeout, java.util.concurrent.TimeUnit unit) in pollLast()
180 public boolean offer(E e, long timeout, java.util.concurrent.TimeUnit unit) in offer()
197 public E poll(long timeout, java.util.concurrent.TimeUnit unit) in poll()
/libcore/ojluni/src/main/java/java/nio/file/
DWatchService.java159 WatchKey poll(long timeout, TimeUnit unit) in poll()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java57 private final TimeUnit unit; field in FileTime
77 private FileTime(long value, TimeUnit unit, Instant instant) { in FileTime()
95 public static FileTime from(long value, TimeUnit unit) { in from()
141 public long to(TimeUnit unit) { in to()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronoZonedDateTimeTest.java110 public ChronoZonedDateTime plus(long amountToAdd, TemporalUnit unit) { in plus()
115 public long until(Temporal endExclusive, TemporalUnit unit) { in until()
/libcore/luni/src/test/java/libcore/java/time/
DOffsetTimeTest.java70 private static void assertPlusIsNoop(long amount, TemporalUnit unit) { in assertPlusIsNoop()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock()
DCondition.java374 boolean await(long time, TimeUnit unit) throws InterruptedException; in await()
/libcore/ojluni/src/main/java/java/time/
DYear.java396 public boolean isSupported(TemporalUnit unit) { in isSupported()
702 public Year plus(long amountToAdd, TemporalUnit unit) { in plus()
778 public Year minus(long amountToSubtract, TemporalUnit unit) { in minus()
907 public long until(Temporal endExclusive, TemporalUnit unit) { in until()

1234