Home
last modified time | relevance | path

Searched refs:write_at (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Virtualization/authfs/src/fsverity/
Deditor.rs186 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() method
314 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() method
360 assert_eq!(writer.write_at(&buf, 16384)?, 4096); in test_writer()
363 assert_eq!(writer.write_at(&buf, 2048)?, 4096); in test_writer()
386 assert_eq!(file.write_at(&[1; 4096], 0)?, 4096); in test_verified_writer_from_zero()
395 assert_eq!(file.write_at(&[1; 4097], 0)?, 4097); in test_verified_writer_from_zero()
404 assert_eq!(file.write_at(&[1; 10000], 0)?, 10000); in test_verified_writer_from_zero()
417 assert_eq!(file.write_at(&[1; 5], 3)?, 5); in test_verified_writer_unaligned()
426 assert_eq!(file.write_at(&[1; 6000], 4000)?, 6000); in test_verified_writer_unaligned()
439 assert_eq!(file.write_at(&[1; 4096], 4096)?, 4096); in test_verified_writer_with_hole()
[all …]
/packages/modules/Virtualization/authfs/src/
Dfile.rs53 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize>; in write_at() method
60 let size = self.write_at(&buf[input_offset..], output_offset)?; in write_all_at()
Dfusefs.rs752 editor.write_at(&buf, offset) in write()
/packages/modules/Virtualization/apkdmverity/src/
Dmain.rs303 f.write_at(&[0, 1], MODIFIED_OFFSET).unwrap(); in tampered_apk()
322 f.write_at(&[0, 10], 100).unwrap(); in tampered_idsig()
/packages/modules/Virtualization/authfs/src/file/
Dremote_file.rs120 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() method
/packages/modules/Virtualization/authfs/fd_server/src/
Daidl.rs209 Ok(file.write_at(buf, offset).map_err(|e| { in writeFile()