Home
last modified time | relevance | path

Searched defs:CStr (Results 1 – 7 of 7) 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 Ddefinitions.rs15 const TYPE_NAME: &'static CStr; variable
16 const PARENT_TYPE_NAME: Option<&'static CStr>; variable
/openbmc/qemu/rust/qemu-api/tests/
H A Dtests.rs59 const TYPE_NAME: &'static CStr = c_str!("dummy"); in test_device_decl_macros() variable
60 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(device_class::TYPE_DEVICE); in test_device_decl_macros() variable
/openbmc/qemu/rust/hw/char/pl011/src/
H A Ddevice.rs109 const TYPE_NAME: &'static CStr = crate::TYPE_PL011; variable
110 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(TYPE_SYS_BUS_DEVICE); variable
663 const TYPE_NAME: &'static CStr = crate::TYPE_PL011_LUMINARY; variable
664 const PARENT_TYPE_NAME: Option<&'static CStr> = Some(crate::TYPE_PL011); 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()