Home
last modified time | relevance | path

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

/linux/rust/kernel/
A Duaccess.rs230 let Ok(len_ulong) = c_ulong::try_from(len) else { in read_raw()
265 let Ok(len_ulong) = c_ulong::try_from(len) else { in read()
341 let Ok(len_ulong) = c_ulong::try_from(len) else { in write_slice()
365 let Ok(len_ulong) = c_ulong::try_from(len) else { in write()
A Dstr.rs310 CString::try_from(self) in to_cstring()
852 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from() method

Completed in 6 milliseconds