Lines Matching refs:seek
112 let offset = self.seek(SeekFrom::Current(0))?; in write_zeroes()
115 self.seek(SeekFrom::Current(nwritten as i64))?; in write_zeroes()
133 f.seek(SeekFrom::Start(1234)).unwrap(); in simple_test()
138 f.seek(SeekFrom::Start(0)).unwrap(); in simple_test()
154 f.seek(SeekFrom::Start(2345)).unwrap(); in simple_test()
157 assert_eq!(f.seek(SeekFrom::Current(0)).unwrap(), 2345 + 4321); in simple_test()
160 f.seek(SeekFrom::Start(0)).unwrap(); in simple_test()
191 f.seek(SeekFrom::Start(0)).unwrap(); in large_write_zeroes()
195 f.seek(SeekFrom::Start(0)).unwrap(); in large_write_zeroes()
198 assert_eq!(f.seek(SeekFrom::Current(0)).unwrap(), 0x10001); in large_write_zeroes()
202 f.seek(SeekFrom::Start(0)).unwrap(); in large_write_zeroes()