/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 | 248 public static void parkNanos(Object blocker, long nanos) { in parkNanos() 374 public static void parkNanos(long nanos) { in parkNanos()
|
D | StampedLock.java | 508 long nanos = unit.toNanos(time); in tryWriteLock() local 582 long nanos = unit.toNanos(time); in tryReadLock() local 1248 long nanos; in acquireWrite() local 1316 long nanos = 0L; in acquireRead() local 1375 long nanos; in acquireRead() local
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 161 private final int nanos; field in Duration 275 public static Duration ofNanos(long nanos) { in ofNanos() 400 int nanos = parseFraction(text, fractionMatch, seconds < 0 ? -1 : 1); in parse() local 438 … create(boolean negate, long daysAsSecs, long hoursAsSecs, long minsAsSecs, long secs, int nanos) { in create() 508 private Duration(long seconds, int nanos) { in Duration() 1018 BigInteger nanos = seconds.movePointRight(9).toBigIntegerExact(); in create() local 1515 int nanos = in.readInt(); in readExternal() local
|
D | Instant.java | 253 private final int nanos; field in Instant 418 private Instant(long epochSecond, int nanos) { in Instant() 1358 int nanos = in.readInt(); in readExternal() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDuration.java | 1116 …public void plus(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds,… in plus() 1327 …public void plusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expec… in plusSeconds_long() 1403 …public void plusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expect… in plusMillis_long() 1410 …public void plusMillis_long_oneMore(long seconds, int nanos, long amount, long expectedSeconds, in… in plusMillis_long_oneMore() 1417 …public void plusMillis_long_minusOneLess(long seconds, int nanos, long amount, long expectedSecond… in plusMillis_long_minusOneLess() 1529 …public void plusNanos_long(long seconds, int nanos, long amount, long expectedSeconds, int expecte… in plusNanos_long() 1735 …public void minus(long seconds, int nanos, long otherSeconds, int otherNanos, long expectedSeconds… in minus() 1946 …public void minusSeconds_long(long seconds, int nanos, long amount, long expectedSeconds, int expe… in minusSeconds_long() 2022 …public void minusMillis_long(long seconds, int nanos, long amount, long expectedSeconds, int expec… in minusMillis_long() 2029 …public void minusMillis_long_oneMore(long seconds, int nanos, long amount, long expectedSeconds, i… in minusMillis_long_oneMore() [all …]
|
/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 | 64 public static void sleep(long millis, int nanos) throws java.lang.InterruptedException { throw new … in sleep() 108 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 | 153 boolean timed, long nanos) in doInvokeAny() 268 final long nanos = unit.toNanos(timeout); in invokeAll() local
|
D | CyclicBarrier.java | 201 private int dowait(boolean timed, long nanos) in dowait()
|
D | Phaser.java | 783 long nanos = unit.toNanos(timeout); in awaitAdvanceInterruptibly() local 1092 long nanos; field in Phaser.QNode 1098 boolean timed, long nanos) { in QNode()
|
D | SubmissionPublisher.java | 396 private int doOffer(T item, long nanos, in doOffer() 447 private int retryOffer(T item, long nanos, in retryOffer() 610 long nanos = unit.toNanos(timeout); in offer() local 1456 final void awaitSpace(long nanos) { in awaitSpace() 1477 long nanos = timeout; in block() local
|
D | LinkedBlockingDeque.java | 403 long nanos = unit.toNanos(timeout); in offerFirst() local 426 long nanos = unit.toNanos(timeout); in offerLast() local 507 long nanos = unit.toNanos(timeout); in pollFirst() local 525 long nanos = unit.toNanos(timeout); in pollLast() 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/src/main/java/sun/nio/ch/ |
D | SelChImpl.java | 84 default void park(int event, long nanos) throws IOException { in park()
|
/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 | 522 public final native void wait(long timeoutMillis, int nanos) throws InterruptedException; in wait()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | FileTimeTest.java | 170 long nanos = v; in main() local 297 long nanos = NANOSECONDS.convert(value - unit.convert(secs, SECONDS), unit); in eqTime() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTimeImpl.java | 332 private ChronoLocalDateTimeImpl<D> plusNanos(long nanos) { in plusNanos() 337 …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/benchmarks/src/benchmarks/regression/ |
D | CharacterBenchmark.java | 41 public double nanosToUnits(double nanos) { in nanosToUnits()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ThreadTest.java | 460 long nanos; field in ThreadTest.LongParker 463 LongParker(long nanos) { in LongParker()
|