Lines Matching refs:mbuff
238 let mbuff = [0u8; 32]; in test_vm_mbuff() localVariable
240 let mut data = mbuff.as_ptr().offset(8) as *mut u64; in test_vm_mbuff()
241 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64; in test_vm_mbuff()
247 assert_eq!(vm.execute_program(mem, &mbuff).unwrap(), 0x2211); in test_vm_mbuff()
272 let mbuff = [0u8; 32]; in test_vm_mbuff_with_rust_api() localVariable
274 let mut data = mbuff.as_ptr().offset(8) as *mut u64; in test_vm_mbuff_with_rust_api()
275 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64; in test_vm_mbuff_with_rust_api()
281 assert_eq!(vm.execute_program(mem, &mbuff).unwrap(), 0x2211); in test_vm_mbuff_with_rust_api()
296 let mut mbuff = [0u8; 32]; in test_jit_mbuff() localVariable
298 let mut data = mbuff.as_ptr().offset(8) as *mut u64; in test_jit_mbuff()
299 let mut data_end = mbuff.as_ptr().offset(24) as *mut u64; in test_jit_mbuff()
307 assert_eq!(vm.execute_program_jit(mem, &mut mbuff).unwrap(), 0x2211); in test_jit_mbuff()