Lines Matching refs:OpenFlags
347 let flags = OpenFlags::default(); in open()
357 let flags = OpenFlags::default(); in open_in_memory()
370 pub fn open_with_flags<P: AsRef<Path>>(path: P, flags: OpenFlags) -> Result<Connection> { in open_with_flags()
391 flags: OpenFlags, in open_with_flags_and_vfs() argument
411 pub fn open_in_memory_with_flags(flags: OpenFlags) -> Result<Connection> { in open_in_memory_with_flags()
425 pub fn open_in_memory_with_flags_and_vfs(flags: OpenFlags, vfs: &str) -> Result<Connection> { in open_in_memory_with_flags_and_vfs() argument
817 pub struct OpenFlags: ::std::os::raw::c_int {
844 impl Default for OpenFlags { implementation
845 fn default() -> OpenFlags { in default()
846 OpenFlags::SQLITE_OPEN_READ_WRITE in default()
847 | OpenFlags::SQLITE_OPEN_CREATE in default()
848 | OpenFlags::SQLITE_OPEN_NO_MUTEX in default()
849 | OpenFlags::SQLITE_OPEN_URI in default()
970 Connection::open_with_flags(&path, OpenFlags::SQLITE_OPEN_READ_WRITE).unwrap(); in test_concurrent_transactions_busy_commit()
971 let mut db2 = Connection::open_with_flags(&path, OpenFlags::SQLITE_OPEN_READ_ONLY).unwrap(); in test_concurrent_transactions_busy_commit()
1033 let result = Connection::open_with_flags(filename, OpenFlags::SQLITE_OPEN_READ_ONLY); in test_open_failure()
1123 OpenFlags::empty(), in test_open_with_flags()
1124 OpenFlags::SQLITE_OPEN_READ_ONLY | OpenFlags::SQLITE_OPEN_READ_WRITE, in test_open_with_flags()
1125 OpenFlags::SQLITE_OPEN_READ_ONLY | OpenFlags::SQLITE_OPEN_CREATE, in test_open_with_flags()