/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 44 public long toNanos(long d) { return d; } in toNanos() method 51 public long convert(long d, TimeUnit u) { return u.toNanos(d); } in convert() 55 public long toNanos(long d) { return x(d, C1/C0, MAX/(C1/C0)); } in toNanos() method 66 public long toNanos(long d) { return x(d, C2/C0, MAX/(C2/C0)); } in toNanos() method 77 public long toNanos(long d) { return x(d, C3/C0, MAX/(C3/C0)); } in toNanos() method 88 public long toNanos(long d) { return x(d, C4/C0, MAX/(C4/C0)); } in toNanos() method 99 public long toNanos(long d) { return x(d, C5/C0, MAX/(C5/C0)); } in toNanos() method 110 public long toNanos(long d) { return x(d, C6/C0, MAX/(C6/C0)); } in toNanos() method 178 public long toNanos(long duration) { in toNanos() method in TimeUnit
|
D | Semaphore.java | 385 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryAcquire() 559 return sync.tryAcquireSharedNanos(permits, unit.toNanos(timeout)); in tryAcquire()
|
D | CountDownLatch.java | 253 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
|
D | AbstractExecutorService.java | 196 return doInvokeAny(tasks, true, unit.toNanos(timeout)); in invokeAny() 234 long nanos = unit.toNanos(timeout); in invokeAll()
|
D | CyclicBarrier.java | 398 return dowait(true, unit.toNanos(timeout)); in await()
|
D | ScheduledThreadPoolExecutor.java | 462 return triggerTime(unit.toNanos((delay < 0) ? 0 : delay)); in triggerTime() 539 unit.toNanos(period)); in scheduleAtFixedRate() 563 unit.toNanos(-delay)); in scheduleWithFixedDelay() 1079 long nanos = unit.toNanos(timeout); in poll()
|
D | LinkedBlockingDeque.java | 378 long nanos = unit.toNanos(timeout); in offerFirst() 401 long nanos = unit.toNanos(timeout); in offerLast() 482 long nanos = unit.toNanos(timeout); in pollFirst() 500 long nanos = unit.toNanos(timeout); in pollLast()
|
D | FutureTask.java | 90 return sync.innerGet(unit.toNanos(timeout)); in get()
|
D | ThreadPoolExecutor.java | 1247 this.keepAliveTime = unit.toNanos(keepAliveTime); in ThreadPoolExecutor() 1390 long nanos = unit.toNanos(timeout); in awaitTermination() 1621 long keepAliveTime = unit.toNanos(time); in setKeepAliveTime()
|
D | ArrayBlockingQueue.java | 314 long nanos = unit.toNanos(timeout); in offer() 353 long nanos = unit.toNanos(timeout); in poll()
|
D | LinkedBlockingQueue.java | 346 long nanos = unit.toNanos(timeout); in offer() 430 long nanos = unit.toNanos(timeout); in poll()
|
D | DelayQueue.java | 217 long nanos = unit.toNanos(timeout); in poll()
|
D | Exchanger.java | 648 true, unit.toNanos(timeout)); in exchange()
|
D | SynchronousQueue.java | 829 if (transferer.transfer(o, true, unit.toNanos(timeout)) != null) in offer() 875 Object e = transferer.transfer(null, true, unit.toNanos(timeout)); in poll()
|
D | PriorityBlockingQueue.java | 515 long nanos = unit.toNanos(timeout); in poll()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantLock.java | 416 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
|
D | ReentrantReadWriteLock.java | 844 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryLock() 1086 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
|
D | AbstractQueuedSynchronizer.java | 2141 long nanosTimeout = unit.toNanos(time); in await()
|
D | AbstractQueuedLongSynchronizer.java | 1911 long nanosTimeout = unit.toNanos(time); in await()
|