Searched refs:FileIOFailed (Results 1 – 6 of 6) sorted by relevance
/external/adhd/sound_card_init/dsm/src/ |
D | datastore.rs | 32 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()
|
D | utils.rs | 17 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()
|
D | error.rs | 29 FileIOFailed(PathBuf, io::Error), enumerator 100 FileIOFailed(file_path, e) => write!(f, "{:#?}: {}", file_path, e), in fmt()
|
D | vpd.rs | 35 let io_err = |e| Error::FileIOFailed(path.to_owned(), e); in read_vpd_files()
|
/external/adhd/sound_card_init/amp/src/max98390d/ |
D | mod.rs | 96 .map_err(|e| Error::FileIOFailed(config_path.to_path_buf(), e))?; in new()
|
/external/adhd/sound_card_init/amp/src/max98373d/ |
D | mod.rs | 103 .map_err(|e| Error::FileIOFailed(config_path.to_path_buf(), e))?; in new()
|