Lines Matching refs:Rc
7 use std::rc::Rc;
13 struct Pending(Rc<()>);
24 Pending(Rc::new(())) in pending()
70 let cnt = Rc::new(Cell::new(0)); in run_executes_spawned()
93 let cnt = Rc::new(Cell::new(0)); in run_spawn_many()
120 let cnt = Rc::new(Cell::new(0)); in try_run_one_executes_one_ready()
148 let cnt = Rc::new(Cell::new(0)); in try_run_one_returns_on_no_progress()
153 let waker: Rc<Cell<Option<Waker>>> = Rc::new(Cell::new(None)); in try_run_one_returns_on_no_progress()
184 let cnt = Rc::new(Cell::new(0)); in try_run_one_runs_sub_futures()
214 let cnt = Rc::new(Cell::new(0)); in run_until_stalled_returns_multiple_times()
231 let cnt = Rc::new(Cell::new(0)); in run_until_stalled_runs_spawned_sub_futures()
255 let cnt = Rc::new(Cell::new(0)); in run_until_stalled_executes_all_ready()
308 let state = Rc::new(RefCell::new([0, 0])); in tasks_are_scheduled_fairly()
311 state: Rc<RefCell<[i32; 2]>>, in tasks_are_scheduled_fairly()