Home
last modified time | relevance | path

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

/external/crosvm/base/src/
Dmmap.rs21 pub fn write_slice(&self, buf: &[u8], offset: usize) -> Result<usize> { in write_slice() method
22 self.mapping.write_slice(buf, offset) in write_slice()
/external/crosvm/kvm/tests/
Ddirty_log.rs28 mmap.write_slice(&code[..], load_addr.offset() as usize) in test_run()
Dread_only_memory.rs30 mmap.write_slice(&code[..], load_addr.offset() as usize) in test_run()
/external/rust/crates/byteorder/src/
Dlib.rs1959 macro_rules! write_slice { macro
2094 write_slice!(src, dst, u16, 2, Self::write_u16); in write_u16_into()
2103 write_slice!(src, dst, u32, 4, Self::write_u32); in write_u32_into()
2112 write_slice!(src, dst, u64, 8, Self::write_u64); in write_u64_into()
2121 write_slice!(src, dst, u128, 16, Self::write_u128); in write_u128_into()
2294 write_slice!(src, dst, u16, 2, Self::write_u16); in write_u16_into()
2303 write_slice!(src, dst, u32, 4, Self::write_u32); in write_u32_into()
2312 write_slice!(src, dst, u64, 8, Self::write_u64); in write_u64_into()
2321 write_slice!(src, dst, u128, 16, Self::write_u128); in write_u128_into()
/external/crosvm/sys_util/src/
Dmmap.rs472 pub fn write_slice(&self, buf: &[u8], offset: usize) -> Result<usize> { in write_slice() method
981 let res = m.write_slice(&[1, 2, 3, 4, 5, 6], 0); in test_write_past_end()
/external/crosvm/vm_memory/src/
Dguest_memory.rs332 .write_slice(buf, offset) in write_at_addr()