Lines Matching refs:sleep_until
34 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()
200 time::sleep_until(Instant::now() + ms(YR_5)).await; in greater_than_max()
231 tokio::time::sleep_until(deadline).await; in multi_long_sleeps()
246 tokio::time::sleep_until(deadline).await; in long_sleeps()
260 tokio::time::sleep_until(deadline).await; in very_long_sleeps()