/openbmc/linux/scripts/ |
H A D | rustdoc_test_gen.rs | 51 let potential_components: Vec<&str> = file.strip_suffix("_rs").unwrap().split('_').collect(); in find_real_path() 105 valid_paths[0].to_str().unwrap() in find_real_path() 109 let srctree = std::env::var("srctree").unwrap(); in main() 113 .unwrap() in main() 114 .map(|entry| entry.unwrap().path()) in main() 131 let name = path.file_name().unwrap().to_str().unwrap().to_string(); in main() 134 let (file, line) = name.rsplit_once('_').unwrap().0.rsplit_once('_').unwrap(); in main() 156 File::open(path).unwrap().read_to_string(&mut body).unwrap(); in main() 213 .unwrap(); in main() 215 write!(c_test_declarations, "void {kunit_name}(struct kunit *);\n").unwrap(); in main() [all …]
|
H A D | rustdoc_test_builder.rs | 23 stdin.read_to_string(&mut body).unwrap(); in main() 67 let name = rustdoc_function_name.split_once("_rust_kernel_").unwrap().1; in main() 71 std::fs::write(path, body.as_bytes()).unwrap(); in main()
|
H A D | generate_rust_target.rs | 120 if handle.read_line(&mut line).unwrap() == 0 { in from_stdin()
|
/openbmc/linux/rust/macros/ |
H A D | vtable.rs | 76 .unwrap(); in vtable() 87 write!(const_items, "const {gen_const_name}: bool = true;").unwrap(); in vtable() 91 let new_body = vec![const_items.parse().unwrap(), body.stream()] in vtable()
|
H A D | pin_data.rs | 52 .unwrap(), in pin_data() 54 "Self".parse::<TokenStream>().unwrap().into_iter().collect() in pin_data() 108 .unwrap() in replace_self_and_deny_type_defs()
|
H A D | pinned_drop.rs | 19 nesting = nesting.checked_sub(1).unwrap(); in pinned_drop()
|
H A D | module.rs | 73 .unwrap(); in emit_base()
|
/openbmc/linux/rust/kernel/ |
H A D | str.rs | 364 let checked_cstr = CStr::from_bytes_with_nul(good_bytes).unwrap(); in test_cstr_to_str() 365 let checked_str = checked_cstr.to_str().unwrap(); in test_cstr_to_str() 373 let checked_cstr = CStr::from_bytes_with_nul(bad_bytes).unwrap(); in test_cstr_to_str_panic() 374 checked_cstr.to_str().unwrap(); in test_cstr_to_str_panic() 380 let checked_cstr = CStr::from_bytes_with_nul(good_bytes).unwrap(); in test_cstr_as_str_unchecked()
|
H A D | types.rs | 169 self.0.take().unwrap().0 in dismiss() 185 &self.0.as_ref().unwrap().0 in deref() 192 &mut self.0.as_mut().unwrap().0 in deref_mut()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | Makefile | 3 dma-fence-unwrap.o dma-resv.o 15 st-dma-fence-unwrap.o \
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | lib.rs | 129 unsafe { g_malloc0(layout.size().try_into().unwrap()).cast::<u8>() } in alloc() 136 layout.size().try_into().unwrap(), in alloc() 138 layout.align().try_into().unwrap(), in alloc()
|
H A D | device_class.rs | 17 ::core::ptr::NonNull::new(klass.cast::<$crate::bindings::DeviceClass>()).unwrap();
|
/openbmc/openbmc/poky/meta-selftest/recipes-extended/hello-rs/hello-rs/ |
H A D | 0001-Greet-OE-Core.patch | 19 let standard_font = FIGfont::standard().unwrap(); 23 println!("{}", figure.unwrap());
|
/openbmc/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_mech.c | 52 .unwrap = gss_krb5_unwrap_v2, 81 .unwrap = gss_krb5_unwrap_v2, 120 .unwrap = gss_krb5_unwrap_v2, 146 .unwrap = gss_krb5_unwrap_v2, 175 .unwrap = gss_krb5_unwrap_v2, 201 .unwrap = gss_krb5_unwrap_v2, 592 return kctx->gk5e->unwrap(kctx, offset, len, buf, in gss_krb5_unwrap()
|
H A D | gss_krb5_internal.h | 51 u32 (*unwrap)(struct krb5_ctx *kctx, int offset, int len, member
|
/openbmc/linux/fs/ecryptfs/ |
H A D | Kconfig | 18 bool "Enable notifications for userspace key wrap/unwrap" 22 for userspace to wrap/unwrap file encryption keys by other
|
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/files/ |
H A D | 0001-amd-Include-missing-llvm-IR-header-Module.h.patch | 12 src/amd/llvm/ac_llvm_helper.cpp:102:10: error: no matching function for call to ‘unwrap(LLVMOpaqueM… 13 102 | unwrap(module)->setTargetTriple(TM->getTargetTriple().getTriple());
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_ether.c | 74 int (*unwrap)(struct gether *, member 233 if (dev->unwrap) { in rx_complete() 238 status = dev->unwrap(dev->port_usb, in rx_complete() 1148 dev->unwrap = link->unwrap; in gether_connect() 1238 dev->unwrap = NULL; in gether_disconnect()
|
H A D | u_ether.h | 75 int (*unwrap)(struct gether *port, member
|
/openbmc/linux/rust/kernel/sync/ |
H A D | arc.rs | 246 let inner = NonNull::new(ptr as *mut ArcInner<T>).unwrap(); in borrow() 257 unsafe { Self::from_inner(NonNull::new(ptr as _).unwrap()) } in from_foreign()
|
/openbmc/qemu/rust/qemu-api-macros/src/ |
H A D | lib.rs | 75 let field_names: Vec<&Ident> = fields.iter().map(|f| f.ident.as_ref().unwrap()).collect(); in derive_offsets_or_error()
|
/openbmc/linux/include/trace/events/ |
H A D | rpcgss.h | 139 DEFINE_GSSAPI_EVENT(unwrap); 210 DEFINE_SVC_GSSAPI_EVENT(unwrap);
|
/openbmc/linux/rust/alloc/ |
H A D | lib.rs | 284 let seed: [u8; 16] = seed_vec.as_slice().try_into().unwrap(); in test_rng()
|
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
H A D | repro-issue-fix-with-cc-crate-hashmap.patch | 31 + if pos.is_none() || index < pos.unwrap() {
|
/openbmc/qemu/docs/specs/ |
H A D | ppc-spapr-uv-hcalls.rst | 35 unwrap/unseal the symmetric key using the system's TPM device or a TPM Resource
|