Home
last modified time | relevance | path

Searched refs:Sleep (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/external/rust/crates/tokio/src/time/driver/
Dsleep.rs21 pub fn sleep_until(deadline: Instant) -> Sleep { in sleep_until() argument
22 Sleep::new_timeout(deadline) in sleep_until()
60 pub fn sleep(duration: Duration) -> Sleep { in sleep() argument
159 pub struct Sleep {
168 impl Sleep { implementation
169 pub(crate) fn new_timeout(deadline: Instant) -> Sleep { in new_timeout() argument
173 Sleep { deadline, entry } in new_timeout()
176 pub(crate) fn far_future() -> Sleep { in far_future()
238 impl Future for Sleep { implementation
/external/rust/crates/tokio/src/time/
Dtimeout.rs7 use crate::time::{error::Elapsed, sleep_until, Duration, Instant, Sleep};
54 Some(deadline) => Sleep::new_timeout(deadline), in timeout()
55 None => Sleep::far_future(), in timeout()
114 delay: Sleep,
119 pub(crate) fn new_with_delay(value: T, delay: Sleep) -> Timeout<T> { in new_with_delay()
Dinterval.rs2 use crate::time::{sleep_until, Duration, Instant, Sleep};
122 delay: Pin<Box<Sleep>>,
/external/pigweed/pw_thread/
Dsleep_facade_test.cc45 TEST(Sleep, SleepFor) { in TEST() argument
55 TEST(Sleep, SleepUntil) { in TEST() argument
65 TEST(Sleep, SleepForInC) { in TEST() argument
76 TEST(Sleep, SleepUntilInC) { in TEST() argument
/external/rust/crates/tokio/src/time/tests/
Dmod.rs11 use crate::time::Sleep; in registration_is_send_and_sync()
13 assert_send::<Sleep>(); in registration_is_send_and_sync()
14 assert_sync::<Sleep>(); in registration_is_send_and_sync()
/external/sfntly/cpp/src/test/
Dlock_test.cc40 PlatformThread::Sleep(rand() % 20); in ThreadMain()
46 PlatformThread::Sleep(rand() % 20); in ThreadMain()
77 PlatformThread::Sleep(rand() % 20); in BasicLockTest()
83 PlatformThread::Sleep(rand() % 20); in BasicLockTest()
90 PlatformThread::Sleep(rand() % 20); in BasicLockTest()
172 PlatformThread::Sleep(rand() % 10); in DoStuff()
Dplatform_thread.cc51 void PlatformThread::Sleep(int32_t duration_ms) { in Sleep() function in sfntly::PlatformThread
52 ::Sleep(duration_ms); in Sleep()
85 void PlatformThread::Sleep(int32_t duration_ms) {
/external/webrtc/rtc_base/task_utils/
Drepeating_task_unittest.cc35 void Sleep(TimeDelta time_delta) { in Sleep() function
94 Sleep(kShortInterval * (kShortIntervalCount + kMargin)); in TEST()
101 Sleep(kLongInterval * 2); in TEST()
118 Sleep(kSleepDuration); in TEST()
121 Sleep(kRepeatInterval * kTargetCount); in TEST()
133 Sleep(TimeDelta::Millis(100)); in TEST()
136 Sleep(TimeDelta::Millis(400)); in TEST()
180 Sleep(TimeDelta::Millis(10)); in TEST()
/external/libchrome/base/synchronization/
Dlock_unittest.cc32 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); in ThreadMain()
38 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); in ThreadMain()
69 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); in TEST()
75 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); in TEST()
82 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); in TEST()
202 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 10)); in DoStuff()
Datomic_flag_unittest.cc78 PlatformThread::Sleep(TimeDelta::FromMilliseconds(20)); in TEST()
88 PlatformThread::Sleep(TimeDelta::FromMilliseconds(20)); in TEST()
107 PlatformThread::Sleep(TimeDelta::FromMilliseconds(20)); in TEST()
/external/libchrome/base/threading/
Dwatchdog_unittest.cc102 PlatformThread::Sleep(TimeDelta::FromMilliseconds(500)); in TEST_F()
113 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); in TEST_F()
128 PlatformThread::Sleep(TimeDelta::FromSeconds(1)); in TEST_F()
Dthread_unittest.cc52 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(500)); in Init()
203 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); in TEST_F()
222 &base::PlatformThread::Sleep), in TEST_F()
249 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); in TEST_F()
294 base::PlatformThread::Sleep(base::TimeDelta::Max()); in TEST_F()
377 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(20)); in TEST_F()
512 base::BindOnce(&base::PlatformThread::Sleep, kSleepPerTestTask)); in TEST_F()
/external/angle/samples/WindowTest/
DWindowTest.cpp92 angle::Sleep(1000); in main()
114 angle::Sleep(0); in main()
134 angle::Sleep(0); in main()
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_unittest.cc131 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); in TEST_F()
151 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); in TEST_F()
169 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); in TEST_F()
239 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); in TEST_F()
257 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); in TEST_F()
284 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(200)); in TEST_F()
/external/libchrome/mojo/core/
Dtest_utils.cc50 void Sleep(MojoDeadline deadline) { in Sleep() function
53 base::PlatformThread::Sleep( in Sleep()
/external/angle/util/
Dtest_utils_unittest.cpp57 TEST(TestUtils, Sleep) in TEST() argument
61 angle::Sleep(500); in TEST()
211 angle::Sleep(1); in TEST()
243 angle::Sleep(1); in TEST()
/external/webrtc/api/test/
Dcreate_time_controller_unittest.cc29 void Sleep(TimeDelta duration) override;
58 void FakeAlarm::Sleep(TimeDelta duration) { in Sleep() function in webrtc::__anon8214ce1e0111::FakeAlarm
/external/rust/crates/rayon-core/src/sleep/
Dmod.rs23 pub(super) struct Sleep { struct
63 impl Sleep { impl
64 pub(super) fn new(logger: Logger, n_threads: usize) -> Sleep { in new() argument
65 Sleep { in new()
/external/libchrome/base/task_scheduler/
Dtask_tracker_unittest.cc605 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
622 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
637 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
649 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
666 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
679 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
699 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
707 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
730 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
738 PlatformThread::Sleep(TestTimeouts::tiny_timeout()); in TEST_P()
[all …]
/external/libchrome/base/test/
Dsequenced_task_runner_test_template.h140 Bind(&PlatformThread::Sleep, TimeDelta::FromSeconds(1))); in TYPED_TEST_P()
164 Bind(&PlatformThread::Sleep, TimeDelta::FromSeconds(1))); in TYPED_TEST_P()
264 base::Bind(&PlatformThread::Sleep, TimeDelta::FromMilliseconds(50))); in TYPED_TEST_P()
286 base::Bind(&PlatformThread::Sleep, TimeDelta::FromMilliseconds(50))); in TYPED_TEST_P()
/external/rust/crates/tokio-stream/src/stream_ext/
Dthrottle.rs4 use tokio::time::{Duration, Instant, Sleep};
32 delay: Sleep,
/external/libcap/contrib/seccomp/
Dexplore.go177 time.Sleep(1 * time.Minute)
205 time.Sleep(1 * time.Microsecond)
240 time.Sleep(60 * time.Second)
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dspinlock_win32.inc28 Sleep(0);
30 Sleep(absl::base_internal::SpinLockSuggestedDelayNS(loop) / 1000000);
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dspinlock_win32.inc28 Sleep(0);
30 Sleep(absl::base_internal::SpinLockSuggestedDelayNS(loop) / 1000000);
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dspinlock_win32.inc28 Sleep(0);
30 Sleep(absl::base_internal::SpinLockSuggestedDelayNS(loop) / 1000000);

12345678910>>...17