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

1 2 3 4 56 7 8 91011>>

  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/futures/futures.unique_future/
wait.pass.cpp 45 typedef std::chrono::high_resolution_clock Clock;
55 Clock::time_point t0 = Clock::now();
57 Clock::time_point t1 = Clock::now();
69 Clock::time_point t0 = Clock::now();
71 Clock::time_point t1 = Clock::now();
83 Clock::time_point t0 = Clock::now()
    [all...]
wait_for.pass.cpp 49 typedef std::chrono::high_resolution_clock Clock;
60 Clock::time_point t0 = Clock::now();
62 Clock::time_point t1 = Clock::now();
76 Clock::time_point t0 = Clock::now();
78 Clock::time_point t1 = Clock::now();
92 Clock::time_point t0 = Clock::now()
    [all...]
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex_duration.pass.cpp 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();
39 time_point t1 = Clock::now();
46 time_point t0 = Clock::now();
49 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock_shared.pass.cpp 31 typedef std::chrono::system_clock Clock;
32 typedef Clock::time_point time_point;
33 typedef Clock::duration duration;
50 time_point t0 = Clock::now();
52 time_point t1 = Clock::now();
60 time_point t0 = Clock::now();
62 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
lock_shared.pass.cpp 31 typedef std::chrono::system_clock Clock;
32 typedef Clock::time_point time_point;
33 typedef Clock::duration duration;
52 time_point t0 = Clock::now();
54 time_point t1 = Clock::now();
62 time_point t0 = Clock::now();
64 time_point t1 = Clock::now();
try_lock_for.pass.cpp 31 typedef std::chrono::steady_clock Clock;
32 typedef Clock::time_point time_point;
33 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
53 time_point t1 = Clock::now();
61 time_point t0 = Clock::now();
63 time_point t1 = Clock::now();
try_lock_shared_until.pass.cpp 19 // template <class Clock, class Duration>
20 // bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
32 typedef std::chrono::steady_clock Clock;
33 typedef Clock::time_point time_point;
34 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
52 assert(m.try_lock_shared_until(Clock::now() + WaitTime + Tolerance) == true);
53 time_point t1 = Clock::now();
61 time_point t0 = Clock::now();
62 assert(m.try_lock_shared_until(Clock::now() + WaitTime) == false)
    [all...]
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
try_lock_for.pass.cpp 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();
36 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
46 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
try_lock_for.pass.cpp 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();
36 time_point t1 = Clock::now();
46 time_point t0 = Clock::now();
48 time_point t1 = Clock::now();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/
mutex_duration.pass.cpp 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();
39 time_point t1 = Clock::now();
46 time_point t0 = Clock::now();
49 time_point t1 = Clock::now();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
lock_shared.pass.cpp 31 typedef std::chrono::system_clock Clock;
32 typedef Clock::time_point time_point;
33 typedef Clock::duration duration;
50 time_point t0 = Clock::now();
52 time_point t1 = Clock::now();
60 time_point t0 = Clock::now();
62 time_point t1 = Clock::now();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
lock_shared.pass.cpp 31 typedef std::chrono::system_clock Clock;
32 typedef Clock::time_point time_point;
33 typedef Clock::duration duration;
52 time_point t0 = Clock::now();
54 time_point t1 = Clock::now();
62 time_point t0 = Clock::now();
64 time_point t1 = Clock::now();
try_lock_for.pass.cpp 31 typedef std::chrono::steady_clock Clock;
32 typedef Clock::time_point time_point;
33 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
53 time_point t1 = Clock::now();
61 time_point t0 = Clock::now();
63 time_point t1 = Clock::now();
try_lock_shared_until.pass.cpp 19 // template <class Clock, class Duration>
20 // bool try_lock_shared_until(const chrono::time_point<Clock, Duration>& abs_time);
32 typedef std::chrono::steady_clock Clock;
33 typedef Clock::time_point time_point;
34 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
52 assert(m.try_lock_shared_until(Clock::now() + WaitTime + Tolerance) == true);
53 time_point t1 = Clock::now();
61 time_point t0 = Clock::now();
62 assert(m.try_lock_shared_until(Clock::now() + WaitTime) == false)
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
try_lock_for.pass.cpp 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();
36 time_point t1 = Clock::now();
44 time_point t0 = Clock::now();
46 time_point t1 = Clock::now();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
try_lock_for.pass.cpp 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();
36 time_point t1 = Clock::now();
46 time_point t0 = Clock::now();
48 time_point t1 = Clock::now();
  /external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_time_point.pass.cpp 19 // template <class Clock, class Duration>
20 // shared_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
32 typedef std::chrono::steady_clock Clock;
33 typedef Clock::time_point time_point;
34 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
52 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime + Tolerance);
54 time_point t1 = Clock::now();
61 time_point t0 = Clock::now();
62 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime)
    [all...]
mutex.pass.cpp 32 typedef std::chrono::system_clock Clock;
33 typedef Clock::time_point time_point;
34 typedef Clock::duration duration;
53 time_point t0 = Clock::now();
57 t1 = Clock::now();
65 time_point t0 = Clock::now();
69 t1 = Clock::now();
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
mutex_time_point.pass.cpp 19 // template <class Clock, class Duration>
20 // shared_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
32 typedef std::chrono::steady_clock Clock;
33 typedef Clock::time_point time_point;
34 typedef Clock::duration duration;
51 time_point t0 = Clock::now();
52 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime + Tolerance);
54 time_point t1 = Clock::now();
61 time_point t0 = Clock::now();
62 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime)
    [all...]
  /frameworks/base/core/java/android/os/
SimpleClock.java 19 import java.time.Clock;
24 public abstract class SimpleClock extends Clock {
37 public Clock withZone(ZoneId zone) {
  /external/perfetto/protos/perfetto/trace/
clock_snapshot.proto 22 // A snapshot of clock readings to allow for trace alignment.
24 message Clock {
39 repeated Clock clocks = 1;
  /external/webrtc/webrtc/system_wrappers/include/
clock.h 26 // A clock interface that allows reading of absolute and relative timestamps.
27 class Clock {
29 virtual ~Clock() {}
32 // source is fixed for this clock.
36 // source is fixed for this clock.
48 // Returns an instance of the real-time system clock implementation.
49 static Clock* GetRealTimeClock();
52 class SimulatedClock : public Clock {
59 // source is fixed for this clock.
63 // source is fixed for this clock
    [all...]
  /external/webrtc/webrtc/test/
frame_generator_capturer.h 36 Clock* clock);
43 Clock* clock);
52 FrameGeneratorCapturer(Clock* clock,
62 Clock* const clock_;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
Clock.java 21 * Wrapper class for time operations. Allows replacement of clock operations for testing.
23 public class Clock {
26 * Get the current time of the clock in milliseconds.
  /libcore/ojluni/src/main/java/java/time/
Clock.java 72 * A clock providing access to the current instant, date and time using a time-zone.
76 * As such, a clock can be used instead of {@link System#currentTimeMillis()}
79 * Use of a {@code Clock} is optional. All key date-time classes also have a
80 * {@code now()} factory method that uses the system clock in the default time zone.
85 * Best practice for applications is to pass a {@code Clock} into any method
90 * private Clock clock; // dependency inject
93 * if (eventDate.isBefore(LocalDate.now(clock)) {
99 * This approach allows an alternate clock, such as {@link #fixed(Instant, ZoneId) fixed}
100 * or {@link #offset(Clock, Duration) offset} to be used during testing
    [all...]

Completed in 1380 milliseconds

1 2 3 4 56 7 8 91011>>