/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/ |
sleep_until.pass.cpp | 12 // template <class Clock, class Duration> 13 // void sleep_until(const chrono::time_point<Clock, Duration>& abs_time); 21 typedef std::chrono::system_clock Clock; 22 typedef Clock::time_point time_point; 23 typedef Clock::duration duration; 25 time_point t0 = Clock::now(); 27 time_point t1 = Clock::now();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
convert.pass.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 22 typedef std::chrono::system_clock Clock; 26 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 27 std::chrono::time_point<Clock, Duration1> t1 = t2; 32 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 33 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;
|
default.pass.cpp | 23 typedef std::chrono::system_clock Clock; 26 std::chrono::time_point<Clock, Duration> t; 31 constexpr std::chrono::time_point<Clock, Duration> t;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/ |
op_-duration.pass.cpp | 14 // 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); 23 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 28 std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5); 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5);
|
op_-time_point.pass.cpp | 14 // template <class Clock, class Duration1, class Duration2> 16 // operator-(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs); 23 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 28 std::chrono::time_point<Clock, Duration2> t2(Duration2(5)); 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5));
|
op_+.pass.cpp | 14 // 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; 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, Duration1> t1(Duration1(3)) [all...] |
/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
op_+.pass.cpp | 14 // 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; 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, Duration1> t1(Duration1(3)) [all...] |
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
default.pass.cpp | 23 typedef std::chrono::system_clock Clock; 26 std::chrono::time_point<Clock, Duration> t; 31 constexpr std::chrono::time_point<Clock, Duration> t;
|
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
remote_ntp_time_estimator.h | 19 class Clock; 28 explicit RemoteNtpTimeEstimator(Clock* clock); 42 Clock* clock_;
|
/packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/ |
BaseTaskTestBase.java | 19 import com.android.phone.vvm.omtp.scheduling.BaseTask.Clock; 27 * "current time" of the deterministic clock. 39 BaseTask.setClockForTesting(new Clock()); 43 private class TestClock extends Clock {
|
/external/libchrome/base/time/ |
default_clock.h | 10 #include "base/time/clock.h" 14 // DefaultClock is a Clock implementation that uses Time::Now(). 15 class BASE_EXPORT DefaultClock : public Clock {
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
mutex_time_point.pass.cpp | 16 // 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; 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::now() + ms(250)) [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
try_lock_shared_until.pass.cpp | 17 // template <class Clock, class Duration> 18 // bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time); 28 typedef std::chrono::steady_clock Clock; 29 typedef Clock::time_point time_point; 30 typedef Clock::duration duration; 36 time_point t0 = Clock::now(); 37 assert(m.try_lock_shared_until(Clock::now() + ms(300)) == true); 38 time_point t1 = Clock::now(); 46 time_point t0 = Clock::now(); 47 assert(m.try_lock_shared_until(Clock::now() + ms(250)) == false) [all...] |
try_lock_until.pass.cpp | 17 // 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; 30 typedef Clock::time_point time_point; 31 typedef Clock::duration duration; 37 time_point t0 = Clock::now(); 38 assert(m.try_lock_until(Clock::now() + ms(300)) == true); 39 time_point t1 = Clock::now(); 47 time_point t0 = Clock::now(); 48 assert(m.try_lock_until(Clock::now() + ms(250)) == false) [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
try_lock_until.pass.cpp | 16 // 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; 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::now() + ms(250)) == false) [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
try_lock_until.pass.cpp | 16 // 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; 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::now() + ms(250)) == false) [all...] |
/external/libcxxabi/test/support/ |
timer.hpp | 12 typedef std::chrono::high_resolution_clock Clock; 13 typedef Clock::time_point TimePoint; 16 timer() : m_start(Clock::now()) {} 24 TimePoint end = Clock::now();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
mutex_time_point.pass.cpp | 14 // 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; 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::now() + ms(250)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
try_lock_shared_until.pass.cpp | 14 // 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; 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::now() + ms(250)) == false) [all...] |
try_lock_until.pass.cpp | 14 // 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; 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::now() + ms(250)) == false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
try_lock_until.pass.cpp | 14 // 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; 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::now() + ms(250)) == false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
try_lock_until.pass.cpp | 14 // 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; 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::now() + ms(250)) == false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/support/ |
timer.hpp | 12 typedef std::chrono::high_resolution_clock Clock; 13 typedef Clock::time_point TimePoint; 16 timer() : m_start(Clock::now()) {} 24 TimePoint end = Clock::now();
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
wait_until.pass.cpp | 16 // template <class Clock, class Duration> 19 // const chrono::time_point<Clock, Duration>& abs_time); 27 struct Clock 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::now() [all...] |
wait_until_pred.pass.cpp | 16 // template <class Clock, class Duration, class Predicate> 19 // const chrono::time_point<Clock, Duration>& abs_time, 28 struct Clock 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::now() [all...] |