Searched refs:CString (Results 1 – 5 of 5) sorted by relevance
| /rust/kernel/ |
| A D | str.rs | 389 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring() argument 390 CString::try_from(self) in to_cstring() 612 CString::try_from_fmt(fmt!($($f)*))?.to_str()? 888 pub struct CString { struct 892 impl CString { impls 927 impl Deref for CString { implementation 937 impl DerefMut for CString { implementation 945 impl<'a> TryFrom<&'a CStr> for CString { implementation 948 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from() argument 955 Ok(CString { buf }) in try_from() [all …]
|
| A D | opp.rs | 18 str::CString, 90 fn to_c_str_array(names: &[CString]) -> Result<KVec<*const u8>> { in to_c_str_array() 361 clk_names: Option<KVec<CString>>, 362 prop_name: Option<CString>, 363 regulator_names: Option<KVec<CString>>, 379 pub fn set_clk_names(mut self, names: KVec<CString>) -> Result<Self> { in set_clk_names() 393 pub fn set_prop_name(mut self, name: CString) -> Result<Self> { in set_prop_name() 403 pub fn set_regulator_names(mut self, names: KVec<CString>) -> Result<Self> { in set_regulator_names()
|
| A D | configfs.rs | 117 use crate::str::CString; 259 name: CString, in new() argument
|
| /rust/kernel/io/ |
| A D | resource.rs | 12 use crate::str::{CStr, CString}; 32 _name: CString, 102 name: CString, in request_region() argument
|
| /rust/kernel/device/ |
| A D | property.rs | 15 str::{CStr, CString}, 441 impl Sealed for CString {} implementation 443 impl Property for CString { implementation
|
Completed in 13 milliseconds