Home
last modified time | relevance | path

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

/external/rust/android-crates-io/crates/rusqlite/src/
Dinner_connection.rs67 c_path: &CStr, in open_with_flags()
88 let r = ffi::sqlite3_open_v2(c_path.as_ptr(), &mut db, flags.bits(), z_vfs); in open_with_flags()
91 error_from_sqlite_code(r, Some(c_path.to_string_lossy().to_string())) in open_with_flags()
104 Some(format!("{msg}: {}", c_path.to_string_lossy())), in open_with_flags()
Dlib.rs471 let c_path = path_to_cstring(path.as_ref())?; in open_with_flags() localVariable
472 InnerConnection::open_with_flags(&c_path, flags, None).map(|db| Connection { in open_with_flags()
495 let c_path = path_to_cstring(path.as_ref())?; in open_with_flags_and_vfs() localVariable
497 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.cc106 char* c_path = strdup(c_file); in CreateTMPFile() local
107 const int fd = mkstemp(c_path); in CreateTMPFile()
109 *path = c_path; in CreateTMPFile()
110 free(c_path); in CreateTMPFile()
/external/crosvm/hypervisor/src/gunyah/
Dmod.rs65 let c_path = CString::new(device_path.as_os_str().as_bytes()).unwrap(); in new_with_path() localVariable
68 let ret = unsafe { open(c_path.as_ptr(), O_RDWR | O_CLOEXEC) }; in new_with_path()
/external/crosvm/hypervisor/src/kvm/
Dmod.rs169 let c_path = CString::new(device_path.as_os_str().as_bytes()).unwrap(); in new_with_path() localVariable
172 let ret = unsafe { open64(c_path.as_ptr(), O_RDWR | O_CLOEXEC) }; in new_with_path()
/external/crosvm/hypervisor/src/geniezone/
Dmod.rs528 let c_path = CString::new(device_path.as_os_str().as_bytes()).unwrap(); in new_with_path() localVariable
531 let ret = unsafe { open(c_path.as_ptr(), O_RDWR | O_CLOEXEC) }; in new_with_path()
/external/crosvm/kvm/src/
Dlib.rs180 let c_path = CString::new(device_path.as_os_str().as_bytes()).unwrap(); in new_with_path() localVariable
183 let ret = unsafe { open64(c_path.as_ptr(), O_RDWR | O_CLOEXEC) }; in new_with_path()
/external/bcc/libbpf-tools/loongarch/
Dvmlinux_602.h69319 struct rds_conn_path *c_path; member
Dvmlinux.h69319 struct rds_conn_path *c_path; member