Home
last modified time | relevance | path

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

12345

/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()
DExecutorService.java200 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination()
309 long timeout, TimeUnit unit) in invokeAll()
358 long timeout, TimeUnit unit) in invokeAny()
DDelayed.java59 long getDelay(TimeUnit unit); in getDelay()
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()
DCompletionService.java123 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll()
DTransferQueue.java134 boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer()
/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/
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()
/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/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/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()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousSocketChannel.java403 TimeUnit unit, in read()
513 TimeUnit unit, in read()
560 TimeUnit unit, in write()
664 TimeUnit unit, in write()
/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/ojluni/src/main/java/java/nio/file/
DWatchService.java159 WatchKey poll(long timeout, TimeUnit unit) in poll()
/libcore/luni/src/test/java/libcore/java/time/
DOffsetTimeTest.java70 private static void assertPlusIsNoop(long amount, TemporalUnit unit) { in assertPlusIsNoop()
/libcore/ojluni/src/test/java/nio/file/attribute/
DFileTimeTest.java117 for (int i=0; i<100; i++) { to(rand.nextLong(), unit); } in main() local
295 static void eqTime(long value, TimeUnit unit, Instant instant) { in eqTime()
322 static void to(long v, TimeUnit unit) { in to()
333 static void ts(long v, TimeUnit unit, String expected) { in ts()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock()

12345