/external/crosvm/rutabaga_gfx/ffi/src/ |
D | lib.rs | 12 use std::panic::AssertUnwindSafe; 117 catch_unwind(AssertUnwindSafe(|| { in rutabaga_init() 166 catch_unwind(AssertUnwindSafe(|| { in rutabaga_finish() 176 catch_unwind(AssertUnwindSafe(|| { in rutabaga_get_num_capsets() 191 catch_unwind(AssertUnwindSafe(|| { in rutabaga_get_capset_info() 212 catch_unwind(AssertUnwindSafe(|| { in rutabaga_get_capset() 242 catch_unwind(AssertUnwindSafe(|| { in rutabaga_context_create() 251 catch_unwind(AssertUnwindSafe(|| { in rutabaga_context_destroy() 264 catch_unwind(AssertUnwindSafe(|| { in rutabaga_context_attach_resource() 277 catch_unwind(AssertUnwindSafe(|| { in rutabaga_context_detach_resource() [all …]
|
/external/rust/crates/proc-macro-error-attr/src/ |
D | lib.rs | 55 settings.set(AssertUnwindSafe); in impl_proc_macro_error() 89 let closure = if settings.is_set(AssertUnwindSafe) { in gen_body() 90 quote!(::std::panic::AssertUnwindSafe(|| #block )) in gen_body() 105 let closure = quote!(::std::panic::AssertUnwindSafe(|| #block )); in gen_body()
|
D | settings.rs | 31 "assert_unwind_safe" => AssertUnwindSafe,
|
/external/rust/crates/rayon-core/src/ |
D | unwind.rs | 6 use std::panic::{self, AssertUnwindSafe}; 17 panic::catch_unwind(AssertUnwindSafe(func)) in halt_unwinding()
|
/external/rust/crates/tokio/src/runtime/task/ |
D | harness.rs | 292 let _ = panic::catch_unwind(panic::AssertUnwindSafe(|| { in drop_join_handle_slow() 312 let _ = panic::catch_unwind(panic::AssertUnwindSafe(|| { in complete() 446 let res = panic::catch_unwind(panic::AssertUnwindSafe(|| { in cancel_task() 464 let output = panic::catch_unwind(panic::AssertUnwindSafe(|| { in poll_future() 492 let res = panic::catch_unwind(panic::AssertUnwindSafe(|| { in poll_future()
|
/external/rust/crates/futures-util/src/future/future/ |
D | remote_handle.rs | 13 panic::{self, AssertUnwindSafe}, 82 future: CatchUnwind<AssertUnwindSafe<Fut>>, 120 future: AssertUnwindSafe(future).catch_unwind(), in remote_handle()
|
D | catch_unwind.rs | 3 use std::panic::{catch_unwind, AssertUnwindSafe, UnwindSafe}; 36 catch_unwind(AssertUnwindSafe(|| f.poll(cx)))?.map(Ok) in poll()
|
/external/rust/crates/scopeguard/patches/ |
D | disable_panic_tests.patch | 12 let _ = catch_unwind(AssertUnwindSafe(|| { 20 let _ = catch_unwind(AssertUnwindSafe(|| {
|
/external/rust/crates/futures-util/src/stream/stream/ |
D | catch_unwind.rs | 5 use std::panic::{catch_unwind, AssertUnwindSafe, UnwindSafe}; 36 let res = catch_unwind(AssertUnwindSafe(|| this.stream.as_mut().poll_next(cx))); in poll_next()
|
/external/rust/crates/tokio/src/sync/tests/ |
D | atomic_waker.rs | 65 let panicking = panic::AssertUnwindSafe(&panicking); in atomic_waker_panic_safe() 68 let panic::AssertUnwindSafe(panicking) = panicking; in atomic_waker_panic_safe()
|
/external/rust/crates/vulkano/src/ |
D | tests.rs | 77 let res = ::std::panic::catch_unwind(::std::panic::AssertUnwindSafe(|| $code)); 94 let res = ::std::panic::catch_unwind(::std::panic::AssertUnwindSafe(|| $code));
|
/external/rust/crates/openssl/src/ |
D | util.rs | 5 use std::panic::{self, AssertUnwindSafe}; 51 let result = panic::catch_unwind(AssertUnwindSafe(|| { in invoke_passwd_cb()
|
/external/rust/crates/openssl/src/ssl/ |
D | bio.rs | 10 use std::panic::{catch_unwind, AssertUnwindSafe}; 94 match catch_unwind(AssertUnwindSafe(|| state.stream.write(buf))) { in bwrite() 116 match catch_unwind(AssertUnwindSafe(|| state.stream.read(buf))) { in bread() 153 match catch_unwind(AssertUnwindSafe(|| state.stream.flush())) { in ctrl()
|
/external/rust/crates/tokio/patches/ |
D | panic_unwind_tests.patch | 16 - use std::panic::{self, AssertUnwindSafe}; 41 use std::panic::{self, AssertUnwindSafe};
|
D | task_blocking.patch | 11 use std::panic::{catch_unwind, AssertUnwindSafe};
|
/external/rust/crates/rayon/tests/ |
D | collect.rs | 29 let _result = panic::catch_unwind(panic::AssertUnwindSafe(|| { in collect_drop_on_unwind() 87 let _result = panic::catch_unwind(panic::AssertUnwindSafe(|| { in collect_drop_on_unwind_zst()
|
/external/rust/crates/tokio/src/sync/task/ |
D | atomic_waker.rs | 8 use std::panic::{resume_unwind, AssertUnwindSafe, RefUnwindSafe, UnwindSafe}; 180 std::panic::catch_unwind(AssertUnwindSafe(f)) in do_register()
|
/external/rust/crates/scopeguard/src/ |
D | lib.rs | 481 use std::panic::AssertUnwindSafe; 506 let _ = catch_unwind(AssertUnwindSafe(|| { in test_defer_success_2() 518 let _ = catch_unwind(AssertUnwindSafe(|| { in test_defer_unwind_1()
|
/external/rust/crates/futures/tests/ |
D | ready_queue.rs | 7 use std::panic::{self, AssertUnwindSafe}; 143 let r = panic::catch_unwind(AssertUnwindSafe(|| queue.poll_next_unpin(cx))); in panicking_future_dropped()
|
D | future_shared.rs | 6 use std::panic::AssertUnwindSafe; 250 std::panic::catch_unwind(AssertUnwindSafe(|| { in panic_while_poll()
|
/external/rust/crates/pin-project-lite/tests/ |
D | drop_order.rs | 138 let res = panic::catch_unwind(panic::AssertUnwindSafe(|| { in project_replace_panic() 153 let res = panic::catch_unwind(panic::AssertUnwindSafe(|| { in project_replace_panic()
|
/external/rust/crates/tokio/src/signal/ |
D | reusable_box.rs | 3 use std::panic::AssertUnwindSafe; 84 let result = panic::catch_unwind(AssertUnwindSafe(|| { in set_same_layout()
|
/external/rust/crates/tokio/tests/ |
D | task_blocking.rs | 119 use std::panic::{catch_unwind, AssertUnwindSafe}; in useful_panic_message_when_dropping_rt_in_rt() 123 let result = catch_unwind(AssertUnwindSafe(|| { in useful_panic_message_when_dropping_rt_in_rt()
|
/external/crosvm/base/src/ |
D | descriptor_reflection.rs | 60 use std::panic::AssertUnwindSafe; 180 let res = catch_unwind(AssertUnwindSafe(|| self.0.serialize(serializer))); in serialize() 319 let res = catch_unwind(AssertUnwindSafe(f)); in deserialize_with_descriptors()
|
/external/rust/crates/libtest-mimic/src/ |
D | lib.rs | 498 use std::panic::{catch_unwind, AssertUnwindSafe}; in run_single() 500 catch_unwind(AssertUnwindSafe(move || runner(test_mode))).unwrap_or_else(|e| { in run_single()
|