Lines Matching refs:AndroidSparse
107 pub struct AndroidSparse { struct
166 impl AndroidSparse { implementation
167 pub fn from_file(mut file: File) -> Result<AndroidSparse> { in from_file() argument
201 AndroidSparse::from_parts(file, total_size, chunks) in from_file()
204 fn from_parts(file: File, size: u64, chunks: Vec<ChunkWithSize>) -> Result<AndroidSparse> { in from_parts() argument
220 let image = AndroidSparse { in from_parts()
236 impl DiskGetLen for AndroidSparse { implementation
242 impl FileSetLen for AndroidSparse { implementation
251 impl AsRawDescriptor for AndroidSparse { implementation
258 impl FileReadWriteAtVolatile for AndroidSparse { implementation
313 impl DiskFile for AndroidSparse {} implementation
322 impl ToAsyncDisk for AndroidSparse { implementation
545 fn test_image(chunks: Vec<ChunkWithSize>) -> AndroidSparse { in test_image() argument
548 AndroidSparse::from_parts(file, size, chunks).expect("Could not create image") in test_image()