Home
last modified time | relevance | path

Searched refs:AssertUnwindSafe (Results 1 – 25 of 45) sorted by relevance

12

/external/crosvm/rutabaga_gfx/ffi/src/
Dlib.rs12 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/
Dlib.rs55 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()
Dsettings.rs31 "assert_unwind_safe" => AssertUnwindSafe,
/external/rust/crates/rayon-core/src/
Dunwind.rs6 use std::panic::{self, AssertUnwindSafe};
17 panic::catch_unwind(AssertUnwindSafe(func)) in halt_unwinding()
/external/rust/crates/tokio/src/runtime/task/
Dharness.rs292 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/
Dremote_handle.rs13 panic::{self, AssertUnwindSafe},
82 future: CatchUnwind<AssertUnwindSafe<Fut>>,
120 future: AssertUnwindSafe(future).catch_unwind(), in remote_handle()
Dcatch_unwind.rs3 use std::panic::{catch_unwind, AssertUnwindSafe, UnwindSafe};
36 catch_unwind(AssertUnwindSafe(|| f.poll(cx)))?.map(Ok) in poll()
/external/rust/crates/scopeguard/patches/
Ddisable_panic_tests.patch12 let _ = catch_unwind(AssertUnwindSafe(|| {
20 let _ = catch_unwind(AssertUnwindSafe(|| {
/external/rust/crates/futures-util/src/stream/stream/
Dcatch_unwind.rs5 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/
Datomic_waker.rs65 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/
Dtests.rs77 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/
Dutil.rs5 use std::panic::{self, AssertUnwindSafe};
51 let result = panic::catch_unwind(AssertUnwindSafe(|| { in invoke_passwd_cb()
/external/rust/crates/openssl/src/ssl/
Dbio.rs10 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/
Dpanic_unwind_tests.patch16 - use std::panic::{self, AssertUnwindSafe};
41 use std::panic::{self, AssertUnwindSafe};
Dtask_blocking.patch11 use std::panic::{catch_unwind, AssertUnwindSafe};
/external/rust/crates/rayon/tests/
Dcollect.rs29 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/
Datomic_waker.rs8 use std::panic::{resume_unwind, AssertUnwindSafe, RefUnwindSafe, UnwindSafe};
180 std::panic::catch_unwind(AssertUnwindSafe(f)) in do_register()
/external/rust/crates/scopeguard/src/
Dlib.rs481 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/
Dready_queue.rs7 use std::panic::{self, AssertUnwindSafe};
143 let r = panic::catch_unwind(AssertUnwindSafe(|| queue.poll_next_unpin(cx))); in panicking_future_dropped()
Dfuture_shared.rs6 use std::panic::AssertUnwindSafe;
250 std::panic::catch_unwind(AssertUnwindSafe(|| { in panic_while_poll()
/external/rust/crates/pin-project-lite/tests/
Ddrop_order.rs138 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/
Dreusable_box.rs3 use std::panic::AssertUnwindSafe;
84 let result = panic::catch_unwind(AssertUnwindSafe(|| { in set_same_layout()
/external/rust/crates/tokio/tests/
Dtask_blocking.rs119 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/
Ddescriptor_reflection.rs60 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/
Dlib.rs498 use std::panic::{catch_unwind, AssertUnwindSafe}; in run_single()
500 catch_unwind(AssertUnwindSafe(move || runner(test_mode))).unwrap_or_else(|e| { in run_single()

12