Lines Matching refs:db_path
250 db_path: PathBuf, field
257 db_path: PathBuf, field
272 let mut db_path = path.to_path_buf(); in new_native_binder() localVariable
273 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in new_native_binder()
275 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder()
285 DB::new(&self.db_path).context("In open_db: Failed to open db.") in open_db()
392 let mut db_path = path.to_path_buf(); in init_shelf() localVariable
394 let legacy_loader = LegacyBlobLoader::new(&db_path); in init_shelf()
395 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in init_shelf()
397 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf()
429 let mut db = DB::new(&state.db_path).context("In open_db: Failed to open db.")?; in get_legacy()
631 let db_path = temp_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME).to_owned(); in concurrent_legacy_keystore_entry_test() localVariable
635 let mut db = DB::new(&db_path).expect("Failed to open database."); in concurrent_legacy_keystore_entry_test()
651 let db_path1 = db_path.clone(); in concurrent_legacy_keystore_entry_test()
674 let db_path2 = db_path.clone(); in concurrent_legacy_keystore_entry_test()
689 let db_path3 = db_path.clone(); in concurrent_legacy_keystore_entry_test()
710 let mut db = DB::new(&db_path).expect("Failed to open database."); in concurrent_legacy_keystore_entry_test()