/third_party/rust/crates/proc-macro2/src/ |
H A D | detection.rs | 32 // Swap in a null panic hook to avoid printing "thread panicked" to stderr, 35 // of the proc_macro crate's APIs currently panic. 48 // There is still a race condition where a panic in a different thread can 49 // happen during the interval that the user's original panic hook is 51 // sufficiently unlikely and less bad than printing panic messages to stderr 58 use std::panic::{self, PanicInfo}; in initialize() 64 let original_hook = panic::take_hook(); in initialize() 65 panic::set_hook(null_hook); in initialize() 67 let works = panic::catch_unwind(proc_macro::Span::call_site).is_ok(); in initialize() 70 let hopefully_null_hook = panic in initialize() [all...] |
/third_party/rust/crates/strsim-rs/tests/ |
H A D | lib.rs | 10 Err(why) => panic!("{:?}", why) in hamming_works()
|
/kernel/linux/linux-5.10/mm/ |
H A D | percpu.c | 1322 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_alloc_first_chunk() 1337 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_alloc_first_chunk() 1344 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_alloc_first_chunk() 1350 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_alloc_first_chunk() 2451 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_setup_first_chunk() 2457 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_setup_first_chunk() 2463 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_setup_first_chunk() 2469 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_setup_first_chunk() 2539 panic("%s: Failed to allocate %zu bytes\n", __func__, in pcpu_setup_first_chunk() 2998 panic(" in pcpu_page_first_chunk() [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | irq.c | 59 panic("No interrupt controller found."); in init_IRQ()
|
/kernel/linux/linux-5.10/arch/mips/lantiq/xway/ |
H A D | vmmc.c | 19 panic("no cp1 base was set\n"); in ltq_get_cp1_base()
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | numa.c | 47 panic("%s: Failed to allocate %zu bytes align=0x%x nid=%d\n", in setup_bootmem_node()
|
/kernel/linux/linux-5.10/arch/sh/boards/mach-sdk7786/ |
H A D | fpga.c | 58 panic("FPGA detection failed.\n"); in sdk7786_fpga_init()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | static_call.c | 35 panic("%s: patching failed %pS at %pS\n", __func__, func, tramp); in arch_static_call_transform()
|
/kernel/linux/linux-6.6/arch/sh/boards/mach-sdk7786/ |
H A D | fpga.c | 58 panic("FPGA detection failed.\n"); in sdk7786_fpga_init()
|
/kernel/linux/linux-6.6/arch/sh/mm/ |
H A D | numa.c | 47 panic("%s: Failed to allocate %zu bytes align=0x%x nid=%d\n", in setup_bootmem_node()
|
/kernel/linux/linux-6.6/arch/um/kernel/ |
H A D | load_file.c | 53 panic("%s: Failed to allocate %llu bytes\n", __func__, *size); in uml_load_file()
|
/kernel/linux/linux-6.6/arch/x86/boot/compressed/ |
H A D | mem.c | 40 panic("TDX: Failed to accept memory\n"); in arch_accept_memory()
|
/kernel/linux/linux-5.10/sound/usb/6fire/ |
H A D | pcm.h | 52 bool panic; /* if set driver won't do anymore pcm on device */ member
|
/kernel/linux/linux-6.6/fs/verity/ |
H A D | init.c | 35 panic("fsverity sysctl registration failed"); in fsverity_init_sysctl()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | features.c | 29 panic("Xen: feature %s not available!\n", #f); \
|
/kernel/linux/linux-6.6/tools/testing/selftests/ |
H A D | kselftest_module.h | 6 #include <linux/panic.h>
|
/kernel/linux/linux-6.6/sound/usb/6fire/ |
H A D | pcm.h | 52 bool panic; /* if set driver won't do anymore pcm on device */ member
|
/third_party/rust/crates/env_logger/tests/ |
H A D | init-twice-retains-filter.rs | 31 .unwrap_or_else(|e| panic!("Unable to start child process: {}", e)); in main()
|
H A D | log-in-log.rs | 30 .unwrap_or_else(|e| panic!("Unable to start child process: {}", e)); in main()
|
/third_party/rust/crates/rustix/tests/thread/ |
H A D | setns.rs | 27 panic!("{}", std::io::Error::last_os_error()); in test_move_into_thread_name_spaces()
|
/third_party/rust/crates/nom/examples/ |
H A D | custom_error.rs | 41 _ => panic!("Unexpected error: {:?}", err), in it_works()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | statx.rs | 34 Ok(_) => panic!("statx succeeded with `STATX__RESERVED`"), in test_statx_reserved()
|
/third_party/rust/crates/syn/src/ |
H A D | discouraged.rs | 157 /// will cause a panic. 164 panic!("Fork was not derived from the advancing parse stream"); in advance_to()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | setup.c | 165 panic("Failed to allocate %d bytes below %pa for MCE buffer\n", in fwnmi_init() 181 panic("Failed to allocate %zu bytes below %pa for slb area\n", in fwnmi_init() 467 * At this point it is unlikely panic() will get anything in pseries_big_endian_exceptions() 478 panic("Could not enable big endian exceptions"); in pseries_big_endian_exceptions() 493 panic("Could not enable little endian exceptions"); in pseries_little_endian_exceptions() 824 panic("BUG: Radix support requires either GTSE or RPT_INVALIDATE\n"); in pSeries_setup_arch() 1146 .panic = pseries_panic, in define_machine()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | setup.c | 396 panic("%s: Failed to allocate %lu bytes align=0x%lx\n", in stack_alloc_early() 412 panic("%s: Failed to allocate %zu bytes align=%zx\n", in setup_lowcore() 483 panic("Couldn't setup absolute lowcore"); in setup_lowcore() 524 panic("%s: Failed to allocate %zu bytes align=0x%x\n", in setup_resources() 546 panic("%s: Failed to allocate %zu bytes align=0x%x\n", in setup_resources() 820 panic("Failed to allocate memory for sysinfo structure\n"); in setup_randomness()
|