Home
last modified time | relevance | path

Searched defs:CStr (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/rust/kernel/
H A Dstr.rs63 pub struct CStr([u8]); struct
65 impl CStr { impl
141 pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr { in from_bytes_with_nul_unchecked()
211 impl fmt::Display for CStr { implementation
240 impl fmt::Debug for CStr { implementation
271 impl AsRef<BStr> for CStr { implementation
278 impl Deref for CStr { implementation
287 impl Index<ops::RangeFrom<usize>> for CStr { implementation
300 impl Index<ops::RangeFull> for CStr { implementation
321 impl<Idx> Index<Idx> for CStr implementation
H A Derror.rs142 pub fn name(&self) -> Option<&'static CStr> { in name()
159 pub fn name(&self) -> Option<&'static CStr> { in name()
/openbmc/qemu/rust/qemu-api/src/
H A Dqdev.rs145 const TYPE_NAME: &'static CStr = variable
242 const TYPE_NAME: &'static CStr = variable
393 const TYPE_NAME: &'static CStr = variable
H A Dqom.rs286 const TYPE_NAME: &'static CStr; variable
325 const TYPE_NAME: &'static CStr; variable
566 const TYPE_NAME: &'static CStr = variable
H A Dirq.rs108 const TYPE_NAME: &'static CStr = variable
H A Dsysbus.rs31 const TYPE_NAME: &'static CStr = variable
H A Dchardev.rs258 const TYPE_NAME: &'static CStr = variable
H A Dmemory.rs190 const TYPE_NAME: &'static CStr = variable
/openbmc/qemu/rust/qemu-api/tests/
H A Dtests.rs62 const TYPE_NAME: &'static CStr = c_str!("dummy"); variable
97 const TYPE_NAME: &'static CStr = c_str!("dummy_child"); variable
/openbmc/linux/rust/kernel/sync/
H A Dcondvar.rs95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
H A Dlock.rs103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs156 const TYPE_NAME: &'static CStr = crate::TYPE_PL011; variable
683 const TYPE_NAME: &'static CStr = crate::TYPE_PL011_LUMINARY; variable
/openbmc/qemu/rust/hw/timer/hpet/src/
H A Dhpet.rs844 const TYPE_NAME: &'static CStr = crate::TYPE_HPET; variable