Searched refs:CString (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 18 use std::ffi::{CStr, CString}; 55 Directory(HashMap<CString, DirectoryEntry>), 76 pub fn get_directory(&self) -> Option<&HashMap<CString, DirectoryEntry>> { in get_directory() argument 105 fn add_to_directory(&mut self, name: CString, entry: DirectoryEntry) { in add_to_directory() argument 152 fn add(&mut self, parent: Inode, name: CString, data: InodeData) -> Inode { in add() argument 197 let name = CString::new(name.as_bytes()).unwrap(); in from_zip() 248 let name = CString::new(name.as_bytes()).unwrap(); in check_dir() 261 let name = CString::new(name.as_bytes()).unwrap(); in check_file()
|
D | main.rs | 29 use std::ffi::{CStr, CString}; 96 buf: Box<[(CString, DirectoryEntry)]>, 283 let mut buf: Vec<(CString, DirectoryEntry)> = Vec::with_capacity(directory.len()); in opendir() 285 let name = CString::new(name.as_bytes()).unwrap(); in opendir() 349 inner: Vec<(CString, DirectoryEntry)>,
|
/packages/modules/Virtualization/authfs/fd_server/src/ |
D | main.rs | 33 use std::ffi::CString; 53 Status::new_exception(exception, CString::new(message.as_ref()).as_deref().ok()) in new_binder_exception()
|