Home
last modified time | relevance | path

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

/external/crosvm/io_jail/src/
Dlib.rs48 StrToCString(String), enumerator
110 StrToCString(s) => write!(f, "failed to convert string into CString: {}", s), in fmt()
354 CString::new(uid_map).map_err(|_| Error::StrToCString(uid_map.to_owned()))?; in uidmap()
362 CString::new(gid_map).map_err(|_| Error::StrToCString(gid_map.to_owned()))?; in gidmap()
375 CString::new(table_name).map_err(|_| Error::StrToCString(table_name.to_owned()))?; in use_alt_syscall()
425 let src_path = CString::new(src_os).map_err(|_| Error::StrToCString(src_os.to_owned()))?; in mount_with_data()
431 CString::new(dest_os).map_err(|_| Error::StrToCString(dest_os.to_owned()))?; in mount_with_data()
433 CString::new(fstype).map_err(|_| Error::StrToCString(fstype.to_owned()))?; in mount_with_data()
434 let data_string = CString::new(data).map_err(|_| Error::StrToCString(data.to_owned()))?; in mount_with_data()
477 let src_path = CString::new(src_os).map_err(|_| Error::StrToCString(src_os.to_owned()))?; in mount_bind()
[all …]