Home
last modified time | relevance | path

Searched refs:panicking (Results 1 – 25 of 48) sorted by relevance

12

/external/rust/crates/tokio/src/sync/tests/
Datomic_waker.rs60 let panicking = unsafe { Waker::from_raw(RawWaker::new(ptr::null(), &PANICKING_VTABLE)) }; in atomic_waker_panic_safe() localVariable
65 let panicking = panic::AssertUnwindSafe(&panicking); in atomic_waker_panic_safe() localVariable
68 let panic::AssertUnwindSafe(panicking) = panicking; in atomic_waker_panic_safe()
69 atomic_waker.register_by_ref(panicking); in atomic_waker_panic_safe()
Dloom_atomic_waker.rs56 let panicking = unsafe { Waker::from_raw(RawWaker::new(ptr::null(), &PANICKING_VTABLE)) }; in test_panicky_waker() localVariable
88 let _ = panic::catch_unwind(|| chan.task.register_by_ref(&panicking)); in test_panicky_waker()
/external/libchromeos-rs/src/
Dscoped_path.rs9 use std::thread::panicking;
53 if panicking() && cfg!(test) { in drop()
/external/rust/crates/futures-test/src/task/
Dpanic_waker.rs11 if !std::thread::panicking() { in wake_panic()
/external/rust/crates/tokio/src/runtime/blocking/
Dshutdown.rs47 if std::thread::panicking() { in wait()
/external/rust/crates/serde_derive/src/internals/
Dctxt.rs58 if !thread::panicking() && self.errors.borrow().is_some() { in drop()
/external/rust/crates/futures-test/src/
Dassert_unmoved.rs11 use std::thread::panicking;
169 if !panicking() && !self.this_ptr.is_null() { in drop()
/external/rust/crates/num-integer/
DRELEASES.md4 - [`Integer::is_multiple_of` now handles a 0 argument without panicking][47]
53 - [Fixed `lcm(0, 0)` to return `0`, rather than panicking][18].
/external/rust/crates/nix/src/sys/
Dtimer.rs180 if !std::thread::panicking() { in drop()
Dtimerfd.rs207 if !std::thread::panicking() { in drop()
Dsignalfd.rs123 if !std::thread::panicking() && e == Err(Errno::EBADF) { in drop()
/external/rust/crates/scopeguard/src/
Dlib.rs237 fn should_run() -> bool { std::thread::panicking() } in should_run()
243 fn should_run() -> bool { !std::thread::panicking() } in should_run()
/external/rust/crates/nix/test/
Dtest.rs120 if std::thread::panicking() { in drop()
/external/rust/crates/tokio/src/loom/std/
Dmod.rs121 current, panicking, park, park_timeout, sleep, spawn, AccessError, Builder, JoinHandle,
/external/rust/crates/rusqlite/src/
Dinner_connection.rs377 use std::thread::panicking; in drop()
380 if panicking() { in drop()
/external/rust/crates/openssl/src/ssl/test/
Dserver.rs14 if !thread::panicking() { in drop()
/external/rust/crates/tokio/src/runtime/task/
Dinject.rs206 if !std::thread::panicking() { in drop()
/external/rust/crates/pin-project-lite/tests/
Ddrop_order.rs13 if !thread::panicking() { in drop()
/external/rust/crates/nix/src/
Ddir.rs98 if !std::thread::panicking() && e == Err(Errno::EBADF) { in drop()
/external/rust/crates/pin-project/tests/
Ddrop_order.rs13 if !thread::panicking() { in drop()
/external/rust/crates/coset/
DREADME.md65 …form `// safe: reason` (or `/* safe: reason */`) to document the reason why panicking is acceptabl…
/external/rust/crates/rayon/src/iter/
Dpanic_fuse.rs26 if thread::panicking() { in drop()
/external/rust/crates/gdbstub/
DREADME.md190 …ng _very careful_ when writing code, and _manually checking_ that those panicking paths get optimi…
208 3. The `Arch` implementation being used doesn't include panicking code
210 - If you do spot a panicking arch in `gdbstub_arch`, consider opening a PR to fix it
212 …roject and have determined that `gdbstub` is at fault for introducing a panicking code path, pleas…
/external/rust/crates/plotters/src/drawing/backend_impl/
Dmocked.rs275 if std::thread::panicking() { in drop()
/external/rust/crates/tokio/src/util/
Didle_notified_set.rs398 if !std::thread::panicking() { in drop()

12