Home
last modified time | relevance | path

Searched refs:sleep_until (Results 1 – 25 of 34) sorted by relevance

12

/external/rust/crates/tokio/tests/
Dtime_sleep.rs34 time::sleep_until(now).await; in immediate_sleep()
64 time::sleep_until(now + ms(i)).await; in delayed_sleep_level_0()
78 time::sleep_until(deadline).await; in sub_ms_delayed_sleep()
91 time::sleep_until(now + ms(60)).await; in delayed_sleep_wrapping_level_0()
102 let mut sleep = task::spawn(Box::pin(time::sleep_until(now + ms(100)))); in reset_future_sleep_before_fire()
119 let mut sleep = task::spawn(Box::pin(time::sleep_until(now + ms(100)))); in reset_past_sleep_before_turn()
136 let mut sleep = task::spawn(Box::pin(time::sleep_until(now + ms(100)))); in reset_past_sleep_before_fire()
154 let mut sleep = Box::pin(time::sleep_until(now + ms(100))); in reset_future_sleep_after_fire()
170 let mut sleep = task::spawn(Box::pin(time::sleep_until(now + ms(100)))); in reset_sleep_to_past()
192 let _fut = time::sleep_until(now + ms(500)); in creating_sleep_outside_of_context()
[all …]
Dtime_rt.rs18 sleep_until(when).await; in timer_with_threaded_runtime()
37 sleep_until(when).await; in timer_with_basic_scheduler()
71 let starve = Starve(Box::pin(sleep_until(when)), 0); in starving()
/external/rust/crates/tokio/src/time/driver/
Dsleep.rs21 pub fn sleep_until(deadline: Instant) -> Sleep { in sleep_until() function
62 Some(deadline) => sleep_until(deadline), in sleep()
63 None => sleep_until(Instant::far_future()), in sleep()
/external/rust/crates/tokio-test/tests/
Dblock_on.rs3 use tokio::time::{sleep_until, Duration, Instant};
25 sleep_until(deadline).await; in test_sleep()
/external/pigweed/pw_thread_stl/public/pw_thread_stl/
Dsleep_inline.h33 inline void sleep_until(chrono::SystemClock::time_point until_at_least) { in sleep_until() function
39 return std::this_thread::sleep_until(until_at_least); in sleep_until()
/external/rust/crates/tokio/src/time/
Dinterval.rs2 use crate::time::{sleep_until, Duration, Instant, Sleep};
104 delay: Box::pin(sleep_until(start)), in interval_at()
Dtimeout.rs7 use crate::time::{error::Elapsed, sleep_until, Duration, Instant, Sleep};
98 let delay = sleep_until(deadline); in timeout_at()
Dmod.rs95 pub use driver::sleep::{sleep, sleep_until, Sleep};
/external/rust/crates/crossbeam-channel/src/flavors/
Dat.rs71 utils::sleep_until(deadline); in recv()
99 utils::sleep_until(None); in recv()
Dnever.rs39 utils::sleep_until(deadline); in recv()
/external/pigweed/pw_thread_threadx/public/pw_thread_threadx/
Dsleep_inline.h20 inline void sleep_until(chrono::SystemClock::time_point until_at_least) { in sleep_until() function
/external/pigweed/pw_thread_embos/public/pw_thread_embos/
Dsleep_inline.h20 inline void sleep_until(chrono::SystemClock::time_point until_at_least) { in sleep_until() function
/external/pigweed/pw_thread_freertos/public/pw_thread_freertos/
Dsleep_inline.h21 inline void sleep_until(chrono::SystemClock::time_point until_at_least) { in sleep_until() function
/external/pigweed/pw_thread/public/pw_thread/
Dsleep.h43 void sleep_until(chrono::SystemClock::time_point until_at_least);
/external/pigweed/pw_thread/
Dsleep.cc26 pw::this_thread::sleep_until(SystemClock::time_point( in pw_this_thread_SleepUntil()
Dsleep_facade_test.cc61 sleep_until(deadline); in TEST()
/external/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.this/
Dsleep_until.pass.cpp28 std::this_thread::sleep_until(t0 + ms); in main()
/external/rust/crates/tokio/src/time/tests/
Dmod.rs21 let _ = time::sleep_until(when); in sleep_is_eager()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/
Drx-currentthread.hpp208 std::this_thread::sleep_until(when); in schedule()
219 (std::this_thread::sleep_until(next), true); in schedule()
Drx-immediate.hpp46 std::this_thread::sleep_until(when); in schedule()
/external/libcxx/test/std/thread/thread.threads/thread.thread.this/
Dsleep_until.pass.cpp28 std::this_thread::sleep_until(t0 + ms); in main()
/external/rust/crates/crossbeam-channel/src/
Dselect.rs182 utils::sleep_until(None); in run_select()
186 utils::sleep_until(Some(when)); in run_select()
330 utils::sleep_until(None); in run_ready()
334 utils::sleep_until(Some(when)); in run_ready()
Dutils.rs49 pub fn sleep_until(deadline: Option<Instant>) { in sleep_until() function
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/
D_time.py186 def sleep_until(self, time): member in StrictRealTime
224 def sleep_until(self, time): member in StrictFakeTime
/external/rust/crates/tokio-stream/src/stream_ext/
Dthrottle.rs18 delay: tokio::time::sleep_until(Instant::now() + duration), in throttle()

12