Searched refs:c_path (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/rusqlite/src/ |
D | inner_connection.rs | 54 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()
|
D | lib.rs | 371 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/ |
D | exception_handler_unittest.cc | 103 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/ |
D | mod.rs | 101 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/ |
D | lib.rs | 105 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()
|