Home
last modified time | relevance | path

Searched refs:SeekingFile (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/disk/src/
Ddisk.rs47 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()
[all …]
/external/crosvm/disk/src/qcow/
Dmod.rs61 SeekingFile(io::Error), enumerator
115 SeekingFile(e) => write!(f, "failed to seek file: {}", e), in fmt()
485 .map_err(Error::SeekingFile)?; in from()
489 .map_err(Error::SeekingFile)?; in from()
599 file.seek(SeekFrom::Start(0)).map_err(Error::SeekingFile)?; in new_from_header()
858 .map_err(Error::SeekingFile)?; in rebuild_refcounts()
896 .map_err(Error::SeekingFile)?; in rebuild_refcounts()