Searched defs:Clock (Results 1 - 25 of 81) sorted by relevance

1234

/external/chromium_org/base/time/
H A Dclock.cc9 Clock::~Clock() {}
H A Dclock.h13 // A Clock is an interface for objects that vend Times. It is
28 class BASE_EXPORT Clock { class in namespace:base
30 virtual ~Clock();
/external/libcxx/test/utilities/time/time.point/time.point.arithmetic/
H A Dop_+=.pass.cpp21 typedef std::chrono::system_clock Clock; typedef
23 std::chrono::time_point<Clock, Duration> t(Duration(3));
H A Dop_-=.pass.cpp21 typedef std::chrono::system_clock Clock; typedef
23 std::chrono::time_point<Clock, Duration> t(Duration(3));
/external/libcxx/test/utilities/time/time.point/time.point.cast/
H A Dtoduration.fail.cpp14 // template <class ToDuration, class Clock, class Duration>
15 // time_point<Clock, ToDuration>
16 // time_point_cast(const time_point<Clock, Duration>& t);
24 typedef std::chrono::system_clock Clock; typedef
25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint;
26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
/external/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;
H A Dduration.fail.cpp22 typedef std::chrono::system_clock Clock; typedef
24 std::chrono::time_point<Clock, Duration> t = Duration(3);
H A Dduration.pass.cpp21 typedef std::chrono::system_clock Clock; typedef
24 std::chrono::time_point<Clock, Duration> t(Duration(3));
28 std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
33 constexpr std::chrono::time_point<Clock, Duration> t(Duration(3));
37 constexpr std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
H A Dconvert.fail.cpp23 typedef std::chrono::system_clock Clock; typedef
27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
28 std::chrono::time_point<Clock, Duration1> t1 = t2;
H A Dconvert.pass.cpp22 typedef std::chrono::system_clock Clock; typedef
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;
/external/libcxx/test/utilities/time/time.point/time.point.nonmember/
H A Dop_-time_point.pass.cpp14 // 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; typedef
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));
H A Dop_-duration.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);
23 typedef std::chrono::system_clock Clock; typedef
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);
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...]
/external/libcxx/test/utilities/time/time.point/time.point.special/
H A Dmax.pass.cpp21 typedef std::chrono::system_clock Clock; typedef
23 typedef std::chrono::time_point<Clock, Duration> TP;
H A Dmin.pass.cpp21 typedef std::chrono::system_clock Clock; typedef
23 typedef std::chrono::time_point<Clock, Duration> TP;
/external/libcxx/test/utilities/time/
H A Dclock.h15 class Clock class
20 typedef std::chrono::time_point<Clock, duration> time_point;
/external/libcxx/test/utilities/time/time.point/time.point.comparisons/
H A Dop_equal.pass.cpp14 // template <class Clock, class Duration1, class Duration2>
16 // operator==(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
18 // template <class Clock, class Duration1, class Duration2>
20 // operator!=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
27 typedef std::chrono::system_clock Clock; typedef
30 typedef std::chrono::time_point<Clock, Duration1> T1;
31 typedef std::chrono::time_point<Clock, Duration2> T2;
H A Dop_less.pass.cpp14 // template <class Clock, class Duration1, class Duration2>
16 // operator< (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
18 // template <class Clock, class Duration1, class Duration2>
20 // operator> (const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
22 // template <class Clock, class Duration1, class Duration2>
24 // operator<=(const time_point<Clock, Duration1>& lhs, const time_point<Clock, Duration2>& rhs);
26 // template <class Clock, clas
35 typedef std::chrono::system_clock Clock; typedef
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dclock.h27 class Clock { class in namespace:webrtc
29 virtual ~Clock() {}
49 static Clock* GetRealTimeClock();
52 class SimulatedClock : public Clock {
/external/libcxx/test/thread/thread.condition/
H A Dnotify_all_at_thread_exit.pass.cpp25 typedef std::chrono::high_resolution_clock Clock; typedef
38 Clock::time_point t0 = Clock::now();
40 Clock::time_point t1 = Clock::now();
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/
H A Dadopt_lock.pass.cpp23 typedef std::chrono::system_clock Clock; typedef
24 typedef Clock::time_point time_point;
25 typedef Clock::duration duration;
31 time_point t0 = Clock::now();
36 t1 = Clock::now();
H A Dmutex.pass.cpp23 typedef std::chrono::system_clock Clock; typedef
24 typedef Clock::time_point time_point;
25 typedef Clock::duration duration;
31 time_point t0 = Clock::now();
35 t1 = Clock::now();
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
H A Dmutex.pass.cpp26 typedef std::chrono::system_clock Clock; typedef
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
38 t1 = Clock::now();
46 time_point t0 = Clock::now();
50 t1 = Clock::now();
H A Dmutex_duration.pass.cpp27 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();
38 time_point t1 = Clock::now();
45 time_point t0 = Clock::now();
48 time_point t1 = Clock::now();
H A Dmutex_time_point.pass.cpp14 // template <class Clock, class Duration>
15 // shared_lock(mutex_type& m, 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 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(300));
38 time_point t1 = Clock::now();
45 time_point t0 = Clock::now();
46 std::shared_lock<std::shared_timed_mutex> lk(m, Clock
[all...]

Completed in 332 milliseconds

1234