Home
last modified time | relevance | path

Searched defs:nanos (Results 1 – 25 of 42) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DSystemTest.java46 long nanos = n2 - n1; in testNanoTime1() local
66 long nanos = n2 - n1; in testNanoTime2() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSystemTest.java70 long nanos = n2 - n1; in testNanoTime1() local
90 long nanos = n2 - n1; in testNanoTime2() local
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java150 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/
DLockSupport.java226 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/
DDuration.java160 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
DInstant.java252 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/
DObject.annotated.java52 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait()
DThread.annotated.java62 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/
DAbstractExecutorService.java148 boolean timed, long nanos) in doInvokeAny()
264 final long nanos = unit.toNanos(timeout); in invokeAll() local
DSynchronousQueue.java186 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()
DCyclicBarrier.java199 private int dowait(boolean timed, long nanos) in dowait()
DPhaser.java784 long nanos = unit.toNanos(timeout); in awaitAdvanceInterruptibly() local
1090 long nanos; field in Phaser.QNode
1096 boolean timed, long nanos) { in QNode()
DLinkedBlockingDeque.java410 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
DLinkedBlockingQueue.java376 long nanos = unit.toNanos(timeout); in offer() local
459 long nanos = unit.toNanos(timeout); in poll() local
DFutureTask.java395 private int awaitDone(boolean timed, long nanos) in awaitDone()
DDelayQueue.java254 long nanos = unit.toNanos(timeout); in poll() local
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java73 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/
DObject.java75 public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException; in wait()
DThread.java99 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/
DObject.java527 public final native void wait(long timeout, int nanos) throws InterruptedException; in wait()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java337 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/
DThread.annotated.java62 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/
DThreadTest.java460 long nanos; field in ThreadTest.LongParker
463 LongParker(long nanos) { in LongParker()
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java41 public double nanosToUnits(double nanos) { in nanosToUnits()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java105 private int awaitDone(boolean timed, long nanos) throws java.lang.InterruptedException { in awaitDone()

12