/third_party/rust/crates/rustix/tests/net/ |
H A D | connect_bind_send.rs | 91 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 D | test.rs | 174 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 D | static_is_sized.rs | 6 pub static ref FOO: str = panic!();
|
/third_party/rust/crates/cxx/src/ |
H A D | unwind.rs | 9 // 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 D | systm.h | 47 #define panic LOS_Panic macro
|
H A D | sx.h | 54 panic("share/exclusive assert at %s:%d", __FUNCTION__, __LINE__); \
|
/third_party/rust/crates/proc-macro2/src/ |
H A D | marker.rs | 3 use core::panic::{RefUnwindSafe, UnwindSafe};
|
/third_party/rust/crates/regex/tests/ |
H A D | test_crates_regex.rs | 46 Err(err) => panic!("{}", err),
|
/third_party/rust/crates/libc/ci/ |
H A D | style.rs | 40 Err(e) => panic!("{} failed with {}", stringify!($e), e), 52 panic!("found some lint errors"); in main()
|
/third_party/rust/crates/syn/tests/ |
H A D | test_pat.rs | 16 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 D | tcl.rs | 92 panic!("Tcl_RegExpExecObj failed"); in is_match() 113 panic!("Tcl_RegExpExecObj failed"); in find_at()
|
/third_party/rust/crates/once_cell/tests/ |
H A D | it.rs | 16 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 D | resolve.rs | 16 None => panic!("Unable to resolve type `{}`", ident),
|
/third_party/rust/crates/cxx/macro/src/syntax/ |
H A D | resolve.rs | 16 None => panic!("Unable to resolve type `{}`", ident),
|
/third_party/rust/crates/clap/clap_complete/src/ |
H A D | macros.rs | 5 Err(..) => panic!("Failed to write to generated file"),
|
/third_party/rust/crates/cxx/gen/lib/src/syntax/ |
H A D | resolve.rs | 16 None => panic!("Unable to resolve type `{}`", ident),
|
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | resolve.rs | 16 None => panic!("Unable to resolve type `{}`", ident),
|
/third_party/rust/crates/cxx/syntax/ |
H A D | resolve.rs | 16 None => panic!("Unable to resolve type `{}`", ident),
|
/third_party/rust/crates/cxx/gen/src/ |
H A D | builtin.rs | 7 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 D | builtin.rs | 7 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 D | builtin.rs | 7 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 D | builtin.rs | 7 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 D | test_pty.rs | 130 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 D | tests.rs | 47 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 D | main.rs | 30 panic!(); in get_calc_service()
|