Home
last modified time | relevance | path

Searched refs:MockWait (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/tokio/src/process/unix/
Dreap.rs144 struct MockWait { struct
151 impl MockWait { implementation
162 impl Wait for MockWait { implementation
179 impl Kill for MockWait { implementation
213 let mock = MockWait::new(exit, 3); in reaper()
256 MockWait::new(exit, 0), in kill()
270 let mut mock = MockWait::new(exit, 0); in drop_reaps_if_possible()
290 let mut mock = MockWait::new(exit, 2); in drop_enqueues_orphan_if_wait_fails()
293 let queue = MockQueue::<&mut MockWait>::new(); in drop_enqueues_orphan_if_wait_fails()
Dorphan.rs127 struct MockWait { struct
133 impl MockWait { implementation
151 impl Wait for MockWait { implementation
176 let first_orphan = MockWait::new(0); in drain_attempts_a_single_reap_of_all_queued_orphans()
177 let second_orphan = MockWait::new(1); in drain_attempts_a_single_reap_of_all_queued_orphans()
178 let third_orphan = MockWait::new(2); in drain_attempts_a_single_reap_of_all_queued_orphans()
179 let fourth_orphan = MockWait::with_err(); in drain_attempts_a_single_reap_of_all_queued_orphans()