Home
last modified time | relevance | path

Searched refs:as_ref (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/rust/kernel/sync/
H A Darc.rs267 unsafe { &self.ptr.as_ref().data } in deref()
272 fn as_ref(&self) -> &T { in as_ref() method
282 unsafe { bindings::refcount_inc(self.ptr.as_ref().refcount.get()) }; in clone()
295 let refcount = unsafe { self.ptr.as_ref() }.refcount.get(); in drop()
435 unsafe { &self.inner.as_ref().data } in deref()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/deqp-runner/deqp-runner/
H A D0001-deqp-runner-drop-zstd-support.patch137 - let mut path: &Path = path.as_ref();
149 - path = path_compressed.as_ref();
158 + let path = path.as_ref();
/openbmc/linux/rust/kernel/
H A Dtypes.rs185 &self.0.as_ref().unwrap().0 in deref()
362 unsafe { self.ptr.as_ref() } in deref()
H A Dstr.rs273 fn as_ref(&self) -> &BStr { in as_ref() method
/openbmc/linux/rust/alloc/vec/
H A Ddrain.rs68 unsafe { self.vec.as_ref().allocator() } in allocator()
143 fn as_ref(&self) -> &[T] { in as_ref() method
H A Dinto_iter.rs175 fn as_ref(&self) -> &[T] { in as_ref() method
H A Dmod.rs3340 fn as_ref(&self) -> &Vec<T, A> { in as_ref() method
3354 fn as_ref(&self) -> &[T] { in as_ref() method
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/
H A DCVE-2024-38535_pre.patch43 + if block.name.as_ref() == name.as_bytes() {
52 + if block.name.as_ref() == name.as_bytes() {
61 + if block.name.as_ref() == name.as_bytes() {
105 + if block.name.as_ref() == b"content-encoding" {
/openbmc/qemu/rust/qemu-api-macros/src/
H A Dlib.rs75 let field_names: Vec<&Ident> = fields.iter().map(|f| f.ident.as_ref().unwrap()).collect(); in derive_offsets_or_error()
/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice_class.rs19 state.as_ref().migrate_clock in pl011_clock_needed()
H A Ddevice.rs552 state.as_ref().can_receive().into() in pl011_can_receive()
567 if state.as_ref().loopback_enabled() { in pl011_receive()
/openbmc/linux/rust/macros/
H A Dmodule.rs176 let mut modinfo = ModInfoBuilder::new(info.name.as_ref()); in module()
/openbmc/linux/rust/alloc/
H A Dboxed.rs2076 fn as_ref(&self) -> &T { in as_ref() method