/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/ |
D | async.pass.cpp | 69 Clock::time_point t0 = Clock::now(); in main() 71 Clock::time_point t1 = Clock::now(); in main() 77 Clock::time_point t0 = Clock::now(); in main() 79 Clock::time_point t1 = Clock::now(); in main() 85 Clock::time_point t0 = Clock::now(); in main() 87 Clock::time_point t1 = Clock::now(); in main() 93 Clock::time_point t0 = Clock::now(); in main() 95 Clock::time_point t1 = Clock::now(); in main() 102 Clock::time_point t0 = Clock::now(); in main() 104 Clock::time_point t1 = Clock::now(); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | chrono.cpp | 29 system_clock::time_point 34 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec)); in now() 38 system_clock::to_time_t(const time_point& t) _NOEXCEPT in to_time_t() 43 system_clock::time_point 46 return system_clock::time_point(seconds(t)); in from_time_t() 103 steady_clock::time_point 107 return time_point(duration(fp())); in now() 115 steady_clock::time_point 123 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec)); in now() 128 return time_point(system_clock::now().time_since_epoch()); in now()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | chrono | 103 class time_point 114 time_point(); // has value "epoch" // constexpr in C++14 115 explicit time_point(const duration& d); // same as time_point() + d // constexpr in C++14 119 time_point(const time_point<clock, Duration2>& t); // constexpr in C++14 127 time_point& operator+=(const duration& d); 128 time_point& operator-=(const duration& d); 132 static constexpr time_point min(); 133 static constexpr time_point max(); 143 struct common_type<chrono::time_point<Clock, Duration1>, chrono::time_point<Clock, Duration2>>; 197 // time_point arithmetic (all constexpr in C++14) [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
D | try_lock_for.pass.cpp | 25 typedef Clock::time_point time_point; typedef 32 time_point t0 = Clock::now(); in f1() 34 time_point t1 = Clock::now(); in f1() 42 time_point t0 = Clock::now(); in f2() 44 time_point t1 = Clock::now(); in f2()
|
D | try_lock_until.pass.cpp | 25 typedef Clock::time_point time_point; typedef 32 time_point t0 = Clock::now(); in f1() 34 time_point t1 = Clock::now(); in f1() 42 time_point t0 = Clock::now(); in f2() 44 time_point t1 = Clock::now(); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
D | try_lock_until.pass.cpp | 25 typedef Clock::time_point time_point; typedef 32 time_point t0 = Clock::now(); in f1() 34 time_point t1 = Clock::now(); in f1() 44 time_point t0 = Clock::now(); in f2() 46 time_point t1 = Clock::now(); in f2()
|
D | try_lock_for.pass.cpp | 25 typedef Clock::time_point time_point; typedef 32 time_point t0 = Clock::now(); in f1() 34 time_point t1 = Clock::now(); in f1() 44 time_point t0 = Clock::now(); in f2() 46 time_point t1 = Clock::now(); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_until.pass.cpp | 27 typedef Clock::time_point time_point; typedef 34 time_point t0 = Clock::now(); in f1() 36 time_point t1 = Clock::now(); in f1() 44 time_point t0 = Clock::now(); in f2() 46 time_point t1 = Clock::now(); in f2()
|
D | try_lock_for.pass.cpp | 27 typedef Clock::time_point time_point; typedef 34 time_point t0 = Clock::now(); in f1() 36 time_point t1 = Clock::now(); in f1() 44 time_point t0 = Clock::now(); in f2() 46 time_point t1 = Clock::now(); in f2()
|
D | lock_shared.pass.cpp | 27 typedef Clock::time_point time_point; typedef 34 time_point t0 = Clock::now(); in f() 36 time_point t1 = Clock::now(); in f() 44 time_point t0 = Clock::now(); in g() 46 time_point t1 = Clock::now(); in g()
|
D | try_lock_shared_for.pass.cpp | 28 typedef Clock::time_point time_point; typedef 35 time_point t0 = Clock::now(); in f1() 37 time_point t1 = Clock::now(); in f1() 45 time_point t0 = Clock::now(); in f2() 47 time_point t1 = Clock::now(); in f2()
|
D | try_lock_shared_until.pass.cpp | 28 typedef Clock::time_point time_point; typedef 35 time_point t0 = Clock::now(); in f1() 37 time_point t1 = Clock::now(); in f1() 45 time_point t0 = Clock::now(); in f2() 47 time_point t1 = Clock::now(); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
D | wait_until.pass.cpp | 29 typedef std::chrono::time_point<Clock> time_point; typedef 32 static time_point now() in now() 35 return time_point(duration_cast<duration>( in now() 59 Clock::time_point t0 = Clock::now(); in f() 60 Clock::time_point t = t0 + Clock::duration(250); in f() 63 Clock::time_point t1 = Clock::now(); in f()
|
D | wait_until_pred.pass.cpp | 31 typedef std::chrono::time_point<Clock> time_point; typedef 34 static time_point now() in now() 37 return time_point(duration_cast<duration>( in now() 70 Clock::time_point t0 = Clock::now(); in f() 71 Clock::time_point t = t0 + Clock::duration(250); in f() 73 Clock::time_point t1 = Clock::now(); in f()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
D | wait_until.pass.cpp | 30 typedef std::chrono::time_point<Clock> time_point; typedef 33 static time_point now() in now() 36 return time_point(duration_cast<duration>( in now() 56 Clock::time_point t0 = Clock::now(); in f() 57 Clock::time_point t = t0 + Clock::duration(250); in f() 60 Clock::time_point t1 = Clock::now(); in f()
|
D | wait_until_pred.pass.cpp | 31 typedef std::chrono::time_point<Clock> time_point; typedef 34 static time_point now() in now() 37 return time_point(duration_cast<duration>( in now() 66 Clock::time_point t0 = Clock::now(); in f() 67 Clock::time_point t = t0 + Clock::duration(250); in f() 69 Clock::time_point t1 = Clock::now(); in f()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_time_point.pass.cpp | 25 typedef Clock::time_point time_point; typedef 32 time_point t0 = Clock::now(); in f1() 35 time_point t1 = Clock::now(); in f1() 42 time_point t0 = Clock::now(); in f2() 45 time_point t1 = Clock::now(); in f2()
|
D | mutex_duration.pass.cpp | 25 typedef Clock::time_point time_point; typedef 32 time_point t0 = Clock::now(); in f1() 35 time_point t1 = Clock::now(); in f1() 42 time_point t0 = Clock::now(); in f2() 45 time_point t1 = Clock::now(); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/ |
D | op_+.pass.cpp | 31 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 32 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); in main() 39 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 40 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5); in main() 42 constexpr std::chrono::time_point<Clock, Duration2> t3 = Duration2(6) + t1; in main()
|
D | op_-time_point.pass.cpp | 27 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); in main() 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); in main() 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex.pass.cpp | 27 typedef Clock::time_point time_point; typedef 34 time_point t0 = Clock::now(); in f() 35 time_point t1; in f() 46 time_point t0 = Clock::now(); in g() 47 time_point t1; in g()
|
D | mutex_duration.pass.cpp | 28 typedef Clock::time_point time_point; typedef 35 time_point t0 = Clock::now(); in f1() 38 time_point t1 = Clock::now(); in f1() 45 time_point t0 = Clock::now(); in f2() 48 time_point t1 = Clock::now(); in f2()
|
D | mutex_time_point.pass.cpp | 28 typedef Clock::time_point time_point; typedef 35 time_point t0 = Clock::now(); in f1() 38 time_point t1 = Clock::now(); in f1() 45 time_point t0 = Clock::now(); in f2() 48 time_point t1 = Clock::now(); in f2()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/ |
D | sleep_until.pass.cpp | 22 typedef Clock::time_point time_point; in main() typedef 25 time_point t0 = Clock::now(); in main() 27 time_point t1 = Clock::now(); in main()
|
D | sleep_for.pass.cpp | 22 typedef Clock::time_point time_point; in main() typedef 25 time_point t0 = Clock::now(); in main() 27 time_point t1 = Clock::now(); in main()
|