Lines Matching refs:prog
116 let prog = &[ in test_vm_block_port() localVariable
149 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in test_vm_block_port()
182 let prog = &[ in test_jit_block_port() localVariable
215 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in test_jit_block_port()
230 let prog = &[ in test_vm_mbuff() localVariable
246 let vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap(); in test_vm_mbuff()
288 let prog = &[ in test_jit_mbuff() localVariable
305 let mut vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap(); in test_jit_mbuff()
314 let prog = &[ in test_vm_jit_ldabsb() localVariable
322 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsb()
334 let prog = &[ in test_vm_jit_ldabsh() localVariable
342 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsh()
354 let prog = &[ in test_vm_jit_ldabsw() localVariable
362 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsw()
374 let prog = &[ in test_vm_jit_ldabsdw() localVariable
382 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsdw()
394 let prog = &[ in test_vm_err_ldabsb_oob() localVariable
402 let vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_err_ldabsb_oob()
411 let prog = &[ in test_vm_err_ldabsb_nomem() localVariable
415 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_vm_err_ldabsb_nomem()
424 let prog = &[ in test_vm_jit_ldindb() localVariable
432 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldindb()
444 let prog = &[ in test_vm_jit_ldindh() localVariable
452 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldindh()
464 let prog = &[ in test_vm_jit_ldindw() localVariable
472 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldindw()
484 let prog = &[ in test_vm_jit_ldinddw() localVariable
492 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldinddw()
504 let prog = &[ in test_vm_err_ldindb_oob() localVariable
512 let vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_err_ldindb_oob()
521 let prog = &[ in test_vm_err_ldindb_nomem() localVariable
525 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_vm_err_ldindb_nomem()
548 let prog = assemble( in test_verifier_success() localVariable
555 vm.set_program(&prog).unwrap(); in test_verifier_success()
562 let prog = assemble( in test_verifier_fail() localVariable
569 vm.set_program(&prog).unwrap(); in test_verifier_fail()