/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 82 long delay, TimeUnit unit); in schedule() argument 98 long delay, TimeUnit unit); in schedule() argument 142 TimeUnit unit); in scheduleAtFixedRate() argument 182 TimeUnit unit); in scheduleWithFixedDelay() argument
|
D | BlockingDeque.java | 295 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 317 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 351 E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 367 E pollLast(long timeout, TimeUnit unit) in pollLast() argument 484 boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 535 E poll(long timeout, TimeUnit unit) in poll() argument
|
D | Executors.java | 596 public boolean awaitTermination(long timeout, TimeUnit unit) 598 return e.awaitTermination(timeout, unit); 614 long timeout, TimeUnit unit) 616 return e.invokeAll(tasks, timeout, unit); 623 long timeout, TimeUnit unit) 625 return e.invokeAny(tasks, timeout, unit); 651 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 652 return e.schedule(command, delay, unit); 654 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { 655 return e.schedule(callable, delay, unit); [all …]
|
D | ScheduledThreadPoolExecutor.java | 211 public long getDelay(TimeUnit unit) { in getDelay() argument 212 return unit.convert(time - System.nanoTime(), NANOSECONDS); in getDelay() 491 private long triggerTime(long delay, TimeUnit unit) { in triggerTime() argument 492 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); in triggerTime() 526 TimeUnit unit) { in schedule() argument 527 if (command == null || unit == null) in schedule() 531 triggerTime(delay, unit), in schedule() 543 TimeUnit unit) { in schedule() argument 544 if (callable == null || unit == null) in schedule() 548 triggerTime(delay, unit), in schedule() [all …]
|
D | ExecutorService.java | 171 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 280 long timeout, TimeUnit unit) in invokeAll() argument 329 long timeout, TimeUnit unit) in invokeAny() argument
|
D | Semaphore.java | 384 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire() argument 386 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryAcquire() 560 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire() argument 563 return sync.tryAcquireSharedNanos(permits, unit.toNanos(timeout)); in tryAcquire()
|
D | BlockingQueue.java | 224 boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 248 E poll(long timeout, TimeUnit unit) in poll() argument
|
D | CountDownLatch.java | 247 public boolean await(long timeout, TimeUnit unit) in await() argument 249 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
|
D | ThreadPoolExecutor.java | 1184 TimeUnit unit, in ThreadPoolExecutor() argument 1186 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1218 TimeUnit unit, in ThreadPoolExecutor() argument 1221 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1253 TimeUnit unit, in ThreadPoolExecutor() argument 1256 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1290 TimeUnit unit, in ThreadPoolExecutor() argument 1304 this.keepAliveTime = unit.toNanos(keepAliveTime); in ThreadPoolExecutor() 1443 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 1445 long nanos = unit.toNanos(timeout); in awaitTermination() [all …]
|
D | LinkedBlockingDeque.java | 377 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 381 long nanos = unit.toNanos(timeout); in offerFirst() 400 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 404 long nanos = unit.toNanos(timeout); in offerLast() 483 public E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 485 long nanos = unit.toNanos(timeout); in pollFirst() 501 public E pollLast(long timeout, TimeUnit unit) in pollLast() argument 503 long nanos = unit.toNanos(timeout); in pollLast() 627 public boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 629 return offerLast(e, timeout, unit); in offer() [all …]
|
D | Delayed.java | 30 long getDelay(TimeUnit unit); in getDelay() argument
|
D | AbstractExecutorService.java | 199 long timeout, TimeUnit unit) in invokeAny() argument 201 return doInvokeAny(tasks, true, unit.toNanos(timeout)); in invokeAny() 231 long timeout, TimeUnit unit) in invokeAll() argument 235 final long nanos = unit.toNanos(timeout); in invokeAll()
|
D | Future.java | 139 V get(long timeout, TimeUnit unit) in get() argument
|
D | TransferQueue.java | 105 boolean tryTransfer(E e, long timeout, TimeUnit unit) in tryTransfer() argument
|
D | ExecutorCompletionService.java | 173 public Future<V> poll(long timeout, TimeUnit unit) in poll() argument 175 return completionQueue.poll(timeout, unit); in poll()
|
D | CyclicBarrier.java | 403 public int await(long timeout, TimeUnit unit) in await() argument 407 return dowait(true, unit.toNanos(timeout)); in await()
|
D | CompletionService.java | 94 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll() argument
|
D | FutureTask.java | 170 public V get(long timeout, TimeUnit unit) in get() argument 172 if (unit == null) in get() 176 (s = awaitDone(true, unit.toNanos(timeout))) <= COMPLETING) in get()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | RelativeDateTimeFormatter.java | 139 android.icu.text.RelativeDateTimeFormatter.RelativeUnit unit; in getRelativeTimeSpanString() local 144 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.SECONDS; in getRelativeTimeSpanString() 147 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.MINUTES; in getRelativeTimeSpanString() 153 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.HOURS; in getRelativeTimeSpanString() 156 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.DAYS; in getRelativeTimeSpanString() 197 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.WEEKS; in getRelativeTimeSpanString() 224 return formatter.format(count, direction, unit); in getRelativeTimeSpanString()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | CompletedFuture.java | 74 public V get(long timeout, TimeUnit unit) throws ExecutionException { in get() argument 75 if (unit == null) in get()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Lock.java | 294 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() argument
|
D | Condition.java | 345 boolean await(long time, TimeUnit unit) throws InterruptedException; in await() argument
|
D | ReentrantLock.java | 417 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() argument 419 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
|
/libcore/luni/src/test/resources/ |
D | recipt.dtd | 8 unit CDATA #IMPLIED> attribute
|
/libcore/luni/src/test/resources/systemid/ |
D | recipt.dtd | 8 unit CDATA #IMPLIED> attribute
|