Home
last modified time | relevance | path

Searched refs:PanicOnDrop (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/src/runtime/tests/
Dtask_combinations.rs30 PanicOnDrop, enumerator
36 PanicOnDrop, enumerator
83 CombiTask::PanicOnDrop, in test_combinations()
86 let output = [CombiOutput::NoPanic, CombiOutput::PanicOnDrop]; in test_combinations()
181 if (task == CombiTask::PanicOnDrop) && (output == CombiOutput::PanicOnDrop) { in test_combination()
315 panic_on_drop: out == CombiOutput::PanicOnDrop, in test_combination()
336 panic_on_drop: task == CombiTask::PanicOnDrop || task == CombiTask::PanicOnRunAndDrop, in test_combination()
419 (output == CombiOutput::PanicOnDrop) in test_combination()
435 (output == CombiOutput::PanicOnDrop) in test_combination()
459 || (task == CombiTask::PanicOnDrop) in test_combination()
[all …]
/external/rust/crates/tokio/tests/
Dtask_abort.rs10 struct PanicOnDrop; struct
12 impl Drop for PanicOnDrop { implementation
186 let _panic_dropped = PanicOnDrop; in test_abort_task_that_panics_on_drop_contained()
210 let _panic_dropped = PanicOnDrop; in test_abort_task_that_panics_on_drop_returned()
/external/rust/crates/zerocopy/src/
Dlib.rs2040 struct PanicOnDrop(()); in test_transmute() struct
2041 impl Drop for PanicOnDrop { in test_transmute() implementation
2046 let _: () = transmute!(PanicOnDrop(())); in test_transmute()