Searched refs:as_mut_slice (Results 1 – 9 of 9) sorted by relevance
159 let data_region = self.as_mut_slice()[PAGE_SIZE..].as_mut(); in write_any()214 pub fn as_mut_slice(&mut self) -> &mut [u8] { in as_mut_slice() method
227 pub fn as_mut_slice(&mut self) -> &mut [u8] { in as_mut_slice() method
2108 vm.execute_program_cranelift(mem.as_mut_slice()).unwrap(), in test_cranelift_tcp_sack_match()2120 vm.execute_program_cranelift(mem.as_mut_slice()).unwrap(), in test_cranelift_tcp_sack_nomatch()
2878 assert_eq!(vm.execute_program_jit(mem.as_mut_slice()).unwrap(), 0x1); in test_jit_tcp_sack_match()2889 assert_eq!(vm.execute_program_jit(mem.as_mut_slice()).unwrap(), 0x0); in test_jit_tcp_sack_nomatch()
2661 assert_eq!(vm.execute_program(mem.as_mut_slice()).unwrap(), 0x1); in test_vm_tcp_sack_match()2669 assert_eq!(vm.execute_program(mem.as_mut_slice()).unwrap(), 0x0); in test_vm_tcp_sack_nomatch()
55 f(self.buffer.as_mut_slice()) in consume()81 let result = f(buffer.as_mut_slice()); in consume()
104 let result = f(self.0.as_mut_slice()); in consume()116 let result = f(buffer.as_mut_slice()); in consume()
144 pub fn as_mut_slice(&mut self) -> &mut [u8] { in as_mut_slice() method
104 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { in as_mut_slice() method