Home
last modified time | relevance | path

Searched refs:panic (Results 76 - 100 of 257) sorted by relevance

1234567891011

/third_party/rust/crates/rustix/tests/net/
H A Dconnect_bind_send.rs91 other => panic!("unexpected socket address {:?}", other), in net_v4_connect()
130 other => panic!("unexpected socket address {:?}", other), in net_v6_connect()
244 other => panic!("unexpected socket address {:?}", other), in net_v4_sendto()
289 other => panic!("unexpected socket address {:?}", other), in net_v6_sendto()
414 other => panic!("unexpected socket address {:?}", other), in net_v4_acceptfrom()
418 other => panic!("unexpected socket address {:?}", other), in net_v4_acceptfrom()
468 other => panic!("unexpected socket address {:?}", other), in net_v6_acceptfrom()
472 other => panic!("unexpected socket address {:?}", other), in net_v6_acceptfrom()
/third_party/rust/crates/proc-macro2/tests/
H A Dtest.rs174 unexpected => panic!("unexpected token: {:?}", unexpected), in literal_c_string()
179 panic!("unexpected token: {:?}", unexpected); in literal_c_string()
184 panic!("unexpected token: {:?}", unexpected); in literal_c_string()
272 unexpected => panic!("unexpected token {:?}", unexpected), in literal_iter_negative()
278 unexpected => panic!("unexpected token {:?}", unexpected), in literal_iter_negative()
389 panic!("should have failed to parse: {}\n{:#?}", p, s); in fail()
499 wrong => panic!("wrong token {:?}", wrong), in punct_before_comment()
524 wrong => panic!("wrong token {:?}", wrong), in raw_identifier()
/third_party/rust/crates/lazy-static.rs/compiletest/tests/compile-fail/
H A Dstatic_is_sized.rs6 pub static ref FOO: str = panic!();
/third_party/rust/crates/cxx/src/
H A Dunwind.rs9 // Goal is to make it impossible to propagate a panic across the C interface in prevent_unwind()
12 // built in an application using panic=abort, this guard object is compiled in prevent_unwind()
14 // panic=unwind, an unwind from the foreign call will attempt to drop the in prevent_unwind()
15 // guard object leading to a double panic, which is defined by Rust to in prevent_unwind()
25 // If we made it here, no uncaught panic occurred during the foreign call. in prevent_unwind()
37 panic!("panic in ffi function {}, aborting.", self.label); in drop()
/third_party/FreeBSD/sys/sys/
H A Dsystm.h47 #define panic LOS_Panic macro
H A Dsx.h54 panic("share/exclusive assert at %s:%d", __FUNCTION__, __LINE__); \
/third_party/rust/crates/proc-macro2/src/
H A Dmarker.rs3 use core::panic::{RefUnwindSafe, UnwindSafe};
/third_party/rust/crates/regex/tests/
H A Dtest_crates_regex.rs46 Err(err) => panic!("{}", err),
/third_party/rust/crates/libc/ci/
H A Dstyle.rs40 Err(e) => panic!("{} failed with {}", stringify!($e), e),
52 panic!("found some lint errors"); in main()
/third_party/rust/crates/syn/tests/
H A Dtest_pat.rs16 value => panic!("expected PatIdent, got {:?}", value), in test_pat_ident()
24 value => panic!("expected PatPath, got {:?}", value), in test_pat_path()
/third_party/rust/crates/regex/bench/src/ffi/
H A Dtcl.rs92 panic!("Tcl_RegExpExecObj failed"); in is_match()
113 panic!("Tcl_RegExpExecObj failed"); in find_at()
/third_party/rust/crates/once_cell/tests/
H A Dit.rs16 c.get_or_init(|| panic!("Kabom!")); in once_cell()
202 let l: Lazy<i32, _> = Lazy::new(|| panic!()); in lazy_into_value()
212 let x: Lazy<String> = Lazy::new(|| panic!("kaboom")); in lazy_poisoning()
214 let res = std::panic::catch_unwind(|| x.len()); in lazy_poisoning()
277 c.get_or_init(|| panic!("Kabom!")); in once_cell()
350 std::panic::catch_unwind(|| cell.get_or_try_init(|| -> Result<_, ()> { panic!() })); in get_or_try_init()
585 let l: Lazy<i32, _> = Lazy::new(|| panic!()); in lazy_into_value()
594 let x: Lazy<String> = Lazy::new(|| panic!("kaboom")); in lazy_poisoning()
596 let res = std::panic in lazy_poisoning()
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/syntax/
H A Dresolve.rs16 None => panic!("Unable to resolve type `{}`", ident),
/third_party/rust/crates/cxx/macro/src/syntax/
H A Dresolve.rs16 None => panic!("Unable to resolve type `{}`", ident),
/third_party/rust/crates/clap/clap_complete/src/
H A Dmacros.rs5 Err(..) => panic!("Failed to write to generated file"),
/third_party/rust/crates/cxx/gen/lib/src/syntax/
H A Dresolve.rs16 None => panic!("Unable to resolve type `{}`", ident),
/third_party/rust/crates/cxx/gen/build/src/syntax/
H A Dresolve.rs16 None => panic!("Unable to resolve type `{}`", ident),
/third_party/rust/crates/cxx/syntax/
H A Dresolve.rs16 None => panic!("Unable to resolve type `{}`", ident),
/third_party/rust/crates/cxx/gen/src/
H A Dbuiltin.rs7 pub panic: bool,
78 builtin.panic = true;
93 builtin.panic = true;
151 ifndef::write(out, builtin.panic, "CXXBRIDGE1_PANIC");
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dbuiltin.rs7 pub panic: bool,
78 builtin.panic = true;
93 builtin.panic = true;
151 ifndef::write(out, builtin.panic, "CXXBRIDGE1_PANIC");
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dbuiltin.rs7 pub panic: bool,
78 builtin.panic = true;
93 builtin.panic = true;
151 ifndef::write(out, builtin.panic, "CXXBRIDGE1_PANIC");
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dbuiltin.rs7 pub panic: bool,
78 builtin.panic = true;
93 builtin.panic = true;
151 ifndef::write(out, builtin.panic, "CXXBRIDGE1_PANIC");
/third_party/rust/crates/nix/test/
H A Dtest_pty.rs130 panic!("I_FIND failure"); in open_ptty_pair()
133 panic!("I_PUSH ptem failure"); in open_ptty_pair()
136 panic!("I_PUSH ldterm failure"); in open_ptty_pair()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dtests.rs47 panic!( in rustfmt()
125 panic!("Invalid value of BINDGEN_OVERWRITE_EXPECTED"); in should_overwrite_expected()
161 _ => panic!("Why is the header variable so weird?"), in error_diff_mismatch()
239 None => panic!( in compare_generated_header()
426 panic!("{}", err);
/foundation/communication/ipc/example/rust_test/client/src/
H A Dmain.rs30 panic!(); in get_calc_service()

Completed in 10 milliseconds

1234567891011