Home
last modified time | relevance | path

Searched refs:time_point (Results 1 – 25 of 99) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/
Dasync.pass.cpp69 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/
Dchrono.cpp29 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/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
Dtry_lock_for.pass.cpp25 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()
Dtry_lock_until.pass.cpp25 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/include/
Dchrono103 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.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_for.pass.cpp27 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()
Dtry_lock_until.pass.cpp27 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()
Dlock_shared.pass.cpp27 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()
Dtry_lock_shared_for.pass.cpp28 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()
Dtry_lock_shared_until.pass.cpp28 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.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
Dtry_lock_until.pass.cpp25 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()
Dtry_lock_for.pass.cpp25 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.condition/thread.condition.condvar/
Dwait_until.pass.cpp30 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()
Dwait_until_pred.pass.cpp31 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.condition/thread.condition.condvarany/
Dwait_until.pass.cpp29 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()
Dwait_until_pred.pass.cpp31 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.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
Dmutex_time_point.pass.cpp25 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()
Dmutex_duration.pass.cpp25 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/
Dop_+.pass.cpp31 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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex.pass.cpp27 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()
Dmutex_duration.pass.cpp28 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()
Dmutex_time_point.pass.cpp28 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/
Dsleep_until.pass.cpp22 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()
Dsleep_for.pass.cpp22 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()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/
Dconvert.pass.cpp26 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main()
27 std::chrono::time_point<Clock, Duration1> t1 = t2; in main()
32 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); in main()
33 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2; in main()

1234