/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 82 long delay, TimeUnit unit); in schedule() argument 97 long delay, TimeUnit unit); in schedule() argument 127 TimeUnit unit); in scheduleAtFixedRate() argument 154 TimeUnit unit); in scheduleWithFixedDelay() argument
|
D | BlockingDeque.java | 291 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 313 boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 347 E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 363 E pollLast(long timeout, TimeUnit unit) in pollLast() argument 480 boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 531 E poll(long timeout, TimeUnit unit) in poll() argument
|
D | Executors.java | 589 public boolean awaitTermination(long timeout, TimeUnit unit) 591 return e.awaitTermination(timeout, unit); 607 long timeout, TimeUnit unit) 609 return e.invokeAll(tasks, timeout, unit); 616 long timeout, TimeUnit unit) 618 return e.invokeAny(tasks, timeout, unit); 644 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 645 return e.schedule(command, delay, unit); 647 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { 648 return e.schedule(callable, delay, unit); [all …]
|
D | ScheduledThreadPoolExecutor.java | 211 public long getDelay(TimeUnit unit) { in getDelay() argument 212 return unit.convert(time - now(), NANOSECONDS); in getDelay() 486 private long triggerTime(long delay, TimeUnit unit) { in triggerTime() argument 487 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); in triggerTime() 521 TimeUnit unit) { in schedule() argument 522 if (command == null || unit == null) in schedule() 526 triggerTime(delay, unit))); in schedule() 537 TimeUnit unit) { in schedule() argument 538 if (callable == null || unit == null) in schedule() 542 triggerTime(delay, unit))); in schedule() [all …]
|
D | ExecutorService.java | 171 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 276 long timeout, TimeUnit unit) in invokeAll() argument 323 long timeout, TimeUnit unit) in invokeAny() argument
|
D | Semaphore.java | 379 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire() argument 381 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryAcquire() 551 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire() argument 554 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 | 1164 TimeUnit unit, in ThreadPoolExecutor() argument 1166 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1198 TimeUnit unit, in ThreadPoolExecutor() argument 1201 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1233 TimeUnit unit, in ThreadPoolExecutor() argument 1236 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1270 TimeUnit unit, in ThreadPoolExecutor() argument 1284 this.keepAliveTime = unit.toNanos(keepAliveTime); in ThreadPoolExecutor() 1423 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 1425 long nanos = unit.toNanos(timeout); in awaitTermination() [all …]
|
D | LinkedBlockingDeque.java | 374 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 378 long nanos = unit.toNanos(timeout); in offerFirst() 397 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 401 long nanos = unit.toNanos(timeout); in offerLast() 480 public E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 482 long nanos = unit.toNanos(timeout); in pollFirst() 498 public E pollLast(long timeout, TimeUnit unit) in pollLast() argument 500 long nanos = unit.toNanos(timeout); in pollLast() 625 public boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 627 return offerLast(e, timeout, unit); in offer() [all …]
|
D | Delayed.java | 30 long getDelay(TimeUnit unit); in getDelay() argument
|
D | Future.java | 138 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 | 171 public Future<V> poll(long timeout, TimeUnit unit) in poll() argument 173 return completionQueue.poll(timeout, unit); in poll()
|
D | AbstractExecutorService.java | 193 long timeout, TimeUnit unit) in invokeAny() argument 195 return doInvokeAny(tasks, true, unit.toNanos(timeout)); in invokeAny() 230 long timeout, TimeUnit unit) in invokeAll() argument 234 long nanos = unit.toNanos(timeout); in invokeAll()
|
D | CompletionService.java | 94 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll() argument
|
D | CyclicBarrier.java | 398 public int await(long timeout, TimeUnit unit) in await() argument 402 return dowait(true, unit.toNanos(timeout)); in await()
|
D | DelayQueue.java | 144 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() argument 220 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 221 long nanos = unit.toNanos(timeout); in poll()
|
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 com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit unit; in getRelativeTimeSpanString() local 144 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.SECONDS; in getRelativeTimeSpanString() 147 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.MINUTES; in getRelativeTimeSpanString() 153 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.HOURS; in getRelativeTimeSpanString() 156 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.DAYS; in getRelativeTimeSpanString() 197 unit = com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit.WEEKS; in getRelativeTimeSpanString() 224 return formatter.format(count, direction, unit); in getRelativeTimeSpanString()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Lock.java | 293 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 | 412 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() argument 414 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
|
/libcore/luni/src/test/resources/systemid/ |
D | recipt.dtd | 8 unit CDATA #IMPLIED> attribute
|
/libcore/luni/src/test/resources/ |
D | recipt.dtd | 8 unit CDATA #IMPLIED> attribute
|