/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/pulse/ |
timeval.h | 42 /** The number of nanoseconds in a second */ 48 /** The number of nanoseconds in a millisecond */ 51 /** The number of nanoseconds in a microsecond */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
timeval.h | 42 /** The number of nanoseconds in a second */ 48 /** The number of nanoseconds in a millisecond */ 51 /** The number of nanoseconds in a microsecond */
|
/external/libcxx/test/thread/thread.threads/thread.thread.this/ |
sleep_for.pass.cpp | 28 std::chrono::nanoseconds ns = (t1 - t0) - ms; 29 std::chrono::nanoseconds err = 5 * ms / 100;
|
sleep_until.pass.cpp | 28 std::chrono::nanoseconds ns = (t1 - t0) - ms; 29 std::chrono::nanoseconds err = 5 * ms / 100;
|
/external/libcxx/test/utilities/time/ |
Android.mk | 35 test_name := utilities/time/nanoseconds 36 test_src := nanoseconds.pass.cpp
|
nanoseconds.pass.cpp | 12 // typedef duration<signed integral type of at least 64 bits, nano> nanoseconds; 20 typedef std::chrono::nanoseconds D;
|
/external/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
literals1.pass.cpp | 43 nanoseconds ns = 645ns; 44 assert ( ns == nanoseconds(645));
|
literals.pass.cpp | 27 static_assert ( std::is_same<decltype( 3ns ), std::chrono::nanoseconds>::value, "" ); 54 std::chrono::nanoseconds ns = 645ns; 55 assert ( ns == std::chrono::nanoseconds(645));
|
literals2.pass.cpp | 46 std::chrono::nanoseconds ns = 645ns; 47 assert ( ns == std::chrono::nanoseconds(645));
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
Ping.java | 50 * Returns the round trip time for this ping in nanoseconds, waiting for the 60 * Returns the round trip time for this ping in nanoseconds, or -1 if the
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/ |
sleep_for.pass.cpp | 28 std::chrono::nanoseconds ns = (t1 - t0) - ms; 29 std::chrono::nanoseconds err = 5 * ms / 100;
|
sleep_until.pass.cpp | 28 std::chrono::nanoseconds ns = (t1 - t0) - ms; 29 std::chrono::nanoseconds err = 5 * ms / 100;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/ |
nanoseconds.pass.cpp | 12 // typedef duration<signed integral type of at least 64 bits, nano> nanoseconds; 20 typedef std::chrono::nanoseconds D;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.literals/ |
literals1.pass.cpp | 43 nanoseconds ns = 645ns; 44 assert ( ns == nanoseconds(645));
|
literals.pass.cpp | 27 static_assert ( std::is_same<decltype( 3ns ), std::chrono::nanoseconds>::value, "" ); 54 std::chrono::nanoseconds ns = 645ns; 55 assert ( ns == std::chrono::nanoseconds(645));
|
literals2.pass.cpp | 46 std::chrono::nanoseconds ns = 645ns; 47 assert ( ns == std::chrono::nanoseconds(645));
|
/libcore/luni/src/main/java/java/sql/ |
Timestamp.java | 32 * the integral seconds value is stored, plus a nanoseconds value where the 49 // The nanoseconds time value of the Timestamp 58 * <i>Minutes</i>, <i>Seconds</i> and <i>Nanoseconds</i>. 130 * Otherwise the time values are equal in which case the nanoseconds 162 * Otherwise the time values are equal in which case the nanoseconds 297 * number of nanoseconds. 299 * if number of nanoseconds smaller than 0 or greater than 325 * Deal with the nanoseconds value. The supplied time is in milliseconds - 327 * get nanoseconds. Things are more complex if theTime value is 329 * the nanoseconds value of the Timestamp must be positive - so we mus [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
ptw32_timespec.c | 45 * time between jan 1, 1601 and jan 1, 1970 in units of 100 nanoseconds 55 * where the time is expressed in seconds and nanoseconds from Jan 1, 1970. 57 * expressed in 100 nanoseconds from Jan 1, 1601, 70 * expressed in 100 nanoseconds from Jan 1, 1601, 72 * where the time is expressed in seconds and nanoseconds from Jan 1, 1970.
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Uninterruptibles.java | 19 import static java.util.concurrent.TimeUnit.NANOSECONDS; 83 return latch.await(remainingNanos, NANOSECONDS); 164 return future.get(remainingNanos, NANOSECONDS); 192 NANOSECONDS.timedJoin(toJoin, remainingNanos); 261 NANOSECONDS.sleep(remainingNanos);
|
/cts/libs/vogar-expect/src/vogar/util/ |
TimeUtilities.java | 62 * Returns a string representation of the given number of nanoseconds. 75 long nanoseconds = duration % 1000; local 109 * Converts nanoseconds into (fractional) seconds.
|
/external/guava/guava-tests/test/com/google/common/collect/ |
QueuesTest.java | 94 int elements = drain(q, buf, 100, Long.MAX_VALUE, TimeUnit.NANOSECONDS, interruptibly); 163 int elements = Queues.drain(q, buf, -1, Long.MAX_VALUE, TimeUnit.NANOSECONDS); 169 Queues.drain(q, buf, 1, Long.MAX_VALUE, TimeUnit.NANOSECONDS); 181 Queues.drain(q, ImmutableList.of(), 100, Long.MAX_VALUE, TimeUnit.NANOSECONDS); 204 Queues.drainUninterruptibly(q, buf, 100, Long.MAX_VALUE, TimeUnit.NANOSECONDS); 243 Queues.drain(q, Lists.newArrayList(), 1, Long.MAX_VALUE, TimeUnit.NANOSECONDS);
|
/external/chromium_org/third_party/webrtc/base/ |
timeutils.h | 40 // Returns the current time in nanoseconds. 78 // Converts a unix timestamp in nanoseconds to an NTP timestamp in ms.
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
SystemClock_Delegate.java | 59 * Returns nanoseconds since boot, including time spent in sleep. 61 * @return elapsed nanoseconds since boot.
|
/external/qemu/include/qemu/ |
timer.h | 58 int64_t expire_time; /* in nanoseconds */ 79 * Returns: the clock value in nanoseconds 145 * use_icount set, do not count in nanoseconds. Such clocks 150 * Returns: true if the clock runs in nanoseconds and 161 * in nanoseconds, or -1 if no timer is set to expire. 163 * Returns: time until expiry in nanoseconds or -1 309 * the number of nanoseconds until the first timer 312 * Returns: the number of nanoseconds until the earliest 395 * Returns: the deadline in nanoseconds or -1 if no 538 * @expire_time: the expiry time in nanoseconds [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorCtsHelperTest.java | 118 assertEquals(10000000.0, SensorCtsHelper.getFrequency(100, TimeUnit.NANOSECONDS), 0.001); 119 assertEquals(1000000000.0, SensorCtsHelper.getFrequency(1, TimeUnit.NANOSECONDS), 0.001); 134 assertEquals(100, SensorCtsHelper.getPeriod(10000000, TimeUnit.NANOSECONDS), 0.001); 135 assertEquals(1, SensorCtsHelper.getPeriod(1000000000, TimeUnit.NANOSECONDS), 0.001);
|