Lines Matching refs:execute_program
153 let res = vm.execute_program(packet).unwrap(); in test_vm_block_port()
247 assert_eq!(vm.execute_program(mem, &mbuff).unwrap(), 0x2211); in test_vm_mbuff()
281 assert_eq!(vm.execute_program(mem, &mbuff).unwrap(), 0x2211); in test_vm_mbuff_with_rust_api()
323 assert_eq!(vm.execute_program(mem).unwrap(), 0x33); in test_vm_jit_ldabsb()
343 assert_eq!(vm.execute_program(mem).unwrap(), 0x4433); in test_vm_jit_ldabsh()
363 assert_eq!(vm.execute_program(mem).unwrap(), 0x66554433); in test_vm_jit_ldabsw()
383 assert_eq!(vm.execute_program(mem).unwrap(), 0xaa99887766554433); in test_vm_jit_ldabsdw()
403 vm.execute_program(mem).unwrap(); in test_vm_err_ldabsb_oob()
416 vm.execute_program().unwrap(); in test_vm_err_ldabsb_nomem()
433 assert_eq!(vm.execute_program(mem).unwrap(), 0x88); in test_vm_jit_ldindb()
453 assert_eq!(vm.execute_program(mem).unwrap(), 0x9988); in test_vm_jit_ldindh()
473 assert_eq!(vm.execute_program(mem).unwrap(), 0x88776655); in test_vm_jit_ldindw()
493 assert_eq!(vm.execute_program(mem).unwrap(), 0xccbbaa9988776655); in test_vm_jit_ldinddw()
513 vm.execute_program(mem).unwrap(); in test_vm_err_ldindb_oob()
526 vm.execute_program().unwrap(); in test_vm_err_ldindb_nomem()
535 assert_eq!(vm.execute_program().unwrap(), 0xBEE); in test_vm_exec_no_program()
556 assert_eq!(vm.execute_program().unwrap(), 0xBEE); in test_verifier_success()
570 assert_eq!(vm.execute_program().unwrap(), 0xBEE); in test_verifier_fail()