/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/ |
D | op_mod_duration.pass.cpp | 25 std::chrono::nanoseconds ns1(15); in main() 26 std::chrono::nanoseconds ns2(6); in main() 27 std::chrono::nanoseconds r = ns1 % ns2; in main() 32 std::chrono::nanoseconds ns2(28); in main() 33 std::chrono::nanoseconds r = us1 % ns2; in main() 44 constexpr std::chrono::nanoseconds ns1(15); in main() 45 constexpr std::chrono::nanoseconds ns2(6); in main() 46 constexpr std::chrono::nanoseconds r = ns1 % ns2; in main() 51 constexpr std::chrono::nanoseconds ns2(28); in main() 52 constexpr std::chrono::nanoseconds r = us1 % ns2; in main()
|
D | op_divide_duration.pass.cpp | 25 std::chrono::nanoseconds ns1(15); in main() 26 std::chrono::nanoseconds ns2(5); in main() 31 std::chrono::nanoseconds ns2(5); in main() 46 constexpr std::chrono::nanoseconds ns1(15); in main() 47 constexpr std::chrono::nanoseconds ns2(5); in main() 52 constexpr std::chrono::nanoseconds ns2(5); in main()
|
D | op_times_rep.pass.cpp | 30 std::chrono::nanoseconds ns(3); in main() 38 constexpr std::chrono::nanoseconds ns(3); in main() 39 constexpr std::chrono::nanoseconds ns2 = ns * 5; in main() 41 constexpr std::chrono::nanoseconds ns3 = 6 * ns; in main()
|
D | op_divide_rep.pass.cpp | 25 std::chrono::nanoseconds ns(15); in main() 31 constexpr std::chrono::nanoseconds ns(15); in main() 32 constexpr std::chrono::nanoseconds ns2 = ns / 5; in main()
|
D | op_mod_rep.pass.cpp | 25 std::chrono::nanoseconds ns(15); in main() 31 constexpr std::chrono::nanoseconds ns(15); in main() 32 constexpr std::chrono::nanoseconds ns2 = ns % 6; in main()
|
/external/libcxx/src/ |
D | condition_variable.cpp | 51 chrono::time_point<chrono::system_clock, chrono::nanoseconds> tp) _NOEXCEPT in __do_timed_wait() 57 nanoseconds d = tp.time_since_epoch(); in __do_timed_wait() 58 if (d > nanoseconds(0x59682F000000E941)) in __do_timed_wait() 59 d = nanoseconds(0x59682F000000E941); in __do_timed_wait()
|
D | thread.cpp | 108 sleep_for(const chrono::nanoseconds& ns) in sleep_for() 111 if (ns > nanoseconds::zero()) in sleep_for()
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.literals/ |
D | literals.pass.cpp | 27 static_assert ( std::is_same<decltype( 3ns ), std::chrono::nanoseconds>::value, "" ); in main() 54 std::chrono::nanoseconds ns = 645ns; in main() 55 assert ( ns == std::chrono::nanoseconds(645)); in main()
|
D | literals1.pass.cpp | 43 nanoseconds ns = 645ns; in main() 44 assert ( ns == nanoseconds(645)); in main()
|
D | literals2.pass.cpp | 46 std::chrono::nanoseconds ns = 645ns; in main() 47 assert ( ns == std::chrono::nanoseconds(645)); in main()
|
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/ |
D | sleep_until.pass.cpp | 30 std::chrono::nanoseconds ns = (t1 - t0) - ms; in main() 31 std::chrono::nanoseconds err = 5 * ms / 100; in main()
|
D | sleep_for.pass.cpp | 50 std::chrono::nanoseconds ns = (t1 - t0) - ms; in main() 51 std::chrono::nanoseconds err = 5 * ms / 100; in main()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 52 public FakeTicker advance(long nanoseconds) { in advance() argument 53 nanos.addAndGet(nanoseconds); in advance()
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cast/ |
D | time_point_cast.pass.cpp | 63 test(std::chrono::milliseconds(7265000), std::chrono::nanoseconds(7265000000000LL)); in main() 75 test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::nanoseconds,7265000000000LL> (); in main()
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
D | op_times=.pass.cpp | 21 std::chrono::nanoseconds ns(3); in main()
|
D | op_divide=.pass.cpp | 21 std::chrono::nanoseconds ns(15); in main()
|
/external/libcxx/include/ |
D | thread | 412 _LIBCPP_FUNC_VIS void sleep_for(const chrono::nanoseconds& ns); 421 _LIBCPP_CONSTEXPR duration<long double> _Max = nanoseconds::max(); 422 nanoseconds __ns; 425 __ns = duration_cast<nanoseconds>(__d); 430 __ns = nanoseconds::max();
|
/external/libcxx/test/std/utilities/time/ |
D | clock.h | 17 typedef std::chrono::nanoseconds duration;
|
D | nanoseconds.pass.cpp | 20 typedef std::chrono::nanoseconds D; in main()
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | trivially_copyable.pass.cpp | 76 test(std::chrono::nanoseconds(2)); in main()
|
/external/llvm/unittests/Support/ |
D | TimeValueTest.cpp | 34 EXPECT_EQ(ns, static_cast<uint32_t>(epoch.nanoseconds())); in TEST()
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 212 NanoSecondsType nanoseconds() const { return nanos_; } in nanoseconds() function 296 void nanoseconds ( NanoSecondsType nanos ) { in nanoseconds() function
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/ |
D | lock.pass.cpp | 31 typedef std::chrono::nanoseconds ns;
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | lock.pass.cpp | 31 typedef std::chrono::nanoseconds ns;
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
D | lock.pass.cpp | 31 typedef std::chrono::nanoseconds ns;
|