Searched refs:write_at (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Virtualization/authfs/src/fsverity/ |
D | editor.rs | 159 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() method 286 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() method 332 assert_eq!(writer.write_at(&buf, 16384)?, 4096); in test_writer() 335 assert_eq!(writer.write_at(&buf, 2048)?, 4096); in test_writer() 358 assert_eq!(file.write_at(&[1; 4096], 0)?, 4096); in test_verified_writer_from_zero() 367 assert_eq!(file.write_at(&[1; 4097], 0)?, 4097); in test_verified_writer_from_zero() 376 assert_eq!(file.write_at(&[1; 10000], 0)?, 10000); in test_verified_writer_from_zero() 389 assert_eq!(file.write_at(&[1; 5], 3)?, 5); in test_verified_writer_unaligned() 398 assert_eq!(file.write_at(&[1; 6000], 4000)?, 6000); in test_verified_writer_unaligned() 411 assert_eq!(file.write_at(&[1; 4096], 4096)?, 4096); in test_verified_writer_with_hole() [all …]
|
/packages/modules/Virtualization/authfs/src/ |
D | file.rs | 39 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize>; in write_at() method 46 let size = self.write_at(&buf[input_offset..], output_offset)?; in write_all_at()
|
D | fusefs.rs | 324 editor.write_at(&buf, offset) in write()
|
/packages/modules/Virtualization/authfs/src/file/ |
D | remote_file.rs | 110 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() method
|
/packages/modules/Virtualization/authfs/fd_server/src/ |
D | main.rs | 202 Ok(file.write_at(buf, offset).map_err(|e| { in writeFile()
|