/external/rust/crates/tokio/src/time/driver/ |
D | sleep.rs | 21 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/ |
D | timeout.rs | 7 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()
|
D | interval.rs | 2 use crate::time::{sleep_until, Duration, Instant, Sleep}; 122 delay: Pin<Box<Sleep>>,
|
/external/pigweed/pw_thread/ |
D | sleep_facade_test.cc | 45 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/ |
D | mod.rs | 11 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/ |
D | lock_test.cc | 40 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()
|
D | platform_thread.cc | 51 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/ |
D | repeating_task_unittest.cc | 35 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/ |
D | lock_unittest.cc | 32 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()
|
D | atomic_flag_unittest.cc | 78 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/ |
D | watchdog_unittest.cc | 102 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()
|
D | thread_unittest.cc | 52 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/ |
D | WindowTest.cpp | 92 angle::Sleep(1000); in main() 114 angle::Sleep(0); in main() 134 angle::Sleep(0); in main()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | wait_unittest.cc | 131 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/ |
D | test_utils.cc | 50 void Sleep(MojoDeadline deadline) { in Sleep() function 53 base::PlatformThread::Sleep( in Sleep()
|
/external/angle/util/ |
D | test_utils_unittest.cpp | 57 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/ |
D | create_time_controller_unittest.cc | 29 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/ |
D | mod.rs | 23 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/ |
D | task_tracker_unittest.cc | 605 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/ |
D | sequenced_task_runner_test_template.h | 140 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/ |
D | throttle.rs | 4 use tokio::time::{Duration, Instant, Sleep}; 32 delay: Sleep,
|
/external/libcap/contrib/seccomp/ |
D | explore.go | 177 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/ |
D | spinlock_win32.inc | 28 Sleep(0); 30 Sleep(absl::base_internal::SpinLockSuggestedDelayNS(loop) / 1000000);
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | spinlock_win32.inc | 28 Sleep(0); 30 Sleep(absl::base_internal::SpinLockSuggestedDelayNS(loop) / 1000000);
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | spinlock_win32.inc | 28 Sleep(0); 30 Sleep(absl::base_internal::SpinLockSuggestedDelayNS(loop) / 1000000);
|