Lines Matching refs:AndroidSparse
101 pub struct AndroidSparse { struct
155 impl AndroidSparse { implementation
156 pub fn from_file(mut file: File) -> Result<AndroidSparse> { in from_file() argument
189 AndroidSparse::from_parts(file, total_size, chunks) in from_file()
192 fn from_parts(file: File, size: u64, chunks: Vec<ChunkWithSize>) -> Result<AndroidSparse> { in from_parts() argument
208 let image = AndroidSparse { in from_parts()
224 impl DiskGetLen for AndroidSparse { implementation
230 impl FileSetLen for AndroidSparse { implementation
239 impl FileSync for AndroidSparse { implementation
245 impl PunchHole for AndroidSparse { implementation
254 impl WriteZeroesAt for AndroidSparse { implementation
263 impl AsRawDescriptor for AndroidSparse { implementation
269 impl FileAllocate for AndroidSparse { implementation
279 impl FileReadWriteAtVolatile for AndroidSparse { implementation
425 fn test_image(chunks: Vec<ChunkWithSize>) -> AndroidSparse { in test_image() argument
428 AndroidSparse::from_parts(file, size, chunks).expect("Could not create image") in test_image()