Home
last modified time | relevance | path

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

/external/rust/crates/rusqlite/src/
Dinner_connection.rs54 c_path: &CStr, in open_with_flags()
84 let r = ffi::sqlite3_open_v2(c_path.as_ptr(), &mut db, flags.bits(), z_vfs); in open_with_flags()
87 error_from_sqlite_code(r, Some(c_path.to_string_lossy().to_string())) in open_with_flags()
100 Some(format!("{}: {}", msg, c_path.to_string_lossy())), in open_with_flags()
Dlib.rs371 let c_path = path_to_cstring(path.as_ref())?; in open_with_flags() localVariable
372 InnerConnection::open_with_flags(&c_path, flags, None).map(|db| Connection { in open_with_flags()
394 let c_path = path_to_cstring(path.as_ref())?; in open_with_flags_and_vfs() localVariable
396 InnerConnection::open_with_flags(&c_path, flags, Some(&c_vfs)).map(|db| Connection { in open_with_flags_and_vfs()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc103 char* c_path = strdup(c_file); in CreateTMPFile() local
104 const int fd = mkstemp(c_path); in CreateTMPFile()
106 *path = c_path; in CreateTMPFile()
107 free(c_path); in CreateTMPFile()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs101 let c_path = CString::new(device_path.as_os_str().as_bytes()).unwrap(); in new_with_path() localVariable
102 let ret = unsafe { open(c_path.as_ptr(), O_RDWR | O_CLOEXEC) }; in new_with_path()
/external/crosvm/kvm/src/
Dlib.rs105 let c_path = CString::new(device_path.as_os_str().as_bytes()).unwrap(); in new_with_path() localVariable
106 let ret = unsafe { open(c_path.as_ptr(), O_RDWR | O_CLOEXEC) }; in new_with_path()