Lines Matching refs:db_path
260 db_path: PathBuf, field
267 db_path: PathBuf, field
282 let mut db_path = path.to_path_buf(); in new_native_binder() localVariable
283 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in new_native_binder()
285 let legacy_keystore = Arc::new(Self { db_path, async_task: Default::default() }); in new_native_binder()
295 DB::new(&self.db_path).context("In open_db: Failed to open db.") in open_db()
403 let mut db_path = path.to_path_buf(); in init_shelf() localVariable
405 let legacy_loader = LegacyBlobLoader::new(&db_path); in init_shelf()
406 db_path.push(Self::LEGACY_KEYSTORE_FILE_NAME); in init_shelf()
408 shelf.put(AsyncState { legacy_loader, db_path, recently_imported: Default::default() }); in init_shelf()
440 let mut db = DB::new(&state.db_path).context("In open_db: Failed to open db.")?; in get_legacy()
663 let db_path = temp_dir.build().push(LegacyKeystore::LEGACY_KEYSTORE_FILE_NAME).to_owned(); in concurrent_legacy_keystore_entry_test() localVariable
667 let mut db = DB::new(&db_path).expect("Failed to open database."); in concurrent_legacy_keystore_entry_test()
683 let db_path1 = db_path.clone(); in concurrent_legacy_keystore_entry_test()
706 let db_path2 = db_path.clone(); in concurrent_legacy_keystore_entry_test()
721 let db_path3 = db_path.clone(); in concurrent_legacy_keystore_entry_test()
742 let mut db = DB::new(&db_path).expect("Failed to open database."); in concurrent_legacy_keystore_entry_test()