Lines Matching refs:SeekingFile
47 SeekingFile(io::Error), enumerator
138 SeekingFile(e) => write!(f, "failed to seek file: {}", e), in fmt()
167 .map_err(Error::SeekingFile)?; in convert_copy()
170 .map_err(Error::SeekingFile)?; in convert_copy()
194 let next_data = match reader.seek_data(offset).map_err(Error::SeekingFile)? { in convert_reader_writer()
201 let next_hole = match reader.seek_hole(next_data).map_err(Error::SeekingFile)? { in convert_reader_writer()
206 return Err(Error::SeekingFile(io::Error::from_raw_os_error(EINVAL))); in convert_reader_writer()
221 let src_size = reader.seek(SeekFrom::End(0)).map_err(Error::SeekingFile)?; in convert_reader()
224 .map_err(Error::SeekingFile)?; in convert_reader()
270 let disk_size = f.get_len().map_err(Error::SeekingFile)?; in detect_image_type()
271 let orig_seek = f.seek(SeekFrom::Current(0)).map_err(Error::SeekingFile)?; in detect_image_type()
272 f.seek(SeekFrom::Start(0)).map_err(Error::SeekingFile)?; in detect_image_type()
288 .map_err(Error::SeekingFile)?; in detect_image_type()