/external/chromium_org/base/time/ |
clock.cc | 5 #include "base/time/clock.h" 9 Clock::~Clock() {}
|
clock.h | 13 // A Clock is an interface for objects that vend Times. It is 28 class BASE_EXPORT Clock { 30 virtual ~Clock(); 34 // example, the system clock may change to an earlier 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 {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Clock.java | 23 public class Clock { 24 public static final Clock INSTANCE = new Clock(); 26 protected Clock() {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
Clock.java | 19 public class Clock { 20 private static final Clock INSTANCE = new Clock(); 22 private static Clock sInstance = INSTANCE; 24 public static final Clock getInstance() { 29 static void injectInstance(Clock clock) { 30 sInstance = clock;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Clock.cpp | 27 #include "platform/Clock.h" 33 Clock::Clock() 41 void Clock::setCurrentTime(double time) 47 double Clock::currentTime() const 52 void Clock::setPlayRate(double rate) 59 void Clock::start() 68 void Clock::stop() 78 double Clock::now() const 83 double Clock::currentDelta() cons [all...] |
ClockTest.cpp | 32 #include "platform/Clock.h" 38 using WebCore::Clock; 42 TEST(Clock, StartStop) 44 OwnPtr<Clock> clock = Clock::create(); local 45 EXPECT_FALSE(clock->isRunning()); 46 clock->start(); 47 EXPECT_TRUE(clock->isRunning()); 48 clock->stop() 54 OwnPtr<Clock> clock = Clock::create(); local [all...] |
Clock.h | 35 class PLATFORM_EXPORT Clock { 37 static PassOwnPtr<Clock> create(); 50 Clock();
|
/external/libcxx/test/thread/futures/futures.async/ |
async.pass.cpp | 24 typedef std::chrono::high_resolution_clock Clock; 69 Clock::time_point t0 = Clock::now(); 71 Clock::time_point t1 = Clock::now(); 77 Clock::time_point t0 = Clock::now(); 79 Clock::time_point t1 = Clock::now(); 85 Clock::time_point t0 = Clock::now() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/ |
async.pass.cpp | 24 typedef std::chrono::high_resolution_clock Clock; 69 Clock::time_point t0 = Clock::now(); 71 Clock::time_point t1 = Clock::now(); 77 Clock::time_point t0 = Clock::now(); 79 Clock::time_point t1 = Clock::now(); 85 Clock::time_point t0 = Clock::now() [all...] |
/external/libcxx/test/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 22 typedef std::chrono::system_clock Clock; 24 std::chrono::time_point<Clock, Duration> t = Duration(3);
|
convert.fail.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 23 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 28 std::chrono::time_point<Clock, Duration1> t1 = t2;
|
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;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
duration.fail.cpp | 22 typedef std::chrono::system_clock Clock; 24 std::chrono::time_point<Clock, Duration> t = Duration(3);
|
convert.fail.cpp | 15 // time_point(const time_point<clock, Duration2>& t); 23 typedef std::chrono::system_clock Clock; 27 std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 28 std::chrono::time_point<Clock, Duration1> t1 = t2;
|
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
clock_unittest.cc | 11 #include "webrtc/system_wrappers/interface/clock.h" 18 Clock* clock = Clock::GetRealTimeClock(); local 21 clock->CurrentNtp(seconds, fractions); 22 int64_t milliseconds = clock->CurrentNtpInMilliseconds(); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 5);
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/ |
remote_ntp_time_estimator.h | 19 class Clock; 29 explicit RemoteNtpTimeEstimator(Clock* clock); 42 Clock* clock_;
|
/external/libcxx/test/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 14 // 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; 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
toduration.fail.cpp | 14 // 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; 25 typedef std::chrono::time_point<Clock, std::chrono::milliseconds> FromTimePoint; 26 typedef std::chrono::time_point<Clock, std::chrono::minutes> ToTimePoint;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
MockClock.java | 19 public class MockClock extends Clock { 24 Clock.injectInstance(this); 30 Clock.resetInstance();
|
/external/libcxx/test/thread/thread.threads/thread.thread.this/ |
sleep_for.pass.cpp | 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();
|
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();
|
/external/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));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.this/ |
sleep_for.pass.cpp | 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();
|