/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/ |
wait_for.pass.cpp | 46 typedef std::chrono::high_resolution_clock Clock; 57 Clock::time_point t0 = Clock::now(); 59 Clock::time_point t1 = Clock::now(); 73 Clock::time_point t0 = Clock::now(); 75 Clock::time_point t1 = Clock::now(); 89 Clock::time_point t0 = Clock::now() [all...] |
wait_until.pass.cpp | 14 // template <class Clock, class Duration> 16 // wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; 46 typedef std::chrono::high_resolution_clock Clock; 53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); 55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); 57 Clock::time_point t0 = Clock::now(); 59 Clock::time_point t1 = Clock::now(); 69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
wait.pass.cpp | 42 typedef std::chrono::high_resolution_clock Clock; 52 Clock::time_point t0 = Clock::now(); 54 Clock::time_point t1 = Clock::now(); 66 Clock::time_point t0 = Clock::now(); 68 Clock::time_point t1 = Clock::now(); 80 Clock::time_point t0 = Clock::now() [all...] |
wait_for.pass.cpp | 46 typedef std::chrono::high_resolution_clock Clock; 57 Clock::time_point t0 = Clock::now(); 59 Clock::time_point t1 = Clock::now(); 73 Clock::time_point t0 = Clock::now(); 75 Clock::time_point t1 = Clock::now(); 89 Clock::time_point t0 = Clock::now() [all...] |
wait_until.pass.cpp | 14 // template <class Clock, class Duration> 16 // wait_until(const chrono::time_point<Clock, Duration>& abs_time) const; 46 typedef std::chrono::high_resolution_clock Clock; 53 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout); 55 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::ready); 57 Clock::time_point t0 = Clock::now(); 59 Clock::time_point t1 = Clock::now(); 69 assert(f.wait_until(Clock::now() + ms(300)) == std::future_status::timeout) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
wait_for.pass.cpp | 35 typedef std::chrono::system_clock Clock; 41 Clock::time_point t0 = Clock::now(); 45 Clock::time_point t1 = Clock::now();
|
wait_for_pred.pass.cpp | 45 typedef std::chrono::system_clock Clock; 51 Clock::time_point t0 = Clock::now(); 53 Clock::time_point t1 = Clock::now();
|
wait_until.pass.cpp | 14 // template <class Clock, class Duration> 17 // const chrono::time_point<Clock, Duration>& abs_time); 25 struct Clock 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::now() [all...] |
wait_until_pred.pass.cpp | 14 // template <class Clock, class Duration, class Predicate> 17 // const chrono::time_point<Clock, Duration>& abs_time, 26 struct Clock 31 typedef std::chrono::time_point<Clock> time_point; 66 Clock::time_point t0 = Clock::now(); 67 Clock::time_point t = t0 + Clock::duration(250); 69 Clock::time_point t1 = Clock::now() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvarany/ |
wait_for.pass.cpp | 38 typedef std::chrono::system_clock Clock; 44 Clock::time_point t0 = Clock::now(); 48 Clock::time_point t1 = Clock::now();
|
wait_for_pred.pass.cpp | 48 typedef std::chrono::system_clock Clock; 54 Clock::time_point t0 = Clock::now(); 56 Clock::time_point t1 = Clock::now();
|
wait_until.pass.cpp | 14 // template <class Lock, class Clock, class Duration> 16 // wait_until(Lock& lock, const chrono::time_point<Clock, Duration>& abs_time); 24 struct Clock 29 typedef std::chrono::time_point<Clock> time_point; 59 Clock::time_point t0 = Clock::now(); 60 Clock::time_point t = t0 + Clock::duration(250); 63 Clock::time_point t1 = Clock::now() [all...] |
wait_until_pred.pass.cpp | 17 // const chrono::time_point<Clock, Duration>& abs_time, 26 struct Clock 31 typedef std::chrono::time_point<Clock> time_point; 70 Clock::time_point t0 = Clock::now(); 71 Clock::time_point t = t0 + Clock::duration(250); 73 Clock::time_point t1 = Clock::now(); 76 assert(t1 - t0 < Clock::duration(250)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
mutex.fail.cpp | 23 typedef std::chrono::system_clock Clock; 24 typedef Clock::time_point time_point; 25 typedef Clock::duration duration; 31 time_point t0 = Clock::now(); 35 t1 = Clock::now();
|
/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;
|
/ndk/sources/cxx-stl/gabi++/tests/ |
dynamic_cast_stress.cpp | 53 typedef std::chrono::high_resolution_clock Clock; 60 auto t0 = Clock::now(); 62 auto t1 = Clock::now();
|
dynamic_cast14.cpp | [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
database.h | 111 class Clock { 113 Clock() {} 114 virtual ~Clock() {} 234 void set_clock(scoped_ptr<Clock> clock) { 235 clock_ = clock.Pass(); 244 // By default, the database uses a clock that simply returns the current time. 245 class SystemClock : public Clock { 297 scoped_ptr<Clock> clock_;
|
/external/marisa-trie/tools/ |
marisa-benchmark.cc | 26 class Clock { 28 Clock() : cl_(std::clock()) {} 31 cl_ = std::clock(); 35 std::clock_t cur = std::clock(); 175 Clock cl; 186 Clock cl; 202 Clock cl; 216 Clock cl; 232 Clock cl [all...] |
/external/marisa-trie/v0_1_5/tools/ |
marisa_alpha-benchmark.cc | 26 class Clock { 28 Clock() : cl_(std::clock()) {} 31 cl_ = std::clock(); 35 std::clock_t cur = std::clock(); 175 Clock cl; 186 Clock cl; 202 Clock cl; 216 Clock cl; 232 Clock cl [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 42 * Digital clock for the status bar. 44 public class Clock extends TextView implements DemoMode { 57 public Clock(Context context) { 61 public Clock(Context context, AttributeSet attrs) { 65 public Clock(Context context, AttributeSet attrs, int defStyle) {
|
/external/chromium_org/v8/src/platform/ |
time.cc | 168 // periodically resync the internal clock to the system clock. 169 class Clock V8_FINAL { 171 Clock() : initial_ticks_(GetSystemTicks()), initial_time_(GetSystemTime()) {} 174 // Time between resampling the un-granular clock for this API (1 minute). 183 // Check if we need to synchronize with the system clock due to a backwards 219 static LazyStaticInstance<Clock, 220 DefaultConstructTrait<Clock>, 221 ThreadSafeInitOnceTrait>::type clock = LAZY_STATIC_INSTANCE_INITIALIZER; member in namespace:v8::internal 225 return clock.Pointer()->Now() [all...] |