/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 83 long delay, TimeUnit unit); in schedule() argument 98 long delay, TimeUnit unit); in schedule() argument 128 TimeUnit unit); in scheduleAtFixedRate() argument 155 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 476 boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 527 E poll(long timeout, TimeUnit unit) in poll() argument
|
D | Executors.java | 607 public boolean awaitTermination(long timeout, TimeUnit unit) 609 return e.awaitTermination(timeout, unit); 625 long timeout, TimeUnit unit) 627 return e.invokeAll(tasks, timeout, unit); 634 long timeout, TimeUnit unit) 636 return e.invokeAny(tasks, timeout, unit); 666 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 667 return e.schedule(command, delay, unit); 669 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { 670 return e.schedule(callable, delay, unit); [all …]
|
D | ExecutorService.java | 184 boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 291 long timeout, TimeUnit unit) in invokeAll() argument 338 long timeout, TimeUnit unit) in invokeAny() argument
|
D | ScheduledThreadPoolExecutor.java | 208 public long getDelay(TimeUnit unit) { in getDelay() argument 209 return unit.convert(time - now(), TimeUnit.NANOSECONDS); in getDelay() 460 private long triggerTime(long delay, TimeUnit unit) { in triggerTime() argument 461 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); in triggerTime() 495 TimeUnit unit) { in schedule() argument 496 if (command == null || unit == null) in schedule() 500 triggerTime(delay, unit))); in schedule() 511 TimeUnit unit) { in schedule() argument 512 if (callable == null || unit == null) in schedule() 516 triggerTime(delay, unit))); in schedule() [all …]
|
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 | Semaphore.java | 379 public boolean tryAcquire(long timeout, TimeUnit unit) in tryAcquire() argument 381 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryAcquire() 552 public boolean tryAcquire(int permits, long timeout, TimeUnit unit) in tryAcquire() argument 555 return sync.tryAcquireSharedNanos(permits, unit.toNanos(timeout)); in tryAcquire()
|
D | CountDownLatch.java | 251 public boolean await(long timeout, TimeUnit unit) in await() argument 253 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
|
D | ThreadPoolExecutor.java | 1139 TimeUnit unit, in ThreadPoolExecutor() argument 1141 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1173 TimeUnit unit, in ThreadPoolExecutor() argument 1176 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1208 TimeUnit unit, in ThreadPoolExecutor() argument 1211 this(corePoolSize, maximumPoolSize, keepAliveTime, unit, workQueue, in ThreadPoolExecutor() 1245 TimeUnit unit, in ThreadPoolExecutor() argument 1259 this.keepAliveTime = unit.toNanos(keepAliveTime); in ThreadPoolExecutor() 1400 public boolean awaitTermination(long timeout, TimeUnit unit) in awaitTermination() argument 1402 long nanos = unit.toNanos(timeout); in awaitTermination() [all …]
|
D | AbstractExecutorService.java | 200 long timeout, TimeUnit unit) in invokeAny() argument 202 return doInvokeAny(tasks, true, unit.toNanos(timeout)); in invokeAny() 236 long timeout, TimeUnit unit) in invokeAll() argument 238 if (tasks == null || unit == null) in invokeAll() 240 long nanos = unit.toNanos(timeout); in invokeAll()
|
D | LinkedBlockingDeque.java | 372 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() argument 375 long nanos = unit.toNanos(timeout); in offerFirst() 394 public boolean offerLast(E e, long timeout, TimeUnit unit) in offerLast() argument 397 long nanos = unit.toNanos(timeout); in offerLast() 476 public E pollFirst(long timeout, TimeUnit unit) in pollFirst() argument 478 long nanos = unit.toNanos(timeout); in pollFirst() 494 public E pollLast(long timeout, TimeUnit unit) in pollLast() argument 496 long nanos = unit.toNanos(timeout); in pollLast() 621 public boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 623 return offerLast(e, timeout, unit); in offer() [all …]
|
D | Delayed.java | 30 long getDelay(TimeUnit unit); in getDelay() argument
|
D | Future.java | 140 V get(long timeout, TimeUnit unit) in get() argument
|
D | ExecutorCompletionService.java | 171 public Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 172 return completionQueue.poll(timeout, unit); in poll()
|
D | CompletionService.java | 96 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; in poll() argument
|
D | CyclicBarrier.java | 396 public int await(long timeout, TimeUnit unit) in await() argument 400 return dowait(true, unit.toNanos(timeout)); in await()
|
D | PriorityBlockingQueue.java | 208 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() argument 241 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 242 long nanos = unit.toNanos(timeout); in poll()
|
D | FutureTask.java | 89 public V get(long timeout, TimeUnit unit) in get() argument 91 return sync.innerGet(unit.toNanos(timeout)); in get()
|
D | DelayQueue.java | 148 public boolean offer(E e, long timeout, TimeUnit unit) { in offer() argument 223 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 224 long nanos = unit.toNanos(timeout); in poll()
|
D | ArrayBlockingQueue.java | 276 public boolean offer(E e, long timeout, TimeUnit unit) in offer() argument 280 long nanos = unit.toNanos(timeout); in offer() 334 public E poll(long timeout, TimeUnit unit) throws InterruptedException { in poll() argument 335 long nanos = unit.toNanos(timeout); in poll()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Lock.java | 291 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() argument
|
D | Condition.java | 343 boolean await(long time, TimeUnit unit) throws InterruptedException; in await() argument
|
D | ReentrantLock.java | 414 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() argument 415 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
|