Lines Matching defs:Error

142     pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmMbuff<'a>, Error> {  in new()  argument
177 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program() argument
213 pub fn set_verifier(&mut self, verifier: Verifier) -> Result<(), Error> { in set_verifier() argument
257 pub fn register_helper(&mut self, key: u32, function: Helper) -> Result<(), Error> { in register_helper() argument
298 pub fn execute_program(&self, mem: &[u8], mbuff: &[u8]) -> Result<u64, Error> { in execute_program() argument
322 pub fn jit_compile(&mut self) -> Result<(), Error> { in jit_compile() argument
391 ) -> Result<u64, Error> { in execute_program_jit() argument
439 pub fn cranelift_compile(&mut self) -> Result<(), Error> { in cranelift_compile() argument
502 ) -> Result<u64, Error> { in execute_program_cranelift() argument
623 ) -> Result<EbpfVmFixedMbuff<'a>, Error> { in new() argument
672 ) -> Result<(), Error> { in set_program() argument
712 pub fn set_verifier(&mut self, verifier: Verifier) -> Result<(), Error> { in set_verifier() argument
764 ) -> Result<(), Error> { in register_helper() argument
798 pub fn execute_program(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program() argument
840 pub fn jit_compile(&mut self) -> Result<(), Error> { in jit_compile() argument
901 pub unsafe fn execute_program_jit(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_jit() argument
951 pub fn cranelift_compile(&mut self) -> Result<(), Error> { in cranelift_compile() argument
1003 pub fn execute_program_cranelift(&mut self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_cranelift() argument
1087 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmRaw<'a>, Error> { in new() argument
1118 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program() argument
1153 pub fn set_verifier(&mut self, verifier: Verifier) -> Result<(), Error> { in set_verifier() argument
1198 ) -> Result<(), Error> { in register_helper() argument
1209 ) -> Result<(), Error> { in register_helper_set() argument
1237 pub fn execute_program(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program() argument
1261 pub fn jit_compile(&mut self) -> Result<(), Error> { in jit_compile() argument
1316 pub unsafe fn execute_program_jit(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_jit() argument
1341 pub fn cranelift_compile(&mut self) -> Result<(), Error> { in cranelift_compile() argument
1384 pub fn execute_program_cranelift(&self, mem: &'a mut [u8]) -> Result<u64, Error> { in execute_program_cranelift() argument
1449 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmNoData<'a>, Error> { in new() argument
1479 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program() argument
1514 pub fn set_verifier(&mut self, verifier: Verifier) -> Result<(), Error> { in set_verifier() argument
1554 ) -> Result<(), Error> { in register_helper() argument
1578 pub fn jit_compile(&mut self) -> Result<(), Error> { in jit_compile() argument
1599 pub fn execute_program(&self) -> Result<u64, Error> { in execute_program() argument
1636 pub unsafe fn execute_program_jit(&self) -> Result<u64, Error> { in execute_program_jit() argument
1660 pub fn cranelift_compile(&mut self) -> Result<(), Error> { in cranelift_compile() argument
1684 pub fn execute_program_cranelift(&self) -> Result<u64, Error> { in execute_program_cranelift() argument
1699 pub fn new(prog: Option<Vec<u8>>) -> Result<EbpfVmRawOwned, Error> { in new() argument
1718 pub fn set_program(&mut self, prog: Vec<u8>) -> Result<(), Error> { in set_program() argument
1728 pub fn set_verifier(&mut self, verifier: Verifier) -> Result<(), Error> { in set_verifier() argument
1740 ) -> Result<(), Error> { in register_helper() argument
1751 ) -> Result<(), Error> { in register_helper_set() argument
1767 pub fn execute_program(&self, mem: &mut [u8]) -> Result<u64, Error> { in execute_program() argument