Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/android-crates-io/crates/libbpf-rs/src/
Dlinker.rs5 use crate::util::path_to_cstring;
29 let output = path_to_cstring(output)?; in new()
43 let file = path_to_cstring(file)?; in add_file()
Dlink.rs36 let path_c = util::path_to_cstring(path)?; in open()
76 let path_c = util::path_to_cstring(path)?; in pin()
Dprogram.rs678 let path_c = util::path_to_cstring(path)?; in pin()
688 let path_c = util::path_to_cstring(path)?; in unpin()
732 let path = util::path_to_cstring(binary_path)?; in attach_uprobe()
759 let path = util::path_to_cstring(binary_path)?; in attach_uprobe_with_opts()
961 let path = util::path_to_cstring(binary_path)?; in attach_usdt_impl()
Dmap.rs192 let path_c = util::path_to_cstring(path)?; in set_pin_path()
207 let cstring = util::path_to_cstring(path)?; in reuse_pinned_map()
770 let path_c = util::path_to_cstring(path)?; in pin()
780 let path_c = util::path_to_cstring(path)?; in unpin()
1000 let path_c = util::path_to_cstring(path)?; in pin()
Dobject.rs147 self.pin_root_path = Some(util::path_to_cstring(path)?); in pin_root_path()
177 let path_c = util::path_to_cstring(path)?; in open_file()
Dutil.rs17 pub fn path_to_cstring<P: AsRef<Path>>(path: P) -> Result<CString> { in path_to_cstring() function
/aosp_15_r20/packages/modules/Virtualization/guest/authfs/src/file/
Ddir.rs165 Ok(AuthFsDirEntry { inode: *inode, name: path_to_cstring(name)?, is_dir: *is_dir }) in retrieve_entries()
255 Ok(AuthFsDirEntry { inode: *inode, name: path_to_cstring(name)?, is_dir: *is_dir }) in retrieve_entries()
261 fn path_to_cstring(path: &Path) -> io::Result<CString> { in path_to_cstring() function
/aosp_15_r20/packages/modules/Virtualization/android/virtmgr/src/
Dcrosvm.rs672 let socket_path_cstring = path_to_cstring(&self.crosvm_control_socket_path); in get_memory_balloon()
691 let socket_path_cstring = path_to_cstring(&self.crosvm_control_socket_path); in set_memory_balloon()
735 let socket_path_cstring = path_to_cstring(&self.crosvm_control_socket_path); in suspend()
747 let socket_path_cstring = path_to_cstring(&self.crosvm_control_socket_path); in resume()
1421 fn path_to_cstring(path: &Path) -> CString { in path_to_cstring() function
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/
Dlib.rs278 fn path_to_cstring(p: &Path) -> Result<CString> { in path_to_cstring() function
284 fn path_to_cstring(p: &Path) -> Result<CString> { in path_to_cstring() function
418 let c_path = path_to_cstring(path.as_ref())?; in open_with_flags()
441 let c_path = path_to_cstring(path.as_ref())?; in open_with_flags_and_vfs()
Dinner_connection.rs199 let dylib_str = super::path_to_cstring(dylib_path)?; in load_extension()