HomeSort by relevance Sort by last modified time
    Searched refs:Clock (Results 76 - 100 of 618) sorted by null

1 2 34 5 6 7 8 91011>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
try_lock_until.pass.cpp 16 // template <class Clock, class Duration>
17 // bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
28 template <class Clock, class Duration>
29 bool try_lock_until(const std::chrono::time_point<Clock, Duration>& abs_time)
32 assert(Clock::now() - abs_time < ms(5));
43 typedef std::chrono::steady_clock Clock;
45 assert(lk.try_lock_until(Clock::now()) == true);
51 lk.try_lock_until(Clock::now());
60 assert(lk.try_lock_until(Clock::now()) == false);
67 lk.try_lock_until(Clock::now())
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/
clock.h 15 class Clock
20 typedef std::chrono::time_point<Clock, duration> time_point;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.arithmetic/
op_+=.pass.cpp 21 typedef std::chrono::system_clock Clock;
23 std::chrono::time_point<Clock, Duration> t(Duration(3));
op_-=.pass.cpp 21 typedef std::chrono::system_clock Clock;
23 std::chrono::time_point<Clock, Duration> t(Duration(3));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.point/time.point.special/
max.pass.cpp 21 typedef std::chrono::system_clock Clock;
23 typedef std::chrono::time_point<Clock, Duration> TP;
min.pass.cpp 21 typedef std::chrono::system_clock Clock;
23 typedef std::chrono::time_point<Clock, Duration> TP;
  /external/libcxx/test/std/thread/thread.condition/
notify_all_at_thread_exit.pass.cpp 31 typedef std::chrono::high_resolution_clock Clock;
44 Clock::time_point t0 = Clock::now();
46 Clock::time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
adopt_lock.pass.cpp 25 typedef std::chrono::system_clock Clock;
26 typedef Clock::time_point time_point;
27 typedef Clock::duration duration;
33 time_point t0 = Clock::now();
38 t1 = Clock::now();
mutex.pass.cpp 30 typedef std::chrono::system_clock Clock;
31 typedef Clock::time_point time_point;
32 typedef Clock::duration duration;
38 time_point t0 = Clock::now();
42 t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex.pass.cpp 30 typedef std::chrono::system_clock Clock;
31 typedef Clock::time_point time_point;
32 typedef Clock::duration duration;
38 time_point t0 = Clock::now();
42 t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.class/
lock.pass.cpp 27 typedef std::chrono::system_clock Clock;
28 typedef Clock::time_point time_point;
29 typedef Clock::duration duration;
35 time_point t0 = Clock::now();
37 time_point t1 = Clock::now();
try_lock.pass.cpp 25 typedef std::chrono::system_clock Clock;
26 typedef Clock::time_point time_point;
27 typedef Clock::duration duration;
33 time_point t0 = Clock::now();
39 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
lock.pass.cpp 27 typedef std::chrono::system_clock Clock;
28 typedef Clock::time_point time_point;
29 typedef Clock::duration duration;
35 time_point t0 = Clock::now();
37 time_point t1 = Clock::now();
try_lock.pass.cpp 25 typedef std::chrono::system_clock Clock;
26 typedef Clock::time_point time_point;
27 typedef Clock::duration duration;
33 time_point t0 = Clock::now();
39 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock.pass.cpp 30 typedef std::chrono::system_clock Clock;
31 typedef Clock::time_point time_point;
32 typedef Clock::duration duration;
49 time_point t0 = Clock::now();
51 time_point t1 = Clock::now();
try_lock.pass.cpp 26 typedef std::chrono::system_clock Clock;
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
40 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
lock.pass.cpp 30 typedef std::chrono::system_clock Clock;
31 typedef Clock::time_point time_point;
32 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
53 time_point t1 = Clock::now();
try_lock.pass.cpp 26 typedef std::chrono::system_clock Clock;
27 typedef Clock::time_point time_point;
28 typedef Clock::duration duration;
34 time_point t0 = Clock::now();
40 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
lock.pass.cpp 27 typedef std::chrono::system_clock Clock;
28 typedef Clock::time_point time_point;
29 typedef Clock::duration duration;
35 time_point t0 = Clock::now();
37 time_point t1 = Clock::now();
try_lock.pass.cpp 25 typedef std::chrono::system_clock Clock;
26 typedef Clock::time_point time_point;
27 typedef Clock::duration duration;
33 time_point t0 = Clock::now();
39 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
lock.pass.cpp 27 typedef std::chrono::system_clock Clock;
28 typedef Clock::time_point time_point;
29 typedef Clock::duration duration;
35 time_point t0 = Clock::now();
37 time_point t1 = Clock::now();
try_lock.pass.cpp 25 typedef std::chrono::system_clock Clock;
26 typedef Clock::time_point time_point;
27 typedef Clock::duration duration;
33 time_point t0 = Clock::now();
39 time_point t1 = Clock::now();
  /external/libcxx/test/std/utilities/time/time.point/time.point.cons/
duration.pass.cpp 23 typedef std::chrono::system_clock Clock;
26 std::chrono::time_point<Clock, Duration> t(Duration(3));
30 std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
35 constexpr std::chrono::time_point<Clock, Duration> t(Duration(3));
39 constexpr std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.condition/
notify_all_at_thread_exit.pass.cpp 31 typedef std::chrono::high_resolution_clock Clock;
44 Clock::time_point t0 = Clock::now();
46 Clock::time_point t1 = Clock::now();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
adopt_lock.pass.cpp 25 typedef std::chrono::system_clock Clock;
26 typedef Clock::time_point time_point;
27 typedef Clock::duration duration;
33 time_point t0 = Clock::now();
38 t1 = Clock::now();

Completed in 243 milliseconds

1 2 34 5 6 7 8 91011>>