Home
last modified time | relevance | path

Searched refs:from_char_ptr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/rust/kernel/
H A Derror.rs149 Some(unsafe { CStr::from_char_ptr(ptr) }) in name()
H A Dstr.rs98 pub unsafe fn from_char_ptr<'a>(ptr: *const core::ffi::c_char) -> &'a Self { in from_char_ptr() method