/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 46 long nanos = n2 - n1; in testNanoTime1() local 66 long nanos = n2 - n1; in testNanoTime2() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | SystemTest.java | 70 long nanos = n2 - n1; in testNanoTime1() local 90 long nanos = n2 - n1; in testNanoTime2() local
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 150 long nanos = unit.convert(instant.getNano(), TimeUnit.NANOSECONDS); in to() local 174 int nanos = instant.getNano(); in toMillis() local 233 int nanos = 0; in toInstant() local 414 int nanos = 0; in toString() local
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | LockSupport.java | 226 public static void parkNanos(Object blocker, long nanos) { in parkNanos() 351 public static void parkNanos(long nanos) { in parkNanos()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 160 private final int nanos; field in Duration 274 public static Duration ofNanos(long nanos) { in ofNanos() 399 int nanos = parseFraction(text, fractionMatch, seconds < 0 ? -1 : 1); in parse() local 437 … create(boolean negate, long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs, int nanos) { in create() 507 private Duration(long seconds, int nanos) { in Duration() 1017 BigInteger nanos = seconds.movePointRight(9).toBigIntegerExact(); in create() local 1515 int nanos = in.readInt(); in readExternal() local
|
D | Instant.java | 252 private final int nanos; field in Instant 417 private Instant(long epochSecond, int nanos) { in Instant() 1361 int nanos = in.readInt(); in readExternal() local
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Object.annotated.java | 52 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait()
|
D | Thread.annotated.java | 62 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { throw new … in sleep() 106 public final void join(long millis, int nanos) throws java.lang.InterruptedException { throw new Ru… in join()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | AbstractExecutorService.java | 148 boolean timed, long nanos) in doInvokeAny() 264 final long nanos = unit.toNanos(timeout); in invokeAll() local
|
D | SynchronousQueue.java | 186 abstract E transfer(E e, boolean timed, long nanos); in transfer() 328 E transfer(E e, boolean timed, long nanos) { in transfer() 413 SNode awaitFulfill(SNode s, boolean timed, long nanos) { in awaitFulfill() 641 E transfer(E e, boolean timed, long nanos) { in transfer() 735 Object awaitFulfill(QNode s, E e, boolean timed, long nanos) { in awaitFulfill()
|
D | CyclicBarrier.java | 199 private int dowait(boolean timed, long nanos) in dowait()
|
D | Phaser.java | 784 long nanos = unit.toNanos(timeout); in awaitAdvanceInterruptibly() local 1090 long nanos; field in Phaser.QNode 1096 boolean timed, long nanos) { in QNode()
|
D | LinkedBlockingDeque.java | 410 long nanos = unit.toNanos(timeout); in offerFirst() local 433 long nanos = unit.toNanos(timeout); in offerLast() local 514 long nanos = unit.toNanos(timeout); in pollFirst() local 532 long nanos = unit.toNanos(timeout); in pollLast() local
|
D | LinkedBlockingQueue.java | 376 long nanos = unit.toNanos(timeout); in offer() local 459 long nanos = unit.toNanos(timeout); in poll() local
|
D | FutureTask.java | 395 private int awaitDone(boolean timed, long nanos) in awaitDone()
|
D | DelayQueue.java | 254 long nanos = unit.toNanos(timeout); in poll() local
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 73 private Duration(long seconds, int nanos) { in Duration() 101 public static java.time.Duration ofNanos(long nanos) { in ofNanos() 136 int nanos) { in create() 352 private final int nanos; field in Duration
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Object.java | 75 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait()
|
D | Thread.java | 99 private static native void sleep(java.lang.Object lock, long millis, int nanos) in sleep() 102 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { in sleep() 219 public final void join(long millis, int nanos) throws java.lang.InterruptedException { in join() 334 public final void parkFor$(long nanos) { in parkFor$()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Object.java | 527 public final native void wait(long timeout, int nanos) throws InterruptedException; in wait()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 337 private ChronoLocalDateTimeImpl<D> plusNanos(long nanos) { in plusNanos() 342 …alDateTimeImpl<D> plusWithOverflow(D newDate, long hours, long minutes, long seconds, long nanos) { in plusWithOverflow()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Thread.annotated.java | 62 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { throw new … in sleep() 112 public final void join(long millis, int nanos) throws java.lang.InterruptedException { throw new Ru… in join()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 460 long nanos; field in ThreadTest.LongParker 463 LongParker(long nanos) { in LongParker()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CharacterBenchmark.java | 41 public double nanosToUnits(double nanos) { in nanosToUnits()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | FutureTask.java | 105 private int awaitDone(boolean timed, long nanos) throws java.lang.InterruptedException { in awaitDone()
|