Searched refs:Clock (Results 26 - 50 of 281) sorted by relevance

1234567891011>>

/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.nonmember/
H A Dop_+.pass.cpp14 // template <class Clock, class Duration1, class Rep2, class Period2>
15 // time_point<Clock, typename common_type<Duration1, duration<Rep2, Period2>>::type>
16 // operator+(const time_point<Clock, Duration1>& lhs, const duration<Rep2, Period2>& rhs);
18 // template <class Rep1, class Period1, class Clock, class Duration2>
19 // time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type>
20 // operator+(const duration<Rep1, Period1>& lhs, const time_point<Clock, Duration2>& rhs);
27 typedef std::chrono::system_clock Clock; typedef
31 std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
32 std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);
39 constexpr std::chrono::time_point<Clock, Duration
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cons/
H A Ddefault.pass.cpp23 typedef std::chrono::system_clock Clock; typedef
26 std::chrono::time_point<Clock, Duration> t;
31 constexpr std::chrono::time_point<Clock, Duration> t;
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/
H A Ddefault.pass.cpp23 typedef std::chrono::system_clock Clock; typedef
26 std::chrono::time_point<Clock, Duration> t;
31 constexpr std::chrono::time_point<Clock, Duration> t;
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.cons/
H A Ddefault.pass.cpp23 typedef std::chrono::system_clock Clock; typedef
26 std::chrono::time_point<Clock, Duration> t;
31 constexpr std::chrono::time_point<Clock, Duration> t;
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
H A Dmutex_time_point.pass.cpp16 // template <class Clock, class Duration>
17 // unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300));
37 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
45 std::unique_lock<std::timed_mutex> lk(m, Clock
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
H A Dtry_lock_until.pass.cpp17 // template <class Clock, class Duration>
18 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
29 typedef std::chrono::steady_clock Clock; typedef
30 typedef Clock::time_point time_point;
31 typedef Clock::duration duration;
49 time_point t0 = Clock::now();
50 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true);
51 time_point t1 = Clock::now();
59 time_point t0 = Clock::now();
60 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
H A Dtry_lock_until.pass.cpp16 // template <class Clock, class Duration>
17 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
36 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
45 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
H A Dtry_lock_until.pass.cpp16 // template <class Clock, class Duration>
17 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
36 time_point t1 = Clock::now();
46 time_point t0 = Clock::now();
47 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++abi/test/support/
H A Dtimer.hpp21 typedef std::chrono::high_resolution_clock Clock; typedef in class:timer
22 typedef Clock::time_point TimePoint;
25 timer() : m_start(Clock::now()) {}
33 TimePoint end = Clock::now();
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
H A Dmutex_time_point.pass.cpp14 // template <class Clock, class Duration>
15 // unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
24 typedef std::chrono::steady_clock Clock; typedef
25 typedef Clock::time_point time_point;
26 typedef Clock::duration duration;
32 time_point t0 = Clock::now();
33 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300));
35 time_point t1 = Clock::now();
42 time_point t0 = Clock::now();
43 std::unique_lock<std::timed_mutex> lk(m, Clock
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
H A Dtry_lock_shared_until.pass.cpp14 // template <class Clock, class Duration>
15 // bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
27 typedef std::chrono::steady_clock Clock; typedef
28 typedef Clock::time_point time_point;
29 typedef Clock::duration duration;
35 time_point t0 = Clock::now();
36 assert(m.try_lock_shared_until(Clock::now() + ms(300)) == true);
37 time_point t1 = Clock::now();
45 time_point t0 = Clock::now();
46 assert(m.try_lock_shared_until(Clock
[all...]
H A Dtry_lock_until.pass.cpp14 // template <class Clock, class Duration>
15 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
36 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
45 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
H A Dtry_lock_until.pass.cpp14 // template <class Clock, class Duration>
15 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
24 typedef std::chrono::steady_clock Clock; typedef
25 typedef Clock::time_point time_point;
26 typedef Clock::duration duration;
32 time_point t0 = Clock::now();
33 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
34 time_point t1 = Clock::now();
42 time_point t0 = Clock::now();
43 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
H A Dtry_lock_until.pass.cpp14 // template <class Clock, class Duration>
15 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
24 typedef std::chrono::steady_clock Clock; typedef
25 typedef Clock::time_point time_point;
26 typedef Clock::duration duration;
32 time_point t0 = Clock::now();
33 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
34 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
45 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/support/
H A Dtimer.hpp12 typedef std::chrono::high_resolution_clock Clock; typedef in class:timer
13 typedef Clock::time_point TimePoint;
16 timer() : m_start(Clock::now()) {}
24 TimePoint end = Clock::now();
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
H A Dmutex_time_point.pass.cpp16 // template <class Clock, class Duration>
17 // unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 std::unique_lock<std::timed_mutex> lk(m, Clock::now() + ms(300));
37 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
45 std::unique_lock<std::timed_mutex> lk(m, Clock
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
H A Dtry_lock_until.pass.cpp17 // template <class Clock, class Duration>
18 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
29 typedef std::chrono::steady_clock Clock; typedef
30 typedef Clock::time_point time_point;
31 typedef Clock::duration duration;
49 time_point t0 = Clock::now();
50 assert(m.try_lock_until(Clock::now() + WaitTime + Tolerance) == true);
51 time_point t1 = Clock::now();
59 time_point t0 = Clock::now();
60 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
H A Dtry_lock_until.pass.cpp16 // template <class Clock, class Duration>
17 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
36 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
45 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
H A Dtry_lock_until.pass.cpp16 // template <class Clock, class Duration>
17 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
26 typedef std::chrono::steady_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
35 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
36 time_point t1 = Clock::now();
46 time_point t0 = Clock::now();
47 assert(m.try_lock_until(Clock
[all...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++abi/test/support/
H A Dtimer.hpp21 typedef std::chrono::high_resolution_clock Clock; typedef in class:timer
22 typedef Clock::time_point TimePoint;
25 timer() : m_start(Clock::now()) {}
33 TimePoint end = Clock::now();
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/thread.condition.condvar/
H A Dwait_until.pass.cpp16 // template <class Clock, class Duration>
19 // const chrono::time_point<Clock, Duration>& abs_time);
27 struct Clock struct
32 typedef std::chrono::time_point<Clock> time_point;
58 Clock::time_point t0 = Clock::now();
59 Clock::time_point t = t0 + Clock::duration(250);
62 Clock::time_point t1 = Clock
[all...]
H A Dwait_until_pred.pass.cpp16 // template <class Clock, class Duration, class Predicate>
19 // const chrono::time_point<Clock, Duration>& abs_time,
28 struct Clock struct
33 typedef std::chrono::time_point<Clock> time_point;
68 Clock::time_point t0 = Clock::now();
69 Clock::time_point t = t0 + Clock::duration(250);
71 Clock::time_point t1 = Clock
[all...]
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/thread.condition.condvarany/
H A Dwait_until.pass.cpp16 // template <class Lock, class Clock, class Duration>
18 // wait_until(Lock& lock, const chrono::time_point<Clock, Duration>& abs_time);
26 struct Clock struct
31 typedef std::chrono::time_point<Clock> time_point;
61 Clock::time_point t0 = Clock::now();
62 Clock::time_point t = t0 + Clock::duration(250);
65 Clock::time_point t1 = Clock
[all...]
H A Dwait_until_pred.pass.cpp19 // const chrono::time_point<Clock, Duration>& abs_time,
28 struct Clock struct
33 typedef std::chrono::time_point<Clock> time_point;
72 Clock::time_point t0 = Clock::now();
73 Clock::time_point t = t0 + Clock::duration(250);
75 Clock::time_point t1 = Clock::now();
78 assert(t1 - t0 < Clock
[all...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/
H A Dwait_until.pass.cpp14 // template <class Clock, class Duration>
17 // const chrono::time_point<Clock, Duration>& abs_time);
25 struct Clock struct
30 typedef std::chrono::time_point<Clock> time_point;
56 Clock::time_point t0 = Clock::now();
57 Clock::time_point t = t0 + Clock::duration(250);
60 Clock::time_point t1 = Clock
[all...]

Completed in 355 milliseconds

1234567891011>>