Home
last modified time | relevance | path

Searched refs:FileIOFailed (Results 1 – 6 of 6) sorted by relevance

/external/adhd/sound_card_init/dsm/src/
Ddatastore.rs32 BufReader::new(File::open(&path).map_err(|e| Error::FileIOFailed(path.to_owned(), e))?); in from_file()
43 File::create(&path).map_err(|e| Error::FileIOFailed(path.to_owned(), e))?, in save()
51 .map_err(|e| Error::FileIOFailed(path.to_owned(), e))?; in save()
54 .map_err(|e| Error::FileIOFailed(path.to_owned(), e))?; in save()
62 remove_file(&path).map_err(|e| Error::FileIOFailed(path.to_owned(), e))?; in delete()
Dutils.rs17 BufReader::new(File::open(&path).map_err(|e| Error::FileIOFailed(path.clone(), e))?); in duration_from_file()
63 BufWriter::new(File::create(&path).map_err(|e| Error::FileIOFailed(path.clone(), e))?); in to_file()
70 .map_err(|e| Error::FileIOFailed(path.clone(), e))?; in to_file()
73 .map_err(|e| Error::FileIOFailed(path.clone(), e))?; in to_file()
Derror.rs29 FileIOFailed(PathBuf, io::Error), enumerator
100 FileIOFailed(file_path, e) => write!(f, "{:#?}: {}", file_path, e), in fmt()
Dvpd.rs35 let io_err = |e| Error::FileIOFailed(path.to_owned(), e); in read_vpd_files()
/external/adhd/sound_card_init/amp/src/max98390d/
Dmod.rs96 .map_err(|e| Error::FileIOFailed(config_path.to_path_buf(), e))?; in new()
/external/adhd/sound_card_init/amp/src/max98373d/
Dmod.rs103 .map_err(|e| Error::FileIOFailed(config_path.to_path_buf(), e))?; in new()